Any plugin available for web stored m3u files?

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Paradox
Posts: 151
Joined: Tue Dec 17, 2013 5:50 am

Any plugin available for web stored m3u files?

Post by Paradox »

Basically as the title.

I have a m3u file which i have stored on my cloud account which i would like to access via UMS. like this as an example only (this is not its actual location) http://myserver.my/Video/mylist.m3u
The content of the m3u file consists of various formats of video files and looks similar (again example only) to this...

Code: Select all

#EXTM3U
#EXTINF:-1,VIDEO01
http://myvideos.tv/videos/video01.mp4
#EXTINF:-1,VIDEO02
http://myvideos.tv/videos/video02.m3u8
#EXTINF:-1,VIDEO03
http://myvideos.tv/videos/video03.flv
#EXTINF:-1,VIDEO04
http://myvideos.tv/videos/video04.mpg
So the question...

Is there any plugin or method which will list and playback this content for UMS and if not any plans to support files like this?

I can run this file via plex and its IPTV plugin/addon but the disadvantage is 1) it transcodes them all 2) As its load as a stream Plex will not allow allow fast forwarding/skip thru the file. Hoping there is a way to make it work in UMS which is of course far superior :)

Thanks in advance.
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Any plugin available for web stored m3u files?

Post by infidel »

Paradox wrote:Is there any plugin or method which will list and playback this content for UMS
Try adding an item like this to your WEB.conf:

Code: Select all

videostream.Web,MyServer=mylist,http://myserver.my/Video/mylist.m3u
But it will likely have similar seek/transcode constraints.
Paradox
Posts: 151
Joined: Tue Dec 17, 2013 5:50 am

Re: Any plugin available for web stored m3u files?

Post by Paradox »

infidel wrote:
Paradox wrote:Is there any plugin or method which will list and playback this content for UMS
Try adding an item like this to your WEB.conf:

Code: Select all

videostream.Web,MyServer=mylist,http://myserver.my/Video/mylist.m3u
But it will likely have similar seek/transcode constraints.
Nope does not work :( a folder (myserver) appears inside the web folder with the single m3u listed file (mylist) inside it, upon selecting the m3u file it immediately attempts to playback rather than listing the content of the m3u file.

If for example i open the m3u file in VLC it lists the content (IE video01, video02 etc) as a playlist and i can select which file i wish to playback, the same for Plex.
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Any plugin available for web stored m3u files?

Post by infidel »

Paradox wrote:upon selecting the m3u file it immediately attempts to playback rather than listing the content of the m3u file.
I get a list of items on opening an m3u, not auto play. Could be your settings. Can you post a full set of logs showing navigation to your m3u? Do you get the same behaviour with this playlist:

Code: Select all

#EXTM3U
#EXTINF:-1,BigBuckBunny
http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
#EXTINF:-1,sl.m3u8
http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8
#EXTINF:-1,largeres_vobsub
http://samples.mplayerhq.hu/sub/largeres_vobsub.mkv
Last edited by infidel on Fri Oct 30, 2015 3:11 pm, edited 1 time in total.
Reason: added test m3u playlist
Paradox
Posts: 151
Joined: Tue Dec 17, 2013 5:50 am

Re: Any plugin available for web stored m3u files?

Post by Paradox »

Will try that over the weekend :) log everything and get back to you, a few things first though....

I Tried what you had prior to your post edit. The apple m3u8 link (IE http://qthttp.apple.com.edgesuite.net/1 ... 0_vod.m3u8) and entering...

Code: Select all

videostream.Web,HLS=sl,http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8
Into my web.conf file.

That is closer to working but still not right. With that on its own it displays folders and files but each file in folder only plays for 10 seconds.

I basically get a list of folders like...
0640
0150
0240
0440
1240
1840

and inside each of those is dozens upon dozens of files named "10" each of which plays for only 10 seconds.


Quick question...
When i try your updated post i obviously copy and paste the....

Code: Select all

#EXTM3U
#EXTINF:-1,BigBuckBunny
http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
#EXTINF:-1,sl.m3u8
http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8
#EXTINF:-1,largeres_vobsub
http://samples.mplayerhq.hu/sub/largeres_vobsub.mkv
Bit and save it on my machine to an m3u file, how should i enter the file path in the web.conf file though???

Do i need to enter as an example....

Code: Select all

videostream.Web,InfidelPlayList=c:\playlists\infidel.m3u
where "c:\playlists\infidel.m3u" is obviously the location and name of the file or do i need something different, or will i have to upload it to the web first and use a http:// link????

Also in your post prior to the edit and the videostream.Web,HLS=sl,http://qthttp.apple.com.edgesuite.net/1 ... fg/sl.m3u8 command, what is the "=sl," part of the command supposed to do??

Cheers in advance :)
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Any plugin available for web stored m3u files?

Post by infidel »

Paradox wrote:I basically get a list of folders like...
0640
...and inside each of those is dozens upon dozens of files named "10" each of which plays for only 10 seconds.
Good, as it should be :).
Paradox wrote:"c:\playlists\infidel.m3u" is obviously the location and name of the file or do i need something different
The url syntax for local files is 'file:///path/to/file' so try something like

Code: Select all

videostream.Web,InfidelPlayList=test,file:///c:/playlists/infidel.m3u
Paradox wrote:or will i have to upload it to the web first and use a http:// link????
Only if you want to compare/verify the behaviour. When I tested it I ran a localhost server (via python SimpleHTTPServer module) and used an address like http://127.0.0.1:8000/x.m3u
Paradox wrote:what is the "=sl," part of the command supposed to do??
I was getting an error unless I put the m3u inside a subfolder ('sl' in this case), haven't looked deeper into it yet as it's a separate issue.
Paradox
Posts: 151
Joined: Tue Dec 17, 2013 5:50 am

Re: Any plugin available for web stored m3u files?

Post by Paradox »

Thanks infidel i think i have solved the issue now, your clue about placing it in another folder helped. Ive placed it one more folder deep on my server and now it works fine :) Can also now thanks to your tip also store it locally and have it play back fine also. Its a little temperamental with some files such as streams that have a ts extension (they sometimes require a couple of attempts before they play) i think that is likely down to my fussy sony but other than that though all working now :)
Cheers again.
infidel
Developer
Posts: 571
Joined: Thu Jul 12, 2012 5:37 am

Re: Any plugin available for web stored m3u files?

Post by infidel »

Paradox wrote:Thanks infidel i think i have solved the issue now, your clue about placing it in another folder helped.
Great :)! And the joke is it wasn't a separate issue as I thought, so now I'll have to look into it.
Paradox
Posts: 151
Joined: Tue Dec 17, 2013 5:50 am

Re: Any plugin available for web stored m3u files?

Post by Paradox »

One thing i have noticed is you have to have "#EXTM3U" at the very top of the m3u file, if you have anything else (even a blank line) or "#EXTM3U" missing it can give issues. Like wise if you have any extra cartridge returns (blank lines) between entries. Not a big deal but can be a PITA if you have a massive m3u file and have to go through and check it all. Getting it to accept BBcodes would also be nice to separate things in the list. Example at the moment...

Code: Select all

#EXTINF:-1,[B]Old channels[/B]
#EXTINF:-1,BigBuckBunny
http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
#EXTINF:-1,[B]New Channels[/B]
#EXTINF:-1,largeres_vobsub
http://samples.mplayerhq.hu/sub/largeres_vobsub.mkv
Will not work, though i spose that could be something with my sony tv again, not sure if this technically breaks the m3u standard or not but you can do that in plex. (although it will not always show as bold on my sony you can still separate things)

End of the day though im happy it is capable of doing what i want :) would be nice if you do spend some time to improve the m3u implementation though, it would make web content and cloud content so much easier to deal with than having to list each video entry using...

Code: Select all

videostream.Web,............etc,etc
in the web.conf

People and developers could just list it all in a m3u and shove that entry in the web.conf file as a single entry :) If you could get m3u files to also work in conjunction with rss or xml lists that would be doubly amazing and allow for all types of new functionality :D



Either way i look forward to you looking at things and any improvements you decide to make :) I would be interested in what you thought the issue may had been and if you do find anything else wrong.

Thanks again Infidel
Ahmadali
Posts: 1
Joined: Tue Aug 08, 2017 1:56 pm

Re: Any plugin available for web stored m3u files?

Post by Ahmadali »

8-) hi.

I'm trying to do same thing

I.e to make m3u list in my pc or cludes and run it using android media player.

How can i do it ?

Thanks
Post Reply