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 … 4 5 6 7 8 … 20 Next »
RT_FilmFix v1.0 - temporary fix up for Radio Times XMLTV users

 
  • 0 Vote(s) - 0 Average
RT_FilmFix v1.0 - temporary fix up for Radio Times XMLTV users
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#1
2011-12-19, 08:48 PM (This post was last modified: 2012-03-26, 09:22 PM by bgowland.)
For the brave and the foolhardy (I make no judgement either way)...

NOTE: This is only of use to users of Alan Birtles XMLTV GUI program and will not work with the xmltv files of other grabbers.

BACKGROUND:

Radio Times have handed over the generation of their TV listings files to MetaBroadcast. One side-effect (possibly the only one so far) is that films are now categorised by genre (e.g., Comedy, Drama etc) rather than 'Film'.

This is a command-line utility which will process the XMLTV data file generated by Alan Birtles' XMLTV GUI utility to rewrite the <category> element to show as 'Film'. It will also rewrite the <title> category prefixing "Film:" if you have this setting enabled in your XMLTV GUI 'PrgDets' post-processer preferences.

USAGE:

Extract the RT_FilmFix .exe and .pdb files to a location of your choice. Extract the channels.dat file to the XMLTV GUI installation folder.

To run, use the following command-line...

Code:
RT_FilmFix <path-to-xmltv-gui-installation-folder> <path-to-default-or-alternate-configuration-folder>
...surround the paths with quotes if there are spaces. You MAY optionally include a trailing '\' to the paths.

NOTE: For both parameters, specify the folder path ONLY. Don't supply the name of the XML data file in the second path. This behaviour has changed since the initial releases of this utility.

Examples...

Default installation location of XMLTV GUI with default configuration

Use the same path for both arguments...

Code:
RT_FilmFix "C:\Program Files\XMLTV GUI" "C:\Program Files\XMLTV GUI"

Default installation location of XMLTV GUI with alternate configuration

As above but provide the path to the alternate configuration folder as the second argument. NOTE - DO NOT supply the xmltv data filename - path to the folder ONLY.
Code:
RT_FilmFix "C:\Program Files\XMLTV GUI" "C:\Program Files\XMLTV GUI\Test"

IMPORTANT:

This relies on you having the 'Use cache' setting enabled for XMLTV GUI as it requires the cache files to identify which programmes are films.

DISCLAIMER:This is a temporary fix and I give no guarantees and don't intend spending much more time on it. Error checking has been improved in this version but it may simply just drop out if there are problems. Let me know and I'll try to patch it up.

Cheers,
Brian

PS It does backup the original XMLTV file before attempting to modify it so all is not lost if it goes wrong. Smile
garyeuph
Offline

Member

Posts: 161
Threads: 18
Joined: Apr 2006
#2
2011-12-19, 09:34 PM
Sorry Brian, it still fails for me.

I now get the following error message - I can email you my xmltv file and XMLTV GUI cache (or anything else) if that would help.

Gary

Code:
C:\utils>RT_FilmFix "C:\Program Files\XMLTV GUI" "C:\Program Files\XMLTV GUI"
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   at System.Threading.CompressedStack.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   at System.Xml.XmlTextReaderImpl.OpenUrl()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at RT_FilmFix.Program.ProcessDataAndChannelsFiles() in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\RT_FilmFix\Program.cs:line 112
GBPVR 1.4.7
Hauppauge PVR150, Hauppauge Nova-T 9200
Nvidia 6200 S-Video to WS TV
AMD 3200, HD 250GB and 500GB
NTL Samsung with Red-Eye Serial
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#3
2011-12-19, 10:18 PM
garyeuph Wrote:Sorry Brian, it still fails for me.

I now get the following error message - I can email you my xmltv file and XMLTV GUI cache (or anything else) if that would help.

Gary
Hmmm, it's having trouble loading your XMLTV GUI data.xml (or whatever you've chosen to name it).

If you click on my username on this post do you get an option to send email? My address should be open to everyone. I'd need the xmltvgui.ini as well as the xmltv file and cache.
garyeuph
Offline

Member

Posts: 161
Threads: 18
Joined: Apr 2006
#4
2011-12-19, 10:23 PM
No, it doesnt show your email or give me the option to send an email - just a pm
GBPVR 1.4.7
Hauppauge PVR150, Hauppauge Nova-T 9200
Nvidia 6200 S-Video to WS TV
AMD 3200, HD 250GB and 500GB
NTL Samsung with Red-Eye Serial
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#5
2011-12-19, 10:28 PM
OK, I think the latest vBulletin software must have locked my profile down. I've PM'd you my email address.
garyeuph
Offline

Member

Posts: 161
Threads: 18
Joined: Apr 2006
#6
2011-12-19, 10:32 PM
Great, sent you an email
GBPVR 1.4.7
Hauppauge PVR150, Hauppauge Nova-T 9200
Nvidia 6200 S-Video to WS TV
AMD 3200, HD 250GB and 500GB
NTL Samsung with Red-Eye Serial
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#7
2011-12-19, 10:47 PM
From your post above you're running...
Code:
RT_FilmFix "C:\Program Files\XMLTV GUI" "C:\Program Files\XMLTV GUI"
...can you confirm that the xmltvgui.ini file you sent me came from...
Code:
C:\Program Files\XMLTV GUI\[B]settings[/B]
?
garyeuph
Offline

Member

Posts: 161
Threads: 18
Joined: Apr 2006
#8
2011-12-19, 10:49 PM
Yes, thats right
GBPVR 1.4.7
Hauppauge PVR150, Hauppauge Nova-T 9200
Nvidia 6200 S-Video to WS TV
AMD 3200, HD 250GB and 500GB
NTL Samsung with Red-Eye Serial
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#9
2011-12-19, 10:51 PM
FYI - This version still works fine for me Brian...

Alex
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#10
2011-12-19, 10:52 PM
@Gary - OK, thanks. It'll take me a short time but I'll recreate your folder structure and run this through. Back ASAP.

@Alex - thanks for confirming.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (7): 1 2 3 4 5 … 7 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Radio stations for NextPVR mvallevand 18 1,754 2025-05-29, 05:06 PM
Last Post: mvallevand
  EPG updates from multiple sources at different times 2leftfeet 3 1,476 2020-12-27, 03:23 PM
Last Post: mvallevand
  ImageGrabLite and XMLTV metadata liteswap 6 3,892 2015-02-21, 05:16 PM
Last Post: liteswap
  Internet radio questions jd1940 2 2,135 2015-02-16, 10:33 PM
Last Post: jd1940
  Web radio question jd1940 13 4,896 2014-06-05, 09:19 PM
Last Post: Reddwarf
  Media Companion Users jd1940 2 1,815 2014-05-31, 07:54 PM
Last Post: gEd
  [Plugin] Pandora Internet Radio cncb 29 14,760 2012-06-29, 02:11 AM
Last Post: johnsonx42

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

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

Linear Mode
Threaded Mode