NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 5 6 7 8 9 … 56 Next »
RT_FilmFix - temporary fix up for Radio Times XMLTV users

 
  • 0 Vote(s) - 0 Average
RT_FilmFix - 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-18, 02:35 AM (This post was last modified: 2011-12-19, 08:52 PM by bgowland.)
I've moved this over to the Add-ons forum rather than have it clutter the Community Announcements.

Please see [URL="http://forums.nextpvr.com/showthread.php?51263-RT_FilmFix-v1.0-temporary-fix-up-for-Radio-Times-XMLTV-users&p=425677#post425677"]RT_FilmFix v1.0 - temporary fix up for Radio Times XMLTV users
[/URL]

I've update things to include better error handling, prefixing the title with 'Film:' and proper use of alternate XMLTV GUI configurations.

Cheers,
Brian
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#2
2011-12-18, 03:19 AM
Worked first time for me. Using Joseph LeBlanq's TVGuide to view, I now get lots of films as opposed to none before.

I've certainly not checked the whole EPG, but the first few dozen films look OK and there is no sign of any 'none' films being flagged.

Nice early Christmas present - great stuff - thanks Brian...

Alex
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#3
2011-12-18, 03:49 AM
ACTCMS Wrote:Nice early Christmas present - great stuff - thanks Brian...

Alex
Thanks for testing it out Alex and glad it works for you. Smile

Interesting exercise although not without its headaches. I think I've got at least 50% of the code there to make my own RT XMLTV grabber. Another one for the back-burner.

Cheers,
Brian
garyeuph
Offline

Member

Posts: 161
Threads: 18
Joined: Apr 2006
#4
2011-12-18, 10:28 AM
Hi,

I tried to run this and get the following error message

Code:
Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at RT_FilmFix.Program.CreateFilmList() in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\RT_FilmFix\Program.cs:line 126
   at RT_FilmFix.Program.Main(String[] args) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\RT_FilmFix\Program.cs:line 28

My command line was

Code:
RT_FilmFix "C:\Program Files\XMLTV GUI" "C:\XMLTV\data.xml"

and I had RT_FilmFix installed in C\utils

Sorry for the news - is there any obvious error here?

Gary
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
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#5
2011-12-18, 10:48 AM
Thanks for the proglet, Sorry, but I get a problem. Haven't had much time to try to double check it as have to do hospital visiting shortly.
I will try it on a "cleaner" machine when I get back.


Code:
C:\Documents and Settings\martin\Desktop\junk\film-fix>RT_FilmFix "E:\Program Files\XMLTV GUI" "E:\Program Files\XMLTV GUI\data-hd.xml"

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at RT_FilmFix.Program.CreateFilmList() in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\RT_FilmFix\Program.cs:line
126
   at RT_FilmFix.Program.Main(String[] args) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\RT_FilmFix\Program.cs:li
ne 28
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#6
2011-12-18, 06:08 PM
garyeuph Wrote:I tried to run this and get the following error message

martint123 Wrote:Thanks for the proglet, Sorry, but I get a problem.

Interesting - you both got a failure at the same point of code. I can see what is happening but don't know why. I've put some error checking in place to hopefully prevent it happening but I'd be curious to see either of your xmltv files.

Updated zip file in my original post.

Cheers,
Brian
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#7
2011-12-18, 06:42 PM (This post was last modified: 2011-12-18, 07:10 PM by martint123.)
bgowland Wrote:Interesting - you both got a failure at the same point of code. I can see what is happening but don't know why. I've put some error checking in place to hopefully prevent it happening but I'd be curious to see either of your xmltv files.

Only a quickie as I'm passing through.
The extra checking showed a missing file in the cache directory (movie 24 ISTR) and copying another file to the missing file name got rid of the error.
I've not had chance to empty and re inport the EPG, but a quick glance shows a 'film' category shown in some film4 entries.

more later - Thanks
Martin

edit to add a bit.
I use multiple sets of directories and use the command line to create different xmltv.xml files.
I noticed that running your fix on my 'freeview HD' xml file failed with the missing file for movies24 which isn't in that xml file ???

I also just did an import (to gbpvr - yes, sad I know) and it has filled in the genre properly, but I would really have liked it to shove "film:" in front of the title as one of Alan B's post processor options used to to - handy for searching.

thanks again
must dash
garyeuph
Offline

Member

Posts: 161
Threads: 18
Joined: Apr 2006
#8
2011-12-18, 09:55 PM
Hi,

I still get errors as below. I can send you my zipped xmltv file and xmltv cache if it helps - let me know an email address...

Code:
Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'C:\Program Files\XMLTV GUI\cache\UK_RT\148'.
File name: 'C:\Program Files\XMLTV GUI\cache\UK_RT\148'
   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, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detec
tEncodingFromByteOrderMarks, Int32 bufferSize)
   at System.IO.StreamReader..ctor(String path)
   at RT_FilmFix.Program.CreateFilmList() in C:\Documents and Settings\gbpvr\My
Documents\Visual Studio 2008\Projects\RT_FilmFix\Program.cs:line 121
   at RT_FilmFix.Program.Main(String[] args) in C:\Documents and Settings\gbpvr\
My Documents\Visual Studio 2008\Projects\RT_FilmFix\Program.cs:line 28
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
#9
2011-12-18, 10:08 PM
OK guys, thanks for the feedback.

@martin123 - I'll have to think about the multiple directories thing, I'll take a look at the code in a short while. I can certainly add a "Film: " prefix to titles if that's what you like.

@garyeuph: I've tweaked the code to properly handle missing cache files. I'll upload a new version after making a few more mods.

Cheers,
Brian
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#10
2011-12-19, 08:55 AM
bgowland Wrote:@martin123 - I'll have to think about the multiple directories thing, I'll take a look at the code in a short while. I can certainly add a "Film: " prefix to titles if that's what you like.

Thinking on, I don't think the multiple generation will have any effect on your prog - they share the cache directory and only have their own 'settings' directory, and you copy the channel ID's into the base directory.

Yup, a film: prefix would be nice.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Docker HDHR users please read. mvallevand 1 1,683 2022-10-10, 01:20 AM
Last Post: mvallevand
  UK satellite users - BBC HD channels JP23 0 2,769 2018-10-17, 03:04 PM
Last Post: JP23
  xmltv EPG Collector Error Waynesm 0 2,169 2014-09-25, 02:49 AM
Last Post: Waynesm
  NZ Freeview TV & Radio Logos Jaggy 2 4,228 2014-02-24, 07:03 PM
Last Post: Jaggy
  MultiSite Incremental XMLTV Epg Grabber WG++Maker 62 35,038 2013-03-26, 10:28 PM
Last Post: jksmurf
  UK Freeview TV & Radio Logos Lao Pan 20 10,100 2013-03-16, 11:39 AM
Last Post: topcat
  RT_FilmFix update bgowland 0 1,528 2012-03-01, 07:45 PM
Last Post: bgowland
  Pandora Internet Radio and MusicMonkey (MediaMonkey) music plugins cncb 19 8,388 2011-12-17, 02:02 AM
Last Post: steeb
  QAM Scanning and Preview in Web Radio (beta) mvallevand 1 1,930 2011-01-24, 01:41 AM
Last Post: mvallevand
  Web Radio 3.2 mvallevand 9 3,684 2010-07-22, 07:08 PM
Last Post: Northpole

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

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

Linear Mode
Threaded Mode