bc12

Well-known member
Joined
May 24, 2021
Messages
213
Awards
4
Offline
I found this old python script that allows you to select channel groups, (and even split large groups into smaller, alphabetized groups), and then create a new m3u file with the groups selected. For instance, I use it to pull the countries I'm interested in from my huge m3u file.

Although it's old, it still works perfectly fine on Ubuntu 20 LTS. Credits go to Radio Erewan | [email protected] for creating it.

 
Last edited:

bc12

Well-known member
Joined
May 24, 2021
Messages
213
Awards
4
Offline
wonder if this would work with vod
Good question. I took a look at my results and it appears to work w/ VOD. However, they need to be grouped somehow... ie "Just scanned" "Crime" "Comedy", "VOD", etc...
 
Last edited:

bc12

Well-known member
Joined
May 24, 2021
Messages
213
Awards
4
Offline
I modified the original script a little to just dump every group it encountered, which is really why I was interested in this script in the first place.

I'm not a python programmer, or even a programmer for that matter... So there are some quirks... Like it ignores special characters because they are illegal filename characters.... Such as ">< ?/" etc etc... So it will skip "24/7" and a few others... Maybe a real programmer can add some finishing touches to it... Replace / with - or something....

Basically, I just removed the y/n prompt in the last section and created a file using the group name as it loops through the list...

You end up w/ something like this:

groups.png

Also note: The program creates the files in a "group" folder, so you might have to create a folder called group.

 
Last edited:

chadb1987

Well-known member
VIP Member
Joined
Apr 11, 2021
Messages
283
Awards
4
Offline
Good question. I took a look at my results and it appears to work w/ VOD. However, they need to be grouped somehow... ie "Just scanned" "Crime" "Comedy", "VOD", etc...
so it wouldnt work on non grouped vod i guess example a m3u with hords of films no category's nothing just pure list
 

bc12

Well-known member
Joined
May 24, 2021
Messages
213
Awards
4
Offline
so it wouldnt work on non grouped vod i guess example a m3u with hords of films no category's nothing just pure list

Technically, the program will work perfectly fine on your list with no groups, you just won't get much of a result. ;)

This programs sole purpose is to allow you to select which groups gets transferred to another list.

What did you want the program to do w/ your list?
 
Last edited:
Top