Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Using Services API in 0.25 for adding/updating recording schedules

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


thewbman at gmail

Apr 21, 2012, 5:18 PM

Post #1 of 2 (676 views)
Permalink
Using Services API in 0.25 for adding/updating recording schedules

Hi,

I have been updating my MythMe app
(http://code.google.com/p/mythme-wp7/for Windows Phone 7) to use the
new Services API that was introduced in
0.25 and found a few things about the AddRecordSchedule method that are
acting a little funny.

If I try to use AddRecordSchedule using a chanid/starttime that already has
a recording rule, it just updates the rule instead of creating a new one.
This has two main consequences:
- I cannot seem to create an override rule (force record - 7, force don't
record - 8) that is a new rule and doesn't overwrite the main parent rule.
I have tried adding the parentid to the new rule but that doesn't help - it
always converts the parent rule instead of creating a new one.
- Updating an existing rule does seem to work OK, but it is a little odd
to update using an "Add" command and not even specify the record rule
number.

Does someone know how I could create a new override rule using the
AddRecordSchedule method?


And somewhat unrelated, I think it would be nice to have a
GetFullUpcomingList method that returns all upcoming programs that match a
recording rule, including the 'never record' and 'force dont record' and
'conflict' programs all in one API call.


Otherwise though I love the new API and many thanks to all that have worked
on it.

Thanks,
wes


means.joel at gmail

May 1, 2012, 3:31 PM

Post #2 of 2 (406 views)
Permalink
Re: Using Services API in 0.25 for adding/updating recording schedules [In reply to]

On Sat, Apr 21, 2012 at 6:18 PM, Wes Brown <thewbman [at] gmail> wrote:

>
> And somewhat unrelated, I think it would be nice to have a
> GetFullUpcomingList method that returns all upcoming programs that match a
> recording rule, including the 'never record' and 'force dont record' and
> 'conflict' programs all in one API call.
>

I don't currently have any conflicts in my schedule to see if they are
included, but have you tried using 'ShowAll=True' with the
GetUpcomingList call? It does include inactive recordings when I try
it.

Joel
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.