How to build a VLC playlist from a bouquet (including VU+ password)

AlexWilMac

Moderator
As everyone knows, it's possible to use VLC in several ways to stream your VU+ (and other enigma2 STBs) channels to other devices where VLC is installed (and it is the default application to manage .m3u files).
The easiest way it's from the web interface, OpenWebIf, and this is accessible simply by typing the box IP address from a browser, when the receiving device is on the same network of your VU+.
It's also possible to remote access it by the Internet, but this is a completely different case, for the reasons I'll tell later.
To stream a channel from OWIF, you'll simply click on the "monitor" icon next to a channel name. This stream has the original video resolution (not transcoded).
There's also another icon, resembling a mobile device, which means you'll stream transcoded, then the stream will be the video resolution as you set under the OWIF preferences.
All this is very well know to almost all of you and I just wrote it for the new users of an enigma2 image.

By the way, using VLC from OWIF makes difficult to zap from a channel to another: you'll have to click on another channel's icon; but this way it also happens that, for each click, you'll have a file created (usually in your Download folder) that you'll have to delete yourself afterwards.

Instead, it's possible to use a probably not so well known feature of the OWIF in order to create a .m3u file starting from one of your bouquets. To do that you'll have just to click on the "monitor" icon just before the bouquet name: this will make VLC to open a playlist populated with every channels from the bouquet you chose. Now, you can save it assigning it the name you like, and that's all: next time, you won't need to open your browser to play that bouquet's channels.
Above all, with this playlist you'll be able to "zap" to next or previous channel or to choose whatever channel in the playlist. And no annoying file will be created in your download folder or elsewhere.

As said, surely many users already know that. What I'd like to add, in case, is that, if your VU+ (the root user) has a password set and this is required to perform streaming (as advisable), and despite VLC will ask you to store it, it seems it is not able to remember it and you'll be force to re-enter it each time.
Incredibly, it asks for this password even during the same VLC session! Very uncomfortable.
But there is, indeed, a way to add this password once forever to your playlist .m3u: what you need to do is:

1) open your .m3u playlist by a text editor (obviously, don't do a double click, 'cause this will invoke VLC to open it).
You'll read, along with other lines, the ones related to the channels in the bouquet, like this:

http://xxx.yyy.www.zzz:8001/1:0:1:D49:1450:13E:820000:0:0:0:

(where, of course, you'll read your IP box address instead of xxx.yyy.www.zzz).

2) Supposing that the root password to stream by the http protocol is abcdefgh, you must perform a find/replace to replace all the occurrences of

http://
with
http://root:abcdefgh@

(you can do that by one shot only in almost every text editors, if not all).
Don't forget the @ at the end of the replacing string.
This way the final result will be

http://root:abcdefgh@xxx.yyy.www.zzz:8001/1:0:1:D49:1450:13E:820000:0:0:0:

Save the playlist and when you'll reopen it... no password will be required!

---
The same, with only some minor adjusting, is possible for other two situations: streaming by https protocol and streaming by the Internet.

a) https case
Here (assuming that the https port used is the 8002) the string to replace must be

http://xxx.yyy.www.zzz:8001
to be replaced by
https://root:abcdefgh@xxx.yyy.www.zzz:8002


b) playlist by the Internet
Here the main problem is not just the playlist editing, but how to know our Internet connection public IP address, because this is usually dynamic and not static. So it may change very often.
There are many ways to solve this problem but they will not be treated here because OT. I'll take into consideration, then, two cases:

-) the ones who have the luck to have a real static IP;
-) who owns a modem-router FritzBox from AVM.

For them it'll be easy to follow the same procedure I explained above.

Just for completeness, then, who has got a static IP address, let's say 80.90.100.110, will simply perform the replace of

http://xxx.yyy.www.zzz (the one got with the LAN IP)
by the string
http://root:abcdefgh@80.90.100.110

(or in very similar way for the https protocol).

The FritzBox users, instead, have the great opportunity to create a FritzBox account that will provide them not just with a static IP but, instead, with a "static" URL, something like this:

http://abcd1234efgh5678.myfritz.net

and this is, then, the string to use to replace the original one. So you'll find all the occurrences of

http://xxx.yyy.www.zzz
and will replace it them by
http://abcd1234efgh5678.myfritz.net

in the playlist.
Attached you'll find, for completeness, the screenshot with the OWIF icon to click in order to create the m3u file.

Regards!
 

Attachments

  • OpenWebIf-Creating-bouquet.png
    OpenWebIf-Creating-bouquet.png
    37.7 KB · Views: 73

jrbmw

Vu+ User
Nice tutorial.
I find the easiest way to use vlc player on home network is to install vlc on computer.
download the tuner/server app on the stb and build the server.
Open vlc on computer
click on media
click on open file
click on network
click on tuner
Then all the sats and bouquets on the stb are shown for selection.
 

AlexWilMac

Moderator
Yes ;) but, first of all, the main purpose of my post was about including the http password.
If there is no password, yes: you can use the tuner server folders (as I did, in the past).
But, even without a stream password (something not very advisable, as I wrote), the tuner server way is slower than the OWIF one.
But it's surely another way (if no password is set...) ;)
 

p.rodrigues

Vu+ User
Created the channel list by VLC, which is downloaded in the OpenWebeif icon, placed on the PC you can zapping the channels that is not required any password ...
My OpenWebif asks for the password to access, access and create the list, no longer need the password to change channels.
If you want to use transcoding is to open the list created using Notepad ++, edit port 8001 to 8002.
This inside the home network ... to use outside will have to open doors, but here you must be careful, never use the default ports. OpenWebif uses port 80, let's not open it, let's open a port pointing to 80 ...
I access my OpenWebif wherever you are, I am asked for the password, from there I have the possibility of downloading the list. But as it comes with the box's internal IP address as well as the default port (8001), I won't see anything. You will need to enter the hostname and port that I set to point to 8001 or 8002 if I want transcoding.

vApoZiE.png
 
Top