2025-05-14, 01:31 PM
Hi !
I have a m3u playlist (128 channels) and i want split it in 128 files with the channel name.
the m3 looks like
so in this case i would like to have 2 files
with
e.g. 2nd file
and the name of the file should be ORF2T HD.m3u
How can i mange it with a bash script ?
Ciao Gerd
I have a m3u playlist (128 channels) and i want split it in 128 files with the channel name.
the m3 looks like
Code:
#EXTM3U
#EXTINF:-1 tvg-logo="http://192.168.66.254:9981/imagecache/19" tvg-id="45a0ee6c8f6c8001f207e5c1d7d1d152" tvg-chno="41",ORF1 HD
http://192.168.66.254:9981/stream/channelid/1827577925?profile=vaapi_x265
#EXTINF:-1 tvg-logo="http://192.168.66.254:9981/imagecache/18" tvg-id="3ae7ba457807e9a49defffa7076c1fdf" tvg-chno="42",ORF2T HD
http://192.168.66.254:9981/stream/channelid/1169876794?profile=vaapi_x265
so in this case i would like to have 2 files
with
e.g. 2nd file
Code:
#EXTM3U
#EXTINF:-1 tvg-logo="http://192.168.66.254:9981/imagecache/18" tvg-id="3ae7ba457807e9a49defffa7076c1fdf" tvg-chno="42",ORF2T HD
http://192.168.66.254:9981/stream/channelid/1169876794?profile=vaapi_x265
and the name of the file should be ORF2T HD.m3u
How can i mange it with a bash script ?
Ciao Gerd
I7-8700 / 32GB Ram
Intel A380 / Ubuntu 24.04
16 TB NAS TS-253
2 TB NVME / 2 TB SSD
Intel A380 / Ubuntu 24.04
16 TB NAS TS-253
2 TB NVME / 2 TB SSD