FAQ  •  Register  •  Login

PLAYLIST IMPORT/EXPORT

<<

Paolo

Serviio newbie

Posts: 5

Joined: Wed May 10, 2017 11:31 pm

Post Fri Sep 08, 2017 5:11 pm

PLAYLIST IMPORT/EXPORT

I LIKE TO IMPORT/EXPORT M3U PLAYSILST OF MY ONLINE RESOURCE TROUGH THE MENU NOT IN .SOB FORMAT BUT IN M3U FORMAT.
<<

Paul C

DLNA master

Posts: 127

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Wed Mar 07, 2018 5:56 pm

Re: PLAYLIST IMPORT/EXPORT

The Serviio console/Online Sources feature enables you to add the direct stream URL and Serviio validates this to ensure it is working.
The Export and Import facility (.sob) enables you to backup your streams or import streams from another source.

There is no facility (in the audio section or the others that I can see) for playlists in Online Sources.
To implement .m3u playlists would require a different process to first read the .m3u file and isolate its contents to provide the same level of verification.
It would also be necessary to deal with .pls, m3u8 and other playlist formats to be consistent.

The .m3u playlists (and others) sometimes have multiple stream URLs within them that would all have to be verified.
The playlist approach would be additional and more difficult to implement. It would however have the advantage that the playlist names usually remain the same when streamers change the stream names due to server base or technology e.g. moving MP3 to AAC+.

However, if you have a playlist you can open it with notepad or Word (Word is better as it shows the line breaks and is then easier to read).
You can then obtain the direct stream URL and enter it into Serviio console/Online Sources using the appropriate audio/image/video options and type settings.

There are further forum posts relating to this and similar issues - see viewtopic.php?f=5&t=24337&hilit=import+playlist+online+mu3

There is also a list of around 200 Internet radio stations (created in the manner indicated) that can be imported - see viewtopic.php?f=42&t=24378

Hope this helps.
Serviio 1.9.2 (PRO), DBpoweramp & Asset UPnP (registered), Acer Aspire One netbook, HP Elitebook, Windows 10 Pro, Denon DNP-730AE, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, BubbleUPnP control app, Mezzmo Android control App, Qobuz streaming.
<<

Paul C

DLNA master

Posts: 127

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Tue Mar 13, 2018 2:29 pm

Re: PLAYLIST IMPORT/EXPORT

Paolo wrote:I LIKE TO IMPORT/EXPORT M3U PLAYSILST OF MY ONLINE RESOURCE TROUGH THE MENU NOT IN .SOB FORMAT BUT IN M3U FORMAT.

I have reflected on your idea of being able to import playlists as Online Sources and I think it is great idea.
Most stations publish their radio stream as an .m3u or .pls playlist'
This has the advantage that they can control changes of the direct streaming URL without it affecting the user.
They can also put multiple items in the playlist to cater for downed servers etc.
This would result in a more stable and reliable service.
These playlists are also more widely published than direct streaming URLs.

I think the playlist option (.m3u and.pls) should be additional to the existing stream URL for forward compatibility.

Validating the playlist should be simple if any valid stream is found (it will usually be the first).
It only fails if no valid stream is found.
I see no need to validate all streams (indeed beneficial as one may fail).
It may be easier than I initially thought.

So this is a feature request - added to BitBucket - Issue #1051.
Last edited by Paul C on Sat Mar 17, 2018 12:23 pm, edited 8 times in total.
Serviio 1.9.2 (PRO), DBpoweramp & Asset UPnP (registered), Acer Aspire One netbook, HP Elitebook, Windows 10 Pro, Denon DNP-730AE, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, BubbleUPnP control app, Mezzmo Android control App, Qobuz streaming.
<<

atc98092

User avatar

DLNA master

Posts: 2623

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Mar 13, 2018 4:51 pm

Re: PLAYLIST IMPORT/EXPORT

Serviio already supports m3u and pls playlists, although I admit I've never tried them with an online source. Both formats support using a URL, but I don't know if Serviio has specific requirements for the media description. If I think of it over the next few days, I'll try some experiments.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku 4, Ultra and Stick, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify media file contents
<<

Paul C

DLNA master

Posts: 127

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Wed Mar 14, 2018 11:07 am

Re: PLAYLIST IMPORT/EXPORT

atc98092 wrote:Serviio already supports m3u and pls playlists, although I admit I've never tried them with an online source. Both formats support using a URL, but I don't know if Serviio has specific requirements for the media description. If I think of it over the next few days, I'll try some experiments.

Dan,
They are available in Shared Folders (I use m3u myself) but not in Online Sources as far as I can see.
When I tried them (before posting this request) they failed the verification.

I will try some more examples to be exhaustive.
The more I think about it this facility would be a great improvement and resolve many "disappearing" or "off-air" stations.

TEST 1
Radio Caroline - Broadband AAC stream see http://www.radiocaroline.co.uk and stream info at http://www.radiocaroline.audio/
playlist is http://sc3.radiocaroline.net:8030/listen.pls
and contains
[playlist]
NumberOfEntries=1
File1=http://78.129.202.200:8030/;
Title1=Radio Caroline
Length1=-1
Version=2

The direct stream URL works but the .pls playlist does not pass verification.

TEST 2
Venice Classic Radio see http://www.veniceclassicradio.eu/en/ and stream info at http://www.veniceclassicradio.eu/en/ind ... &Itemid=44
Playlist is https://www.veniceclassicradio.eu/live1/128.pls (note - updated from http...).
and contains
[playlist]
NumberOfEntries=4
File1=http://109.123.116.202:8010/stream1
Title1=Venice Classic Radio Italia * European Server
Length1=-1
File2=http://109.123.116.202:8022/stream1
Title2=Venice Classic Radio Italia * European Server
Length2=-1
File3=http://109.123.116.202:8020/stream1
Title3=Venice Classic Radio Italia * European Server
Length3=-1
File4=http://174.36.206.197:8000/stream1
Title4=Venice Classic Radio Italia * USA Server
Length4=-1
Version=2

Again the direct stream URL works but the .pls playlist does not pass verification.
Last edited by Paul C on Sat May 12, 2018 12:17 pm, edited 2 times in total.
Serviio 1.9.2 (PRO), DBpoweramp & Asset UPnP (registered), Acer Aspire One netbook, HP Elitebook, Windows 10 Pro, Denon DNP-730AE, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, BubbleUPnP control app, Mezzmo Android control App, Qobuz streaming.
<<

atc98092

User avatar

DLNA master

Posts: 2623

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Wed Mar 14, 2018 12:40 pm

Re: PLAYLIST IMPORT/EXPORT

Yeah, the playlist will need to have the URL to the actual stream, not to an Internet playlist. That's what I was going to try, was a local playlist with links to the actual Internet stream. The stream should have the type of file, such as mp3, flv, or something like that. And actual media file extension. Then Serviio can determine if it's playable.

And you are correct, the playlist would not be found under Online, but in the Playlists listing.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku 4, Ultra and Stick, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify media file contents
<<

Paul C

DLNA master

Posts: 127

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Fri Mar 16, 2018 10:46 pm

Re: PLAYLIST IMPORT/EXPORT

atc98092 wrote:The stream should have the type of file, such as mp3, flv, or something like that. And actual media file extension. Then Serviio can determine if it's playable.

Dan,
For Online Sources it is not necessary to have or know the file type.
Serviio verifies the direct stream URL and if it valid and working it passes verification i.e. it works.

Some streams may include mp3 or aac info in the stream name but not as a file type.
Probably of 150 of the 200 plus radio streams in our list I have no idea what file type they are but if they pass verification they work.
Some of the "nice" stations publish the information but most do not.

The playlists contain the direct stream URLs but no file types.
So if Serviio can read the playlists and discover a direct stream URL that works that is all that is required to implement a playlist-based approach.
Many stations publish playlist links (and it is more stable and reliable).
That is why i think it is not as difficult to implement a playlist approach as I had first thought.
Most streaming equipment uses playlists for radio stations not the direct stream URL approach.
Serviio 1.9.2 (PRO), DBpoweramp & Asset UPnP (registered), Acer Aspire One netbook, HP Elitebook, Windows 10 Pro, Denon DNP-730AE, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, BubbleUPnP control app, Mezzmo Android control App, Qobuz streaming.
<<

atc98092

User avatar

DLNA master

Posts: 2623

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sat Mar 17, 2018 1:25 am

Re: PLAYLIST IMPORT/EXPORT

Yes, but to my knowledge there's no way to use a playlist with an online source. The only current way to use them is as a normal playlist which requires the file type. But I certainly see the value of being able to process a playlist for online sources.
Dan

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku 4, Ultra and Stick, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify media file contents
<<

Paul C

DLNA master

Posts: 127

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Sat Mar 17, 2018 11:19 am

Re: PLAYLIST IMPORT/EXPORT

atc98092 wrote:Yes, but to my knowledge there's no way to use a playlist with an online source.

You are exactly right Dan - this is why this is a feature request as per earlier post that I will add to BitBucket - see Issue #1051.
Serviio 1.9.2 (PRO), DBpoweramp & Asset UPnP (registered), Acer Aspire One netbook, HP Elitebook, Windows 10 Pro, Denon DNP-730AE, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, BubbleUPnP control app, Mezzmo Android control App, Qobuz streaming.
<<

Paul C

DLNA master

Posts: 127

Joined: Wed Feb 17, 2016 3:46 pm

Location: Essex, UK

Post Mon Mar 19, 2018 6:07 pm

Re: PLAYLIST IMPORT/EXPORT

Petr has pointed out to me there is a stream on a playlist plugin see viewtopic.php?f=20&t=6022&hilit=playlist
I will be exploring.

Playlists in Online Sources WOW.
See my post at viewtopic.php?f=20&t=6022&p=117132#p117132
It might resolve your problem.
Serviio 1.9.2 (PRO), DBpoweramp & Asset UPnP (registered), Acer Aspire One netbook, HP Elitebook, Windows 10 Pro, Denon DNP-730AE, NEET AirstreamPro renderer, Naim NAC72/NAP140 (x2), Celestion Ditton 25 and Spendor A5 speakers, WD TV Media Player (x2), Panasonic Blu-ray DMP-BDT360, Panasonic TV, Amazon Fire 7 HDX, BubbleUPnP control app, Mezzmo Android control App, Qobuz streaming.

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 3 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.