![m3u playlist export m3u playlist export](https://www.greifenwald.de/wp-storage/m3uautoexport.png)
#M3u playlist export download#
If you are trying all the suggestions above,and you are not getting the same results as playing the Network/Mux url on VLC, first you need to uncheck HTTP Digest Authentication from General config, then yo have to create a new stream profile type Pass-Through, and uncheck the four rewrite options, after that, you need to add a new user and pass and finally, create an access control for that user, selecting just the created profile, define as none the Preferred service video type option and check the Switch to another service option.Īfter that, download your playlist using :9981/playlist(this will create two request to server, once junidentified and another one with basic auth, so for half a minute you will see two subscriptions) and thats it, enjoy it. Original script was by B C taken from here: ] To see the output in a more readable format, try:įrom there you can see what fields can be used for sorting and/or in the description.Īlso, when you get it working how you want, you should probably uncomment the rm at the bottom If you do not want to specify the profile (and just use the default) you can remove the part "\?profile=$profile" from the end of the line. To create an unsorted list, comment out the jq sort and uncomment the cp command. #rm /tmp/channels_unsorted.json /tmp/channels.jsonĮdit the top section with the correct data for you (admin username/password, user username/password, profile, and host address:port)
![m3u playlist export m3u playlist export](https://www.m3u-auto-export.de/wp-content/uploads/2017/03/m3u-app-1.3.0-768x382.jpg)
Number=$(/usr/bin/jq -c -r '.entries.number' /tmp/channels.json)Įcho $host/stream/channel/$uuid\?profile=$profile Name=$(/usr/bin/jq -c -r '.entries.name' /tmp/channels.json) Uuid=$(/usr/bin/jq -c -r '.entries.uuid' /tmp/channels.json) Svcname=$(/usr/bin/jq -c -r '.entries.svcname' /tmp/channels.json) Jq '.entries |= sort_by(.number)' /tmp/channels_unsorted.json > /tmp/channels.jsonĮntries=$(/usr/bin/jq -c '.total' /tmp/channels.json)įor (( service=0 service<= $entries service++ ))Įnabled=$(/usr/bin/jq -c '.entries.enabled' /tmp/channels.json) svcname)' /tmp/services_unsorted.json > /tmp/services.jsonĮntries=$(/usr/bin/jq -c '.total' /tmp/services.json)įor (( service=0 service /tmp/channels.json
![m3u playlist export m3u playlist export](https://static.wixstatic.com/media/21260c_c05275d6d7094a2788119a33593d8df1~mv2.jpg)
Wget -O /tmp/services_unsorted.json :9981/api/mpegts/service/grid?limit=100000
#M3u playlist export install#
# you must have installed jq (apt-get install jq) It is not very secure since it will include the user:password, but if that doesn't bother you. You could use one of the following scripts to generate a playlist.