[RELEASE] Playlist Manager for Channels [Streaming Library Manager Extension]

This seems pretty awesome, just trying to get my head around it. Would it be accurate to think of "Playlist Manager" as a list of what Channels DVR currently refers to as "Sources?"

Most likely not the Python because it's returning what's necessary in microseconds, but really the html/javascript, or at least how I'm using it. I probably need to invest some time into lazy/partial loading so it doesn't try to render all several thousand cells at once and just does them in batches of 100 or something. There was an earlier version where everything was one page instead of four and it took forever to load. Separating them made the pages without thousands comes back pretty instant. In the background, though, the Python is preparing all the PLM pages at once, so I'm quite confident its on the html-side.

1 Like

Yes, Parents are the the final list of stations, so they need at least one child to show up. When you are going through the list, just choose the Make Parent option on those single ones:

image

The new Parent will be created and the child will be assigned to that Parent. You can do that en masse, so just do all hundreds of them at once and you'll be all set!

Just a heads up that you can click into them and scroll over.

image

But I'll look into being able to put pop-up hovers on all fields like this. Could be good on the SLM side, too!

Maybe... this isn't a table (even though it looks like one), so not as easy, but might be a possibility.

Hmmmm... dynamic anchoring, sounds tricky...

It would be more accurate to say that PLM is a "Custom Channels" "Source" for Channels DVR, but as a replacement from needing to have many disconnected "Sources" to only having one or a few streamlined integrated "Sources".

I noticed in the YouTube video that you had brought Channels (OTA) into PLM as a "custom channel" as you call it. Does that preclude having the HDHR OTA tuner as a standard source in the Channels DVR server setup? Does that basically mean that there are no "sources" at all in the standard Channels DVR server setup?

Yes! That's what worked for me. :sweat_smile:
I tried all other suggestions, including the actual IP address of the server, and nothing worked.

Thank you.

Will do, thanks. :slight_smile:

That will be great! I'm looking forward to the time this is functional! :smiley:

:clap: :clap: :clap:

2 Likes

@babsonnexus I don't know if you can do anything about this but the drop-down widgets on the Manage Parent Stations page don't resize nicely when the whole window is resized.

If I make the whole window wider, it looks fine.

Ah, thanks for that. Maybe this is just a macOS/Safari thing but with a trackpad to click and hold and scroll right while reading, this text is not very accessible. Anything that would reveal it in a larger text block or popup would help.

Thanks for the consideration of my other feature requests. I'll follow your tips and get cranking on my channels curation and cleanup.

I hereby nominate SLM+PLM as Channels DVR Add-On of the Year :trophy:

4 Likes

+1 !

Last year, it was OliveTin for Channels.

What will it be next year? :grin:

3 Likes

Yeah, I've seen this before, too, and not just there. Something about the dropdown boxes always wants to stay the entire width of the largest value in it. I'll see if something can be done about all of them!

There can never be zero sources, it just means that PLM would be the sources in Channels and that's it. That is, if you choose to go down that path. That might not work or be necessary for everyone. It's totally up to the end user how far they want to take this! For instance, there is no great replacement for how Channels handles TVE (unless you have Frndly or use ADBTuner or CC4C for every station), so I'll have to keep that as a source no matter what, just at a lower priority so it is not used by default.

Also, if I use Channels OTA as a source, I can't remove it. However, if I use the HDHR directly by using this:

http://hdhomerun.local/lineup.m3u

or...

http://[IP_ADDRESS_OF_HDHR]/lineup.m3u

Then I don't need the Channels OTA source and can remove it. Yet, if I do that, I'll want to put the manual Gracenote ID override in at the Parent level. Channels is going to be way more responsive to changes in lineups than PLM. On the other hand, PLM won't allow sudden changes without the user intervening!

The bottom line is that there is no right way to approach this; PLM is a tool to use as you please, with thousands of possibilities on what you might want to do. Give it a try, play around, and see what happens. There's no danger in just starting it up!

1 Like

Looks pretty great!

I was secretly hoping that this was a workaround method for something like adbtuner, but rolled right into the Channels DVR interface.

Was able to tame the beast a bit

Just reduced my channel list to just under 100 (bar TVE, Eplus non-linear and HDHR).

I'm gonna try using the tool for TVE and HDHR now. Could be quite useful to output the channels collection to Threadfin/Kodi too. So far, loving it

I think i put too many sources in to Playlist manager.
How do i clear out the entries or edit them?
When i start the docker, it tries to process the update and it eventually crashes.
Your help is appreciated.

1 Like

My internet went out overnight knocking out some of the sources. I had dumb luck getting it to work :rofl::joy:

During startup, the only thing PLM related is checking to see if it on or not. There's nothing related to it that should be causing any crashes at that point. Please provide your Docker logs, but this sounds like something totally unrelated.

I don't think that is possible. All it will do is take more time when processing them. They are basically treated individually, not as a group.

If you truly want to go down this path (and I don't recommend doing so), if you go into your Volumes in Docker, for your SLM one, you should see something like this:

image

The PLM files all begin with "PlaylistManager" and are plain text. You can edit them, remove everything but the header row, and save. That will resent them to baseline.

Once again, though, I don't believe you should need to do this, ever.

Hi there,
I got the Stream link manager up and running again. Do you have a link where i can edit the urls added?
I just need to remove some stuff that contains https. links.
I grabbed some addresses that seem to have really messed up Playlist manager.
https://apsattv.com/
I had grabbed a tclplus link and roku link and the system appears to be hanging really bad.
If i try to see the playlists it will just create a lot of disk activity and eventually the docker will crash.

He made a video showing all the new features including the one you asked about.

v2024.11.02.0936 has been released as stable. Most of the updates are related to PLM, which is why I'm posting it here.


MODIFIED: {GEN} Added pop-up boxes to various fields so values can be seen by hovering over them

Hovering pop-up info boxes are now all over the place, not just in PLM. Check them out!

image

Let me know if there are other fields where I didn't put this that would be useful. They are very easy to add now.


FIXED: {GEN} Drop down boxes now stay in their column and expand to full-size when you select them

This is now resolved all over the place, not just in PLM:

image

Please let me know if there is another dropdown somewhere I missed. This is a very easy fix now!


FIXED: {PLM} Added infinite scrolling to station lists (unassigned, assigned, parents) for faster loading

This is now resolved where for Unassigned, Assigned, and Parent stations, it will load just 100 lines at a time and add more as you scroll downward.

Let me know if there are other areas this might be useful. This is not very easy to implement, so I'd rather only do it where required for performance reasons, not just everywhere for visual reasons. I didn't come across anywhere else where I thought it would make a noticeable difference, but you never know someone else's use case!


MODIFIED: {PLM} Moved "Add Parent" to the top, minor formatting updates

While adding the infinite scroll from above, it became clear that it would be better if the "add" function were on top, so it is:


FIXED: {PLM} Potential workaround solution for malformed m3u and XML sources that occasionally give errors like 'broken pipe'

A potential solution has been implemented. You may see warnings one to several times in the notifications and logs while it is trying to attach to services like these. Since I can't guarantee if this is fixed, we'll just be monitoring for the time being. Please let me know if you receive the ERROR message and it says it can't load. Providing logs will be very helpful if what I have put in place has not resolved this!


@rpaulmerrell, as you can see, a number of performance improvement have been added in this version. Please upgrade and see if your issues are resolved. If you still cause the program to crash, grab the log file and your PlaylistManager... files from the directory I showed above and send them to me. Also, tell me step-by-step exactly what you did to cause the crash so I can replicate. I need the info from the logs and what you've specifically done to understand what might be happening and address.

1 Like

Just wanted to report that my problem was solved.
I removed the offending links i'm now sorting out all my fast channels.
I'm so glad to have SLM going.