NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 78 79 80 81 82 … 93 Next »
AddReoccuring without Repetition

 
  • 0 Vote(s) - 0 Average
AddReoccuring without Repetition
venkman
Offline

Junior Member

Posts: 39
Threads: 16
Joined: Jan 2005
#1
2005-01-24, 05:03 AM
Hi All,

I've just been initiated to gbpvr and a hauppauge 150 over the weekend.
And thanks to David A Carver for sharing the reoccur code and all the notes in how to develop apps in C#.

Essentially, I have added a check with the Title+subtitle of the program being recorded so that if you are looking to schedule episodes, then (hopefully) no two episodes will have the same subtitle. This means that you will create unique schedules only. Instead of what it does now, as in grabbing every episode blindly.

I also have added a command line argument to indicate the quality (low, medium, high, custom1, custom2 and livetv).

I am not sure if others will find this enhancement usefull or not, I sure had fun learning a bit of C# and coding. I'm including a small package with the code and an executable. Instructions are same as AddReOccurr.
"Slipstream": AMD Phenom II X4 955 Black Edition, ASUS M4A78T-E, OCZ Platinum 4GB DDR3 1600, XFX Radeon HD 4850 512MB, ComponentVid>TV, 1.5TB+750GB+200GB, Haup1800 CATV-IN (no HD Sad )
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#2
2005-01-24, 04:30 PM
Actually this is probably not the way to do it. It will work for most shows but some shows do not list the subtitle.

The best way to implement it is to use the unique_identifier field of the programme object.

I have modified Reoccur as well. I was planning on posting it in a day or too.

Things I have done to it.

Added duplication check using unique identifier.
Added conflict detection logic.
Got rid of the text file and replaced it with an xml file.
Added find by description.
And am integrating it with XRecord so you can update it via the mvp or all inside gbpvr.
I added remove logic that will remove pending shows based on criteria.

Added time range so you can specify a start and end time for the show to record on. So you can specify 8pm-10pm.

Added date logic so you can specify it to start recording in Nov 1 and end in Aug 3 if you choose this is optional.

Channel logic that you can specify a channel to look at or all channels.



On my todo
find by cast (zap2it only maybe imdb also)

FindUnseen
Stores the unqiue ids of recorded shows only and adds it to a database table. The fields of the table will be
title, subtitle, uniqueid. That way I dont just record new episodes but only ones that you have not seen.


I have a little more work to do before I release it. Probably a few days. We can collaborate on some enhancements to it if you want. We can always use more developers writing tools and plugins.

jorm
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#3
2005-01-24, 04:35 PM
Jorm, becareful relying on UniqueId as it only works if you have Zap2It, and doesn't get populated if you have XMLTV as your resource.

As a note, sometimes XMLTV doesn't contain the subtitle, so a combination of Title, Subtitle, and Description would be the most generic to work across platforms.

Glad to see that little utility getting some enhancements. That along with the External Recording manager provide a powerful set of scheduling utilities.
jrockintuitive
Offline

Senior Member

Posts: 292
Threads: 19
Joined: Dec 2004
#4
2005-01-24, 04:50 PM
Jorm,

I was planning on extending External Recording manager to handle dups. It sounds like that you have made good progress on this.

I don't want to duplicate efforts here... or at least I want to leverage the work that you have done.

So I have a few questions:
1. Do you use or plan to use the External Recording manager?
2. If yes, Would you be interested in hooking XRecord as a possible front-end?
3. If no and no, can you send me your source code?

I think the largest hurdle to scheduling in the ERM is not being able to do it through the guide. I would be willing to create an open-sourced plugin.

JRock
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#5
2005-01-24, 06:07 PM
KingArgyle,

Thank you for that info.

I will make it rely on the title + subtitle + description.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#6
2005-01-24, 06:23 PM
King Argyle,
I know I have seen some shows that have no useful information but the title like gameshows. Perhaps I will look for the unique id and if it is not present then use the compound key. Not as generic but more functional.


JRock,

> I was planning on extending External Recording manager to > handle dups. It sounds like that you have made good
> progress on this.
I am going to look at King Argyles suggestion if you want I can send that logic to you?

> I don't want to duplicate efforts here... or at least I want
> to leverage the work that you have done.
makes sense.

> 1. Do you use or plan to use the External Recording manager?
I was following it when it originally started it was used for resolving conflicts and finding new recordings if the show is in conflict. I actually only do about 6 recordings a week so I typically do not have conflicts. Is that the main functionality.

Do you think that it still makes sense to have the reoccur and the external recording manager separate? Obviously the name "External recording manager" indicates it can do a lot of things. And it would be nice for the user to install one app that gives them more functionality.

So I guess the answer is right now I do not use it.

> 2. If yes, Would you be interested in hooking XRecord as a > possible front-end?
I will take a look at it. Can you send me a one of your sample xml files (the more complicated one that better). It would make sense.

I found a post by king argyle that mentioned a helper class to manage the priorties. Is this the only info that you what xrecord to manage. If so can you send me this class. I will be glad to add it.

1. getPriorityRecording
2. setPriorityRecording
3. sortPriorities
4. savePriorities
5. loadPriorities
6. createPriorityRecording
7. removePriorityRecording

> 3. If no and no, can you send me your source code?
I will gladly send you the source. However let me take a wack at it first when I get the info from you.

> I think the largest hurdle to scheduling in the ERM is not
> being able to do it through the guide.
yeah. I am hoping at some point someone writes an open source guide. I can at least help you with xrecord and fast find.

> I would be willing to create an open-sourced plugin.
Adding it to xrecord would be fine. There are already too many plugins for one screen. I would rather save it for the big stuff. [Image: smile.gif]


jorm
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#7
2005-01-24, 06:52 PM
Jorm and Jrock:

Sent you guys an offline message about this in more detail, but I believe everything is there that you would need to interface with and manage the Priority Recordings xml file.
venkman
Offline

Junior Member

Posts: 39
Threads: 16
Joined: Jan 2005
#8
2005-01-25, 12:36 AM
All,
Thanks for the response back and sounds like there's a lot of development going on.
I think my vision of of phrase based search-and-record is a bit simplistic. I had a simple interface in mind that when you put in a search string it showed you a sample of a few days worth of programs that match. And if you were happy with the matches you would say okay and off it went.

Jorm,

I think I could help however being a newbie at c# and stuff I might turn into a handicap too. However if there are things that are small that you need help with (and not having a deadline) then I would love to lend a hand.

By the way, I am still struggling some of the aspects of the gbpvr, such as getting it to play a dvd. So you can judge how new of a newbie I am! lol

Take care and let me know if I can help.
Thanks!
Venkman
"Slipstream": AMD Phenom II X4 955 Black Edition, ASUS M4A78T-E, OCZ Platinum 4GB DDR3 1600, XFX Radeon HD 4850 512MB, ComponentVid>TV, 1.5TB+750GB+200GB, Haup1800 CATV-IN (no HD Sad )
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#9
2005-01-25, 03:43 PM
venkman,

I just sent you an email. To discuss this.

Jorm
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



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

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

Linear Mode
Threaded Mode