VicMoore 754 Posted October 17, 2024 Author Posted October 17, 2024 (edited) @Tremasif I understand correctly, you want to build a playlist composed from movies and TV series that you select from the Emby library. To these media items you want added their local and remote trailers, and any additional parts. Is this correct? @feerlessleadrwants to build a playlist from movies and TV series selected from the Emby library. The media in this playlist always plays in chronological order. Is this correct? Vic Edited October 17, 2024 by VicMoore
feerlessleadr 173 Posted October 17, 2024 Posted October 17, 2024 23 minutes ago, VicMoore said: @Tremasif I understand correctly, you want to build a playlist composed from movies and TV series that you select from the Emby library. To these media items you want added their local and remote trailers, and any additional parts. Is this correct? @feerlessleadrwants to build a playlist from movies and TV series selected from the Emby library. The media in this playlist always plays in chronological order. Is this correct? Vic That's exactly correct!
Tremas 197 Posted October 17, 2024 Posted October 17, 2024 (edited) 43 minutes ago, VicMoore said: @Tremasif I understand what you want is to build a playlist composed from movies and TV series that you select from the Emby library. To these media items you want added their local and remote trailers, and any additional parts. Is this correct? @VicMooreThank you for following up. No, this is not actually what I want to do. I am not so much interested in building a playlist, though I think it could be valuable. However, I am happy to build a playlist using the standard emby tools to do so and then import it into the plugin. What I am interested in doing is adding media type ""ExtraType": "Clip", to a channel (I have just recently learned that a Movie Extra is media type "Clip"). Or more broadly, remove filter by type for playlist. The current method of selecting media requires the user choose a Media Type first. If you select a Movie Library and then select playlist, the returned items will only be of Media Type: Movies. Any other Media Type are filtered out. In particular, Media Type "Clip" is stored in a movie library alongside of the Media Type "Movie" (per emby naming conventions. At the moment there is no way that I have found to add Media Type "Clip". I think @TZTZorostated a way to satisfy the request very well: "I think a solution would be to remove the playlists option from emby library and move it to media type This way the behavior would be to load the entire playlist no matter the type, maybe create a blacklist of unsupported items but i believe that you support all file types now video and audio So if i create a playlist from music, movies, tv shows, etc it should just load them and not filter it to only 1 type" Thank you again for your attention to this. When i first asked the question I was not sure if this request was even possible. I appreciate having learned more about the system and how it works. Edited October 17, 2024 by Tremas
fillidill 175 Posted October 18, 2024 Posted October 18, 2024 On 15/10/2024 at 01:59, VicMoore said: Everyone, I just received the code drop from @TZTZoroand he has again done a great job. The improvements center around adding files to a channel and the new playlist/editor being built (hold the ctrlKey down while clicking the "Save Channels and Update the EPG button") to view the progress being made on this tool. Vic PseudoTV.zip 2.24 MB · 0 downloads PseudoTV.dll 422 kB · 3 downloads @VicMoore Just updated to this version and it seems to have broken the media type "Home videos & photos", I'm afraid. The log says: 2024-10-18 12:49:20.286 Error LiveTvManager: Error getting programs for channel Game Trailers *** Error Report *** Version: 4.8.8.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 4.4.302+ (root@build5) (gcc version 12.2.0 (GCC) ) #69057 SMP Fri Jan 12 17:02:28 CST 2024 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /system System.FormatException: System.FormatException: Unrecognized Guid format. at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID) at System.Guid.TryParseGuid(ReadOnlySpan`1 guidString, GuidResult& result) at System.Guid..ctor(String g) at MediaBrowser.Controller.Library.LibraryManagerExtensions.GetItemById(ILibraryManager manager, ReadOnlySpan`1 id) at MediaBrowser.Controller.Library.LibraryManagerExtensions.GetItemById(ILibraryManager manager, String id) at PseudoTV.PseudoTVTuner.AddNewItemsToSchedule(TunerHostInfo tuner, String tunerChannelId, ChannelSchedule channelSchedule) at PseudoTV.PseudoTVTuner.EnsureChannelSchedule(TunerHostInfo tuner, String tunerChannelId) at PseudoTV.PseudoTVTuner.GetProgramsInternal(TunerHostInfo tuner, String tunerChannelId, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken) at MediaBrowser.Controller.LiveTv.BaseTunerHost.GetProgramsAsync(TunerHostInfo tuner, ChannelInfo tunerChannel, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken) at Emby.LiveTV.EmbyTV.GetProgramsAsync(ChannelInfo channel, List`1 listingsProviders, DateTimeOffset startDateUtc, DateTimeOffset endDateUtc, CancellationToken cancellationToken) at Emby.LiveTV.LiveTvManager.RefreshEmbyChannelsInternal(IProgress`1 progress, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void SetFailure(Boolean, System.String)
VicMoore 754 Posted October 18, 2024 Author Posted October 18, 2024 @feerlessleadrThanks for pointing this out. I will check it out this morning. Vic
VicMoore 754 Posted October 18, 2024 Author Posted October 18, 2024 @feerlessleadrI am having trouble duplicating the problem. Please send me a copy of the Browser console. Vic
feerlessleadr 173 Posted October 18, 2024 Posted October 18, 2024 20 minutes ago, VicMoore said: @feerlessleadrI am having trouble duplicating the problem. Please send me a copy of the Browser console. Vic Wasn't me who pointed it out, I think it was @fillidill
VicMoore 754 Posted October 18, 2024 Author Posted October 18, 2024 @feerlessleadrand @fillidillI am very sorry. It's early here is my only excuse. @fillidillI am having trouble duplicating your problem. please send me a copy of your Browser console. vic 1
fillidill 175 Posted October 18, 2024 Posted October 18, 2024 2 hours ago, VicMoore said: @feerlessleadrand @fillidillI am very sorry. It's early here is my only excuse. @fillidillI am having trouble duplicating your problem. please send me a copy of your Browser console. vic No harm done! Here attached is the log. log.log
VicMoore 754 Posted October 19, 2024 Author Posted October 19, 2024 @fillidillWhat didn't work? Everything looked OK. Vic
VicMoore 754 Posted October 21, 2024 Author Posted October 21, 2024 @fillidillI am trying to duplicate the error you discovered. @feerlessleadrand @Tremas, @TZTZoroand I are coding the ideas you proposed. We should have something to show soon. Neither of us have a lot of free time, so give us a few days. We will create a code core on which we can build out to make what you want. Vic 2
Tremas 197 Posted October 21, 2024 Posted October 21, 2024 Thanks @VicMoore and @TZTZoro! No rush, I don't have a great deal of free time either. I'm just excited these features are possible with the current system, much less how fast they are being implemented. Cheers!
VicMoore 754 Posted October 22, 2024 Author Posted October 22, 2024 @feerlessleadrand @Tremas, @TZTZoroand I have made progress. Attached below is the latest code. It illustrates our first try at the GUI for building custom playlists. This is a starting place. It's not fully implemented or even tested. Vic PseudoTV.zip PseudoTV.dll 1
feerlessleadr 173 Posted October 22, 2024 Posted October 22, 2024 @VicMooreJust trying out the new plugin now. I'm a little confused on what exactly I need to do to get a channel created that has Movies & TV shows playing in chronological order. Can you create a quick bullet list on how to do that with the new plugin? Thanks!
VicMoore 754 Posted October 22, 2024 Author Posted October 22, 2024 @feerlessleadrSorry for the confusion. You can't yet build a channel with the new tool. I am programming the code now. I just wanted to show you the GUI. The way the GUI will work is that you first select all of the media (movies, TV Series, etc) in the Emby library that you want to include in the channel. Next you arrange the media into chronological order. Finally, you save the results into a playlist, from which you can make a channel. Vic
feerlessleadr 173 Posted October 22, 2024 Posted October 22, 2024 Ooh got it, thanks! question as it relates to TV shows. For shows that run concurrently, will the episodes be ordered chronologically as well across the TV shows in the playlist?
VicMoore 754 Posted October 22, 2024 Author Posted October 22, 2024 We could do it two ways. All of the movies and tv episodes could be put into a common pool and played from the pool in time order regardless of their origin. Or, movies and TV Series could be played in time order, with all of the episodes in each TV Series being played in time sequence. @feerlessleadr are these ideas what you were thinking? Do you have a third option? Vic
feerlessleadr 173 Posted October 22, 2024 Posted October 22, 2024 Thanks - am I right to think that the common pool in time order would mean that the playlist would be sorted by absolute premiere date for both movies and episodes? So regardless of whether the media was a movie or TV show (or which tv show the episode came from), the playlist would be sorted based on the premiere date of the media. The second option would be that the media would be sorted on the TV series premiere date, and then all of the episodes for the first premiered show would play first, and then all of the episodes for the second premiered show would play after that. Is that correct? If so, I'm definitely interested in the first option, as I would love to be able to just add a whole bunch of media items to a playlist, and then just master sort all movies & episodes by premiere date, and have the channel play then media items in that 'absolute' order.
VicMoore 754 Posted October 22, 2024 Author Posted October 22, 2024 @feerlessleadrYes you understand properly. I have created all of the basic parts to build both ideas. I am still recovering from the two hurricanes that hit Florida. So, my programming hours are limited for this week and possibly next week. I should have something to test later this week. Vic 1
feerlessleadr 173 Posted October 22, 2024 Posted October 22, 2024 @VicMooreno worries at all! Please take your time, I am in no rush. Thank you!
fillidill 175 Posted October 23, 2024 Posted October 23, 2024 On 19/10/2024 at 04:05, VicMoore said: @fillidillWhat didn't work? Everything looked OK. Vic Sorry for late reply. Hmm that is weird. The exact same channel config that worked before gave me a error in the emby log (the one I posted in the first post) and resulted in that channel not being playable. The only change was to update to latest version.
fillidill 175 Posted October 28, 2024 Posted October 28, 2024 On 19/10/2024 at 04:05, VicMoore said: @fillidillWhat didn't work? Everything looked OK. Vic Found the cause of the problem after some troubleshooting so you can disregard this error. I had to redo the config for the channel after your update because of the new EmbyLibrary types. It now works! Hope you are okay after the hurricanes. Take care, Vic.
VicMoore 754 Posted October 28, 2024 Author Posted October 28, 2024 @fillidillThanks for the kind words. I am programming trying to finish a tool to help building channels via playlists. It lets you to edit and build complex playlists. I hope to finish it soon. vic
fillidill 175 Posted October 28, 2024 Posted October 28, 2024 @VicMooreSounds cool! I would also like to put being able to exclude Genres and Studios on the request when you have time and are willing (like there is for tags)
VicMoore 754 Posted October 28, 2024 Author Posted October 28, 2024 @fillidillRemind me in 2 weeks, and I will look into your request. Vic
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now