NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 80 81 82 83 84 … 101 Next »
Bulk channel group mapping?

 
  • 0 Vote(s) - 0 Average
Bulk channel group mapping?
gdogg371
Offline

Member

Posts: 149
Threads: 23
Joined: May 2018
#1
2020-06-10, 11:26 PM
Hi - is there a way to load channel groups via a script or config file of some sort? I have literally thousands of channels and there is no way I can map them all by hand...
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#2
2020-06-21, 04:39 AM
No one has addressed this question yet? I have the same request, actually I am looking for the same or equivalent function that is provided by V4 desktop app, which is to multi-select a list of channels and drag them to a group at once. In V5 web app, we have to tick channel one by one, and I have several hundreds of channels and I can probably manage to do this process once, but what if I have to delete and re-create those channels (my EXTRA source keeps changing their line-ups these days which causes me often to re-create channels from scratch)? I wouldn't want to manually tick several hundreds of channels again and again ...
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,830
Threads: 954
Joined: May 2006
#3
2020-06-21, 04:44 AM
You can tick them all with the top box and untick if you'd prefer. Also if you are creating an m3u manually you why not create the group tag group-title="" too?

Martin
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#4
2020-06-21, 04:59 AM
(2020-06-21, 04:44 AM)mvallevand Wrote: You can tick them all with the top box and untick if you'd prefer.  Also if you are creating an m3u manually you why not create the group tag group-title=""  too?

Martin
I don't have m3u lists, I use EXTRA device to create channels and I have multiple EXTRA devices each of which has several hundred channels, your method doesn't solve the issue since if I tick them all on the top, then I have to untick even more channels one by one

BTW, does extras-*.xml support group tag? and how about the xmltv file that is used to map channels for EXTRA device, does it support group tag?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,659
Threads: 767
Joined: Nov 2003
#5
2020-06-21, 06:32 AM
(2020-06-21, 04:59 AM)fwpvr789 Wrote: BTW, does extras-*.xml support group tag? and how about the xmltv file that is used to map channels for EXTRA device, does it support group tag?
No, it doesn't currently support a group in the extras xml, but yes it's probably a good idea for me to add this.
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#6
2020-06-21, 03:13 PM
(2020-06-21, 06:32 AM)sub Wrote:
(2020-06-21, 04:59 AM)fwpvr789 Wrote: BTW, does extras-*.xml support group tag? and how about the xmltv file that is used to map channels for EXTRA device, does it support group tag?
No, it doesn't currently support a group in the extras xml, but yes it's probably a good idea for me to add this.
Thanks, look forward to the feature Shy
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,659
Threads: 767
Joined: Nov 2003
#7
2020-06-21, 05:18 PM
The optional 'group' attribute is supported for the next build:

Code:
<extras>

    <channel name="Lake 88.1" number="88.1" service_type="2" group="RadioMega">
        <command>cmd</command>
        <icon>http://cdn-radiotime-logos.tunein.com/s89155q.png</icon>
        <args>/c C:\Users\Public\NPVR-data\scripts\RadioTimes.bat s89155</args>
    </channel>
    <channel name="LiVE 88.5 FM" number="88.5" service_type="2" group="RadioMega">
        <command>cmd</command>
        <icon>http://cdn-radiotime-logos.tunein.com/s89427q.png</icon>
        <args>/c C:\Users\Public\NPVR-data\scripts\RadioTimes.bat s89427</args>
    </channel>
    <channel name="CHUO-FM" number="89.1" service_type="2" group="RadioOther">
        <command>cmd</command>
        <icon>http://cdn-profiles.tunein.com/s20289/icons/logoq.png?t=155023</icon>
        <args>/c C:\Users\Public\NPVR-data\scripts\RadioTimes.bat s20289</args>
    </channel>
</extras>
fwpvr789
Offline

Junior Member

Posts: 31
Threads: 8
Joined: Nov 2019
#8
2020-06-22, 04:23 AM (This post was last modified: 2020-06-22, 04:27 AM by fwpvr789.)
(2020-06-21, 05:18 PM)sub Wrote: The optional 'group' attribute is supported for the next build:

Code:
<extras>

    <channel name="Lake 88.1" number="88.1" service_type="2" group="RadioMega">
        <command>cmd</command>
        <icon>http://cdn-radiotime-logos.tunein.com/s89155q.png</icon>
        <args>/c C:\Users\Public\NPVR-data\scripts\RadioTimes.bat s89155</args>
    </channel>
    <channel name="LiVE 88.5 FM" number="88.5" service_type="2" group="RadioMega">
        <command>cmd</command>
        <icon>http://cdn-radiotime-logos.tunein.com/s89427q.png</icon>
        <args>/c C:\Users\Public\NPVR-data\scripts\RadioTimes.bat s89427</args>
    </channel>
    <channel name="CHUO-FM" number="89.1" service_type="2" group="RadioOther">
        <command>cmd</command>
        <icon>http://cdn-profiles.tunein.com/s20289/icons/logoq.png?t=155023</icon>
        <args>/c C:\Users\Public\NPVR-data\scripts\RadioTimes.bat s20289</args>
    </channel>
</extras>

I didn't realize that extras-*.xml also supports "number" attribute and <icon> tag, the wiki only provides a simple syntax, https://github.com/sub3/NextPVR/wiki/Extras

what is "service_type", is its value fixed to "2" for EXTRA devices or does it matter? 

Thanks for adding the "group" attribute, is it possible to support assigning channel to multiple groups, like group="RadioMega,Sports,Favorites"? in my case, I group channels by their source devices and also pick channels from different devices into "Sports" and "Favorites" groups. the multi-grouping helps a lot to quickly navigate to my desired channels in browser or Kodi.

Personally I still would like to see the multi-selection method to assign groups, which gives more flexibility
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,659
Threads: 767
Joined: Nov 2003
#9
2020-06-22, 06:44 AM
(2020-06-22, 04:23 AM)fwpvr789 Wrote: what is "service_type", is its value fixed to "2" for EXTRA devices or does it matter? [url=https://github.com/sub3/NextPVR/wiki/Extras]
It's primarily around the type of content in the stream. Basically 0x1019 for H.264+AAC, is the default. Type 2 was MPEG-1 audio, as used by some radio style services. Type 1 is MPEG2 video.

Quote:Thanks for adding the "group" attribute, is it possible to support assigning channel to multiple groups, like group="RadioMega,Sports,Favorites"? in my case, I group channels by their source devices and also pick channels from different devices into "Sports" and "Favorites" groups. the multi-grouping helps a lot to quickly navigate to my desired channels in browser or Kodi.
I guess I could add support for multiple groups. This code is currently copied from the IPTV code, which only ever specifies a single main group.

Quote:Personally I still would like to see the multi-selection method to assign groups, which gives more flexibility
Yes, it's supposed to support holding ctrl or shift for multi-select, but I must have broken it at some stage. I'm a bit short on time to look into it right now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Channel 7 TV channels do not load into my list cmacd 1 127 Yesterday, 07:25 AM
Last Post: hunbieni
  error: No tuner was available for the requested channel jzk 3 214 2025-04-19, 03:30 PM
Last Post: mvallevand
  Question about Multiple Clients viewing Same Channel JohnySmith1010 15 618 2025-04-07, 12:28 PM
Last Post: mvallevand
  Watched program and channel lists mkroc 8 408 2025-03-24, 02:21 PM
Last Post: BrettB
  PIN or password protect group(s)? Druhl 1 179 2025-02-27, 04:16 PM
Last Post: mvallevand
  Channel lock issue during recording erik123 1 187 2025-02-08, 03:35 AM
Last Post: BrettB
  Channel Icons Not Showing peekyblinder71 2 233 2025-01-17, 02:19 AM
Last Post: mvallevand
Sad Failed to download channel list? membball84 4 360 2025-01-15, 11:46 PM
Last Post: membball84
  Issue changing channel to same IPTV connection curtisfeatures 18 1,048 2025-01-14, 04:22 PM
Last Post: mvallevand
  can't get http://localhost:8866/service=?method=channel.m3u JCDinPGH 15 1,020 2024-11-28, 03:20 AM
Last Post: JCDinPGH

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode