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) Old Stuff (Legacy) v
« Previous 1 … 79 80 81 82 83 … 125 Next »
Rectracker minor annoyance

 
  • 0 Vote(s) - 0 Average
Rectracker minor annoyance
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#1
2006-02-03, 04:39 PM
Hello,

I have been using the CDK Scheduler / Rectracker combination for a while and for the most part I'm really pleased with it.

But (ofcourse) there's just one thing that's slightly annoying: Rectracker (for XML-TV) uses all of title, subtitle and description to match the recording to a previous one...

Unfortunately, my XML-TV provider manages, for a lot of programs that get broadcasted twice on the same day, to have something like: "rerun of 09:00" in the description.

This means, that these shows do not get marked as dupicactes (even though title and subtitle match).

Is it possible to change the logic of Rectracker to disable the match on description (with a command-line switch maybe?). If you're stuck for time, I could make the changes myself (sourcecode is on sourceforge right).

I just want to make sure this is something you would think is open for discussion...

Awaiting your reply,

(and again, thanks for some exellent tools Big Grin )

//Ton
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#2
2006-02-08, 01:20 AM
Ton, The source for RecTracker is available the same place the CDK Scheduler is located on the Source Forge site. It may be a bit before I get to the code to add the option you requested. If you want, please feel free to download the RecTracker source and make the appropriate modification. I'm traveling for the next week or I would do it myself.
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#3
2006-02-08, 10:43 AM
Hello,

My main question (I guess I wasn't really clear in my previous post), is how you think this should be done...

I think the best option would be to have this in a configuration-file, but as far as I can see, there are no config-settings for rectracker currently....

The other option is a command-line switch (which would work, but I think the other option has greater potential).

Any idea's or suggestions?

//Ton
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#4
2006-02-09, 01:57 AM
I would probably do it as a Configuration option for CDK Scheduler, which would be passed to or sets an option when it calls the RecTracker.dll. For the commandline, I'd do it as you suggest, just pass in a command line switch.
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#5
2006-02-10, 08:35 PM
Okay,

I have looked around a bit and found that I don't need to update any of the RecTracker code....

Since RecTracker basically just puts the information in the database, I think it's no big deal to leave the contents of the description fields in the database (even if they're not being used, a user might want to use them in the future).

Furthermore, this is happening (for me) almost always with shows that are scheduled for the same day, so they don't have a chance to end up in the RecTracker database when PriorityRecordings does its job.

I've ended up doing the following:

1. Added an element to the XML-file (called "UseDescription"). I'm not too happy with either the name or the location of the element, but I guess it will do...
2. Made the appropriate changes to the XSD-file (same syntax and possible entries as the "DuplicatesAllowed" element)
3. Made a change to the logic in "isDuplicate" in the "RecordingUtils.cs" file. The new logic takes into account the value of the new element.

I'd like you to check the code if you have time. It's a pretty complicated piece of code (and lot's of boolean ands/ors). I have tested it, so it should work, but I always like a second pair of eyes on a piece of code like this... (I left the original code in there for comparison).

In the attached zip-file are the updated files (RecordingUtils.cs, PriorityRecordings.xml, PriorityRecordings.xsd).

Thanks for the chance to put my own idea's in the code. I really appreciate it. If ever I can return the favor (if you're stuck for time to do something), feel free to ask.

I used to code professionally, but some advances in my career mean I now only get to code in my spare time....

Best regards,

//Ton
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#6
2006-02-12, 12:58 AM
Thanks. I'll take a look when I get back. Conventions are a pain when you are the one standing around in a booth for 8 hours a day.

As for the contributions, that is why we put the source on Source Forge so that it can continually evolve.
Ton
Offline

Member

Posts: 233
Threads: 16
Joined: Aug 2005
#7
2006-02-12, 10:16 PM
I did a couple where I was the "behind the scenes" IT-guy. One show (where we were running 250 Internet kiosks) meant we were usually working all night to get things up and running smoothly for the next day (crappy hardware and lousy software, but we still had to get the stuff working).

That time I was really envyous of the guys standing in the booths (they could go home when I started working and get a decent night's sleep).

Anyway, I know some of what it's like. It's usually killing on my feet when I do something like this (and they usually won't allow you to wear comfortable shoes).

Hang in there...
//Ton
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Very very minor skin inconsistency Carlito 0 1,152 2007-07-22, 07:55 AM
Last Post: Carlito
  RecTracker. Can the 50-character title limit be increased? Jim_ 5 2,192 2007-03-10, 03:00 PM
Last Post: fla
  Rectracker Crashing tweeknockr 2 1,510 2006-10-17, 02:42 PM
Last Post: KingArgyle
  Plugin causing a minor stutter? Dolenz 3 1,789 2006-04-25, 04:14 AM
Last Post: reven
  Problems with Rectracker Fubrite 1 1,887 2006-04-23, 07:07 PM
Last Post: Ton
  Can someone clarify how Rectracker works? simon 3 1,917 2005-11-08, 03:06 PM
Last Post: jorm
  Rectracker spyder40 15 4,277 2005-10-07, 04:50 PM
Last Post: capone
  XRecord and RecTracker - Purge or No Purge? Necro 0 954 2005-10-06, 06:26 AM
Last Post: Necro
  XRecord, RecTracker not tracking isgdre 2 1,258 2005-09-13, 07:32 PM
Last Post: isgdre
  CDK Scheduler / Rectracker problem Beaker 9 3,276 2005-08-16, 02:19 PM
Last Post: KingArgyle

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

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

Linear Mode
Threaded Mode