Jump to content


Photo

OpenWebif suggestion: create a .M3U files for a whole bouquet


  • Please log in to reply
21 replies to this topic

#1 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 22 March 2013 - 17:38

Hi,

I have just created a script to convert userbouquet files into .M3U file so we can zap directly from within VLC playlist.

Would be nice to have this .m3u file generation directly from OpenWebif instead of creating .m3u individually for each channel that we want to stream.
My idea is to have it include close to each bouquet name, so in one click we can generate a full playlist.

I have attached the script so people interested can have a look at it.

Regards,

Pr2

Attached Files


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #2 veskop

  • Senior Member
  • 364 posts

+2
Neutral

Posted 24 March 2013 - 10:46

Very good idea :)

Gigablue Quad +250GB HDD ~ Xtrend ET5000 ~ Triax110 Black Multifeed 36E/28E/23E ~ Total TV88 Multifeed 19E/16E/13E/9-7E ~ EMP Centauri 9/1 DiSEqC ~ Panasonic L42G20


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #3 bobione

  • Member
  • 1 posts

0
Neutral

Posted 15 June 2013 - 11:40

That's awesome man!!! Great job!!!



Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #4 cobus

  • Senior Member
  • 4,774 posts

+69
Good

Posted 15 June 2013 - 15:30

Thanks great job


Groetjes Cobus R

 

VU+ UNO 4K SE FBC DVB-C (8x)

MUTANT HD66SE FBC DVB-C (3x)

MAXYTEC MULTIBOX COMBO

MUTANT HD60 DVB-S

 

 

Ziggo (digitaal) Kabel TV (FTV) op alle decoders met oa fallback tuner

 


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #5 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 17 June 2013 - 14:21

Very nice idea, but have a problem.

With this playlist can only stream channels of the current transponder.
It would be good if there was a way to switch all channels.

 

Sorry for my english - Google ;)



Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #6 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 17 June 2013 - 19:40

Go to the webif and in the left Stream section thick the box:

 

Zap before stream.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #7 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 18 June 2013 - 07:57

Now when i select a channel for stream from the web interface, the channel is changed, but not if i use a generated playlist.

Any other ideas?

My box is et4000


Edited by Cofybreak, 18 June 2013 - 07:58.


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #8 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 22 June 2013 - 18:04

Now when i select a channel for stream from the web interface, the channel is changed, but not if i use a generated playlist.

Any other ideas?

My box is et4000

 

Strangely,found that i can stream all channels by generated playlist only if the receiver is in standby mode.

Otherwise - from current transponder only.


Edited by Cofybreak, 22 June 2013 - 18:09.


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #9 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 22 June 2013 - 18:47

Makes sense, as you have a single tuner.
Does the 'recordings have priority' setting have an effect on this? (I think it might, as a stream is similar to a recording)

Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #10 Cofybreak

  • Senior Member
  • 115 posts

0
Neutral

Posted 29 June 2013 - 07:05

This opton has no effect



Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #11 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 20 August 2013 - 17:19

#
# Script: ./3genm3u-all.sh "full_path_to_userbouquet_folder" "SERVER_IP" "SERVER_PORT"
#

"full_path_to_userbouquet_folder" is the full path to access the userbouquet files that you want to convert
"SERVER_IP" is either the serveur IP address on your LAN or the Serveur Name.
"SERVER_PORT" is an optional parameter by default it is 8001 (default OpenWebif streaming port)

Will process all the userbouquet file in the folder specified by: "full_path_to_userbouquet_folder"
This script will call: ./1lamedb.sh and ./2genm3u.sh

Transfert all the playlist-*.m3u files on the client and open the file of your choice with VLC.

TIP: in the VLC playlist enable Artist view, this will show you the favourite name.

Remark: file userbouquet.LastScanned.tv is ignored.

 

Can this also be used for transcoding on VU+?

There, 8002 port is used. How to choose between transcoding and regular streaming?

Besides, I found VLC 1.0.2 rather difficult to work for transcoded channels. It works well for regular streaming (8001) but not for transcoding (8002). Don't know why.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #12 robertut

  • Senior Member
  • 347 posts

+2
Neutral

Posted 22 August 2013 - 09:43

For the same task, here's a PHP script you can run on your home NAS or other PC, near your box:

 

http://openpli.org/f...-converter-php/

 

It generates a playlist for VLC too.



Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #13 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 19 September 2013 - 19:43

Hi,

 

I just discovered that the feature is now included in OpenWebif by default, so you can generate the .m3u directly from the Webif no more need for my script.

 

On the top bar of a favorite click on the left TV this will allow you to download the .m3u file.

 

Thanks to the one who implement it!

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #14 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 19 September 2013 - 19:53

Hi,

 

Just a small remarks in the generated .m3u file please ignore service: 1:64:  those are marker use to provide info in the favourite, they are useless in the .m3u file.

 

#EXTM3U
#EXTVLCOPT--http-reconnect=true
#EXTINF:-1,BIS.tv Panorama
http://192.168.1.201:8001/1:64:8:0:0:0:0:0:0:0::BIS.tv Panorama
#EXTINF:-1,TF1 HD
http://192.168.1.201:8001/1:0:1:12D:3E1C:13F:820000:0:0:0:
#EXTINF:-1,France 2 HD
http://192.168.1.201:8001/1:0:1:12E:3E1C:13F:820000:0:0:0:
[code]
 
Cleaned up version (ignore 1:64):
[code]
#EXTM3U
#EXTVLCOPT--http-reconnect=true
#EXTINF:-1,TF1 HD
http://192.168.1.201:8001/1:0:1:12D:3E1C:13F:820000:0:0:0:
#EXTINF:-1,France 2 HD
http://192.168.1.201:8001/1:0:1:12E:3E1C:13F:820000:0:0:0:

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #15 Robinson

  • Senior Member
  • 2,621 posts

+30
Good

Posted 29 October 2013 - 13:38

I just discovered that the feature is now included in OpenWebif by default, so you can generate the .m3u directly from the Webif no more need for my script.

n the top bar of a favorite click on the left TV this will allow you to download the .m3u file.

Thanks to the one who implement it!

 

Hello guys,

Would it be possible to extend this new feature with port 8002 for boxes that can use transcoding? Solo2, Duo2.

Just like there are 2 TV icons in the channel lists, there could also be 2 TV icons in the bouquet list.

Whoever implemented the first TV icon, can you please consider adding the second TV icon for these 2 box types?

Thanks.


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #16 giwrgos

  • Member
  • 5 posts

0
Neutral

Posted 26 December 2017 - 15:55

Hello, I tried to used it but I'm getting the following errors

bash 2genm3u.sh /etc/enigma2/userbouquet.bstream_
g3Ri9Cb2_b43.tv "10.0.1.28"
: not found line 9:

DVB favorite to playlist.m3u file convertor.
by Pr2 for http://www.streamboard.tv/

: not found line 12:
: not found line 13:
: not found line 15:
2genm3u.sh: line 145: syntax error: unexpected "done" (expecting "then")

where 10.0.1.28 is the vu solo ip



Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #17 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 1 January 2018 - 20:29

Hi,

 

You no longer need to run my script to achieve this, simply connect to the Webif of the STB and click on the TV icon.

And this script was not written for bash if I remember well so don't start it with bash.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #18 Mounir67

  • Senior Member
  • 29 posts

0
Neutral

Posted 17 November 2019 - 18:16

thank You ..great work



Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #19 adriankoooo

  • Senior Member
  • 125 posts

+2
Neutral

Posted 30 January 2022 - 18:32

Hi,

 

You no longer need to run my script to achieve this, simply connect to the Webif of the STB and click on the TV icon.

And this script was not written for bash if I remember well so don't start it with bash.

 

Pr2

 

That works one channel only. It would be great to generate .m3u for the whole bouquet.



Re: OpenWebif suggestion: create a .M3U files for a whole bouquet #20 Pr2

  • PLi® Contributor
  • 6,181 posts

+261
Excellent

Posted 30 January 2022 - 20:23

If you use modern webif then you no longer have this option easily accessible, you need to go into the bouquet editor.

Turn the OpenWebif into classic mode and you will be able to easily download the full bouquet in the m3u format.

I have created a ticket in the GitHub of OpenWebif tohave the same in "modern UI" I need to find it back.

NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users