Usage ‐ PLM ‐ Streaming Stations ‐ Manual Stations - babsonnexus/stream-link-manager-for-channels GitHub Wiki
Out of the box, you do not even need to have PLM turned on to take advantage of these features. With just a base installation of Streaming Library Manager, you can input the following:
Enter the link http://[SLM_SERVER]:[SLM_PORT]/playlists/streams/stream?url=[URL_TO_CONTENT] for most content, filling in the fields between brackets and removing the brackets. For instance, to get an individual stream, you would use something like http://localhost:5000/playlists/streams/stream?url=https://www.youtube.com/watch?v=R7vrbiDi0Tc.
NOTE: If you used the prior release with the /youtubelive?url= suffix, this has been fully deprecated. You must modify your links to the current method!
This works with a variety providers including YouTube, Twitch, CBS News, and more! A theoretical list of possible services is available here, however your mileage may vary. Streaming Library Manager provides no guarantee that any specific one will work. More so, the content cannot have DRM protections enabled. That said, there may be specialized ways to get a specific service working with additional settings, so if you have a use case and believe a method can be found to make it work, please submit an Issue request. Some examples for the [URL_TO_CONTENT] (and certainly not limited to) are:
- YouTube Live Stream (Specific):
https://www.youtube.com/watch?v=R7vrbiDi0Tc - YouTube Live Stream (Latest for Channel):
https://www.youtube.com/@KittenAcademy/live - Twitch Live Stream:
https://www.twitch.tv/timthetatmanvods - CBS News Live Stream:
https://www.cbsnews.com/live
Some content requires a another approach, especially to get MPEG-TS streams. For instance, a MPEG-DASH Media Presentation Description (MPD) live stream would not work with the above way. However, if you use the base link of http://[SLM_SERVER]:[SLM_PORT]/playlists/streams/stream_mpegts?url=[URL_TO_CONTENT] such that it would look something like http://localhost:5000/playlists/streams/stream_mpegts?url=https://cdn-shop-lc-01.akamaized.net/Content/DASH_DASH/Live/channel(ott)/master.mpd, then that will create a valid MPEG-TS stream that can be consumed by tools like Channels DVR, VLC, and more. Please note that this way uses a totally different methodology compared to the one described above. As always, it is up to you to decide which is the best option for your particular use case.
NOTE: Due to YouTube's aggressive actions around eliminating outside tools that access their streams, it is highly recommended to permanently switch that content to the "MPEG-TS" option.
Now, you can take these links and put them into your own m3u files. Some users who have been utilizing similar methods that are no longer available can easily switch the links they have been using to ones hosted locally and provided by Streaming Library Manager without doing anything else. The stream is only active when you call it to watch and automatically closes out when you do. As such, there are no concerns about the stream having a timeout or expiring at some point, nor do you need to kill or keep track of activities.
That all said, there is a better and less manual option with the "Manage Stations" option.