Jump to content

Recommended Posts

Posted

Can someone please help me make an infinity loop M3u with several files so that’s it’s like my own channel 

 

using mp4files to loop a M3u without stopping 

EODCrafter
Posted (edited)
6 minutes ago, Joturos said:

Can someone please help me make an infinity loop M3u with several files so that’s it’s like my own channel 

 

using mp4files to loop a M3u without stopping 

Hi, it's not really clear what your asking. m3u's don't contain files, they have links and how does a mp4 loop a m3u?

Sample m3u.....

#EXTM3U
#EXTINF:-1 tvg-name="Santa Live From The North Pole Grotto (D)" tvg-logo="https://www.pngkit.com/png/detail/473-4739724_merry-christmas-png-image-free-download-searchpng-christmas.png" group-title="CHRISTMAS 2021", Santa Live From The North Pole Grotto (D)
http://491214a0245a:9003/live/test/test/2183118.ts

 

Edited by EODCrafter
Posted

What I’m trying to do is make a constant loop something like a playlist that loops over and over with the files in the playlist 

Posted

Like a 24/7 iptv channel but for emby 

EODCrafter
Posted (edited)
1 minute ago, Joturos said:

Like a 24/7 iptv channel but for emby 

Ahh, i do have a script somewhere to make your videos into a m3u. I'll search for it.

 

Edited by EODCrafter
Posted

Ok please let me know when yoy find 

 

thanks

Posted

And would that go under emby live tv section?

Posted

Isn't the Virtual TV plugin doing exactly that?

You might wanna read that.

  • Agree 1
EODCrafter
Posted
2 minutes ago, Joturos said:

And would that go under emby live tv section?

you add it just like a m3u

 

EODCrafter
Posted
5 minutes ago, neik said:

Isn't the Virtual TV plugin doing exactly that?

You might wanna read that.

Looks like a much more elegant solution!

Posted

Ok so do I try that plug-in or wait for script?

EODCrafter
Posted
6 minutes ago, Joturos said:

Ok so do I try that plug-in or wait for script?

I just asked the Author on Discord for the script, he's in Germany so it may be awhile. I don't know anything about that plugin...Sry

EODCrafter
Posted (edited)

You can also do this on vlc....1. open folder containing vidoes VIA `open media` 2. save to playlist myVids.m3u. Creates a m3u with file Links!

#EXTM3U
#EXTINF:3033,Star.Trek.TOS.S01E18.Arena.mkv
file:///media/fith/Media/Star%20Trek/Season%201/Arena/Star.Trek.TOS.S01E18.Arena.mkv
#EXTINF:0,A Taste of Armageddon

REF:

Using VLC

Edited by EODCrafter
Posted

Made a playlist and saved now what do I do to make it play in a loop I made and saved the m3u

Posted

Why does each video come up as a separate channel I don’t want it like that I was hoping it’ll be all one channel

Posted
Posted

Does want you want and much more

 

what do you mean

Posted

I Added it to the plugins folder and restarted it and i dont see it please help

Posted

i found it is there more than 30 channels?

Posted

why isnt the channel pl,aying and displaying guide

 

EODCrafter
Posted (edited)

just in case you want the "old school" method ;)

#!/bin/bash

subdir="TVRIPS"						### subdir to look for and add to path

startpath="/mnt/cache/Media/"		### main place where to look for
addpath="http://192.168.1.83:888/"	### add to m3u as base path
searchpattern="*.mkv"				### what type of files to look for
m3upath="/mnt/user/appdata/"		### output path for m3u

####################################

cd $startpath$subdir

rm $m3upath$subdir.m3u

echo "#EXTM3U" >> $m3upath$subdir.m3u

find . -mindepth 1 -iname $searchpattern|sed "s|^\./||"|while read fname; do

	filepath=$(dirname "$fname")
	seasonname=$(dirname "$filepath")

	sourcefile=$(basename "$fname")
	filenameonly="${sourcefile%.*}"

if [ "$seasonname" = "." ]; then
	seasonname="$filenameonly"
fi

echo '#EXTINF:0 group-title="'$seasonname'",'$filenameonly'' >> $m3upath$subdir.m3u
echo "$addpath$subdir/$fname" >> $m3upath$subdir.m3u

done

To Loop...I assume that is available in the Emby player? never had a desire to research that.

Edited by EODCrafter

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...