NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) v
« Previous 1 … 13 14 15 16 17 … 20 Next »
UK: Digiguide Channel Logos -> NPVR Channel Logos

 
  • 0 Vote(s) - 0 Average
UK: Digiguide Channel Logos -> NPVR Channel Logos
Astraeus
Offline

Junior Member

Posts: 17
Threads: 6
Joined: Jan 2012
#1
2013-01-18, 02:31 AM (This post was last modified: 2013-01-19, 12:47 AM by Astraeus.)
Hi all,

No idea if this will help anyone else out there, but given it took a bit of work, thought I'd share it in case it helps anyone else. For all those in the UK that quickly want to have up to date and pretty channel logos and who use Digiguide for their EPG

I've attached to this file a CSV mapping file of Digiguide channel IDs to NPVR Channel names (based on the Digiguide -> XMLTV). I've done this for most of the common channels - I haven't done the very specialist channels, however.

You can use this to turn the channel logos in digiguides chlogos folder (which are numbered by digiguide internal ID) and turn them into channel_name.png files that NPVR likes and can use.

You can then just run it through Perl (or something similar) in the chlogos directory, I put together something quick like this (note, this is horrible, like most perl) which creates an out directory and drops everything in there:

Code:
#!/usr/bin/perl

use File::Copy qw(copy);
mkdir out;
open($map,"map.txt") or die("Unable to open mapping file called map.txt in current directory");
foreach $line (<$map>) {
    chomp($line);
    @bits = split(",",$line);
    $id = $bits[0];
    $channel = $bits[1];
    copy "$id.ch", "out/$channel.png";
    print "$channel DONE\n";
}

Hope that someone finds this useful, if not, it'll just be me coming back to this thread in a few years time when I've forgotten how I did it the first time!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Update NPVR Database with UniqueID element using NextTool ChrisHammond56 7 1,972 2022-08-18, 03:29 AM
Last Post: sub
  VideoConduit - Standalone App to Import Lost TV Recordings into NPVR 27InchSony 54 23,910 2021-12-29, 10:08 PM
Last Post: mvallevand
  Npvr and IR Blaster Buddha B 11 5,869 2018-11-13, 06:16 PM
Last Post: sub
  IRSS and channel-changing batch files Len_Lekx 5 3,505 2018-07-18, 08:12 PM
Last Post: Len_Lekx
  Channel Changer for IguanaWorks IR Transciever pkscout 0 2,181 2017-08-14, 04:27 AM
Last Post: pkscout
  System Plugin Confused by New NPVR Naming Scheme Lao Pan 1 2,654 2016-09-25, 08:26 AM
Last Post: imilne
  Unified Remote (Android) NPVR custom remote. fuzzweed 5 7,560 2016-08-10, 01:52 AM
Last Post: baj1
  hy is there a way to use an LCD or VFD (2x16 or 4x40 chars) in NPVR tto 7 4,729 2016-06-19, 01:38 PM
Last Post: jdauthre
  Network Recorder with more than 1 NPVR (how to)? SFX Group 9 5,952 2016-03-03, 05:57 PM
Last Post: UncT
  Plex Channel arrmo 9 8,266 2016-01-23, 05:31 PM
Last Post: GrundleJuice

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

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

Linear Mode
Threaded Mode