MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server 1 » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
LinkBack (6) Thread Tools Display Modes
Old 2007-10-16, 09:02   #121 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 523
Thanks: 0
Thanked 29 Times in 16 Posts

Country:

My System

Default

I guess a simple manual repeating schedule does have its uses, as you demonstrate with your example.

And I did intend for the manual schedule to automatically pick up the program data if it's available yes, as long as I can figure out what program it is of course (if the manual timeslot does not totally include exactly one program, I'll keep the manual name).

And thanks for the thanks I'm going to try and get some more work done this week, should be able to upload a new test-version soon...
dvdfreak is offline   Reply With Quote
Old 2007-10-16, 19:12   #122 (permalink)
Portal Member
 
THDBASED's Avatar
 
Join Date: Jan 2006
Posts: 464
Thanks: 64
Thanked 2 Times in 2 Posts

Country:

My System

Default

Also have the ability to name this recording as with the existing schedular I don't think this is possible, could be wrong though...
THDBASED is online now   Reply With Quote
Old 2007-10-19, 10:44   #123 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 523
Thanks: 0
Thanked 29 Times in 16 Posts

Country:

My System

Default

Check the first post of this thread, I just uploaded a new beta version. I also added a few screenshots.

Changes since the previous release:
  • Implemented caching for calculating upcoming programs -- this enormously speeds up repeated calls.
  • It is now possible to (un)cancel specific upcoming recordings from a series-recording.
  • Manual schedules are now supported.
  • Added keep-until setting to recording schedules.
  • TvScheduler.WindowsService will now delete old guide data every day (everything before yesterday).
  • Added Settings panel, with e.g. global pre- and post-record settings.
  • Added "Edit Schedule" item to popup in TV Guide.
  • Added new and more icons, more GUI cleanup.
  • Added icons to upcoming programs grids.
  • Implemented preferred guide source and pre- and post-record settings.
  • Added "IsCancelled" to UpcomingProgram and UpcomingGuideProgram.
  • Bug fix: Fixed problem with datetime casting in SQL Express for OnDate rule.
  • Bug fix: time in Upcoming Programs grid is now also displayed for midnight (00:00).
  • Bug fix: XMLTV import was broken when two programmes with the same title were right after one another.
  • Bug fix: XMLTV import timezone calculation was reversed, fixed now.
I look forward to your feedback!

Last edited by dvdfreak; 2007-10-19 at 12:22.
dvdfreak is offline   Reply With Quote
Old 2007-10-19, 11:10   #124 (permalink)
Portal Member
 
Join Date: Jul 2005
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I tried the global pre- and post record setting, but it won't affect newly added recordings... it still says 00:00 and it is unchecked.
The (un)cancel feature is great!

Have you looked into the TVE3 integration yet? Is the plugin model feasible?

So far, great job!

// Jacob
jake78 is offline   Reply With Quote
Old 2007-10-19, 11:18   #125 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

For my 2c's worth - this abstraction/replacement of the scheduler sounds very good indeed. I like the sound of it.
I've been using MP for about 18months, but am a die-hard Tivo user and run that in parallel, it is always my failover - and it's a reflection of its reliability/consistency/functionality - that I often revert to it for missed/broken recording when I have to.
A lot of the reason for that is, is it's much smarter scheduler, e.g. auto recording the next showing of an episode that it missed for whatever reason earlier, etc.
Of course MP has lots of other advantages and I want best of both world, and would like to retire Tivo eventually.


Anyway to the point, I would really would like to test the new scheduler and would not be unhappy with any/all teathing problems it had, would be happy to provide feedback etc. etc. *but* I haven't got the time (or patience perhaps) to test it in theory - for me I will have to wait until there is some kind of TVEngine3 integration before I begin testing it. I'm sure I'm not alone here..
marmite is offline   Reply With Quote
Old 2007-10-19, 11:50   #126 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 523
Thanks: 0
Thanked 29 Times in 16 Posts

Country:

My System

Default

Quote:
Originally Posted by jake78 View Post
I tried the global pre- and post record setting, but it won't affect newly added recordings... it still says 00:00 and it is unchecked.
That's actually correct. The schedules themselves stay in the unchecked state, since they use the defaults.

The only place you can "see" the pre- and post-recording times are in the UpcomingRecordings, but I don't think I display these in the user-interface. So with the naked eye you can't test this feature (yet).

Quote:
Originally Posted by jake78 View Post
The (un)cancel feature is great!

Have you looked into the TVE3 integration yet? Is the plugin model feasible?

So far, great job!

// Jacob
Thanks!

I think TVE3 integration will be done through some sort of plugin at first. Stay tuned for that...

I'm hoping the version I just posted will prove to be stable enough. I'm going to add a feature to TvScheduler so it will actually keep track of what has been recorded for you, something I thought I'd leave out at first, but thinking things over again, it actually makes sense to have it manage the actual recordings as well as the schedules.

Once that is done, I think I'm close to being feature-complete, so then it's time to move on to integration with TVE3. And perhaps other software too, since TvScheduler is designed as a separate WCF service a lot is possible in that respect.

Quote:
Originally Posted by marmite View Post
Anyway to the point, I would really would like to test the new scheduler and would not be unhappy with any/all teathing problems it had, would be happy to provide feedback etc. etc. *but* I haven't got the time (or patience perhaps) to test it in theory - for me I will have to wait until there is some kind of TVEngine3 integration before I begin testing it. I'm sure I'm not alone here..
I can understand your point, but TvScheduler comes with a nice and (hopefully) easy-to-use management console so testing it is quite easy. And I would appreciate any feedback, even at this point before integration.

But some sort of integration is coming as well, just not yet...

Last edited by dvdfreak; 2007-10-19 at 11:54. Reason: Automerged Doublepost
dvdfreak is offline   Reply With Quote
Old 2007-10-19, 12:19   #127 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

I don't doubt that you have good testing harness, and I'm not knocking it I promise.
I'm just pointing out that I'm not good at testing virtual functionality and too lazy/busy too.
But - am not adverse at all to testing alpha/beta functionality, thereby stress testing in real situations. I accept that in doing so, I would loose stable usage of existing scheduler and accept work-in-progress on new funtionality.

Maybe I am alone, but I think if you could get some basic integration, it would get other testers testing.

I eagerly wait to try it out anyway.
marmite is offline   Reply With Quote
Old 2007-10-19, 12:21   #128 (permalink)
Portal Member
 
dvdfreak's Avatar
 
Join Date: Jun 2006
Posts: 523
Thanks: 0
Thanked 29 Times in 16 Posts

Country:

My System

Default

A little more patience then Integration will be one of the next steps...
dvdfreak is offline   Reply With Quote
Old 2007-10-19, 12:42   #129 (permalink)
Portal Member
 
Join Date: Mar 2007
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

BTW: I think this has a) been mentioned before and b) more of an integration issue, but -

IMO TVEngine3/MP/Scheduler - Should be able to co-operate in this situation:

Scenario: i) >=1 client is watching timeshifted/livetv.
ii) TVServer3/scheduler has recording item approaching (e.g. 1 minute away) It should also check _during_ this 1 minute window for new client conflicts.
iii) There are no free tuner cards available, will need to use a card that a client is currently using or miss recording.

Solution: i) Send a message to all clients informing them of "Recording X will interrupt your viewing"
ii) MP Client interprets message and prompts user:
a) to ignore ("OK I will be interrupted") (Ideally it would tune into recording automatically when starts)
b) to cancel X scheduled recording

iii) If any client responds with a) - then ensure that client is picked to be interrupted and signal others waiting that they need not be interrupted.
If any client responds with b) - perform remote cancel recording


I currently have single-tuner single-seat setup. The lack of this feature 'hits' me quite a lot, I'm watching TV - and it suddently stops - I wonder why - usually scheduled recording is the reason.
It would happen a lot less if I had 2 tuners, and I may get, but it occuring less would also mean more confusing when it does occur. (BTW I know there's option for livetv to take priority over schedule - I consider that worse option)

This solution could be incrementally implemented, if stage 1 was to only inform clients that scheuled item will interrupt that would be a big improvement IMO.

Anyway what do others think?

Quote:
Originally Posted by dvdfreak View Post
A little more patience then Integration will be one of the next steps...
I can wait to be honest, and I think its fantastic you've been working on this. You would have probably got too much feedback early on if you had some integration early on

Last edited by marmite; 2007-10-19 at 12:43. Reason: Automerged Doublepost
marmite is offline   Reply With Quote
Old 2007-10-19, 17:55   #130 (permalink)
MP Donator
 
vuego's Avatar
 
Join Date: Aug 2006
Age: 7
Posts: 257
Thanks: 42
Thanked 10 Times in 10 Posts

Country:

My System

Default

Quote:
Originally Posted by marmite View Post
Scenario: i) >=1 client is watching timeshifted/livetv.
ii) TVServer3/scheduler has recording item approaching (e.g. 1 minute away) It should also check _during_ this 1 minute window for new client conflicts.
iii) There are no free tuner cards available, will need to use a card that a client is currently using or miss recording.

Solution: i) Send a message to all clients informing them of "Recording X will interrupt your viewing"
ii) MP Client interprets message and prompts user:
a) to ignore ("OK I will be interrupted") (Ideally it would tune into recording automatically when starts)
b) to cancel X scheduled recording

iii) If any client responds with a) - then ensure that client is picked to be interrupted and signal others waiting that they need not be interrupted.
If any client responds with b) - perform remote cancel recording
I think this is an absolutely necessary feature. The current implementation in MP is annoying and unpredictable.

Even more information could be provided to help the user decide what to do. Information about IF and WHEN a rerun of the upcoming recording will take place would spare the user from finding out by himself.
Message to clients could be something like: "Recording X will interrupt your viewing at <time>. Rescheduling is possible for <date> at <time>." and perhaps three buttons: Allow recording, Reschedule recording, Cancel recording. Or "Recording X will interrupt your viewing at <time>. No reruns found in the next <guide data days> days." Allow recording, Cancel recording.

I guess it's up to the MP client to display this message but perhaps the TvScheduler service could provide this information to the TV Plugin
vuego is offline   Reply With Quote
Reply

Bookmarks

Tags
rulebased, service, tvscheduler

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/development-91/rule-based-tvscheduler-service-26158/
Posted By For Type Date
Tekniska tankar HTPC This thread Refback 2008-08-28 20:49
Tekniska tankar Saker jag tänkt testa (när jag fćr tid&#8230;) This thread Refback 2008-08-20 15:22
Tekniska tankar Mediaportal This thread Refback 2008-08-14 13:08
DvbDream Community :: View topic - External control for TV Scheduler plugin This thread Refback 2008-07-22 17:03
Tekniska tankar This thread Refback 2008-07-21 20:52
Extensions-TV-Server-Plugins - MediaPortal Documentation This thread Refback 2008-07-21 09:41

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug Report: Error when editing logo rule ccMatrix My TVSeries 1 2007-05-09 09:29
One remote to rule them all? fathead General Support 5 2006-01-06 17:37
Media Portal Developers Rule! Jaguarius MediaPortal 1 Talk 1 2005-11-11 16:00


All times are GMT +1. The time now is 13:20.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress