For The Record - The rule-based scheduling suite (7 Viewers)

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
Thanks! It's only the first steps, but it's more quickly coming together than I thought :)

In future I'd also like to look at a Windows Mobile client to the TvScheduler service, which would mean you could edit your schedules on the road, but I'm not sure if there would be enough potential users of this. Would be way cool though :D
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium

Yes, he started to work on getting his stuff to work with TvScheduler. And he seemed to be very enthousiastic about it too :) But he's doing everything in C++, so I'm not sure how doable it's going to be for him to go all the way without .NET. It would be relatively painful since you get so much for free on .NET.

Another possibility is that I give my source code to the Web-EPG work I already did to him, and see if he sees it as a possibility to further develop it in ASP.NET and C#...

We'll see... I just started this to test the flexibility of the API and got a bit carried away ;) In a matter of hours I had quite a bit already working.

----

Bug:
- Exception in DataGridView (see attached image) (this is throwed many times)

In what panel are you seeing this, and after what action?
Sorry.... :p in TV Guide panel.
I was reading the entire guide to rebuild the schedule. After some time (days and channels changed, recordings added) it throws the exception (and panel emptied with a big red X). Changed panel, back to the guide, after some time it appens again. It seems apparently random.

Unfortunately I don't seem to be able to reproduce this :(

What OS are you on, Vista or XP? It looks like a WinForms issue, I must fail to clean something up. Is it when leaving the panel that you get the exception, or also when you are browsing inside the TV Guide?

Anyone else seen this problem?

----

By the way, has anyone tried the DVB-EPG syncing in the new plugin?
 

jake78

Portal Pro
July 30, 2005
73
2
Home Country
Sweden Sweden
I had the same problem, I uninstalled TvScheduler and removed the database. At first the unsinstaller had issues removing the service and I had to do it manually. After a reinstallation everything worked fine.

I tried the DVB-EPG and XMLTV and it created duplicate channels, I removed the duplicates and they were created again. So now I'm running it without the DVB-EPG...

Another problem was with your error handling, when my event log was full TvScheduler crashed.
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
I had the same problem, I uninstalled TvScheduler and removed the database. At first the unsinstaller had issues removing the service and I had to do it manually. After a reinstallation everything worked fine.

Seems like my new setup has some issues, also with upgrading the database :( And that's probably Midget's problem too. Hmmm... This WiX stuff looked good on paper ;), but I may need to switch back to the old setup(s).

But hang on, if you say the uninstaller had problems, that means this is the old setup's uninstaller. Or did you remove the new TvScheduler?

I tried the DVB-EPG and XMLTV and it created duplicate channels, I removed the duplicates and they were created again. So now I'm running it without the DVB-EPG...

Well, the way I set it up is to either use XMLTV guides, or use TVE3's DVB-EPG, not both. Otherwise you do indeed get duplicate channels since the internal IDs are going to be different. Remember this is only a "quick" fix to get DVB-EPG into TvScheduler :)

Another problem was with your error handling, when my event log was full TvScheduler crashed.

Isn't the event log normally set up to automatically overwrite old entries?

I don't write that much to the event log, but I guess the "TvScheduler service started." that is logged at startup caused this problem then. The event log should really be present at all times, in case of an exception that would also be logged, so the log would need to be working then too.
 

jake78

Portal Pro
July 30, 2005
73
2
Home Country
Sweden Sweden
Ok, I missed a step in my last reply... I uninstalled the old installation, installed the new one... I had the datagrids issue and then tried to uninstall the new installation. That's when I had the service uninstallation problems. So it was indeed the new installer.

First time it did upgrade the database, but when I started the mgmt consoel it was empty.

I haven't changed any settings in the event log, it's all default. The event log error came up when the service was trying to start. The exception message was in fact 'event log is full'.
 

petsa

MP Donator
  • Premium Supporter
  • January 23, 2007
    588
    15
    Stockholm
    Home Country
    Sweden Sweden
    Hi dvdfreak!

    I got your applicaiton running now and it is an impressive piece of work! I like it a lot.

    Here are a couple of thoughts on the app:

    1. Would it be possible to sort the "Upcoming Recordings" in the same way as "Recordings", i.e. by clicking on the Title row? This would be very useful when you have many upcoming recordings and want to cancel etc one of them.

    2. I really like the remote TVScheduler console and I was thinking about access this when I'm travelling. Bu then I need to access the service through my firewall and I would like to make it as secure as possible when I open a port. Would it be possible to add some kind of authentication/passwd when using the remote client?

    3. It seems as there is no more an "Imported" directory created once the XMLTV-file has been imported. Perhapsan update to the docs? I also noticed the XMLTV directory was no longer created in the latest version. I did that manually and then it worked OK. I use the version from yesterday.

    4. I also got the Datagrid error reported previously. This happened when I selected the first day outside the range of the imported XMLTV. I can not reproduce it anymore so I guess it was more complicated than that.

    /Peter
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Hi dvdfreak!

    I got your applicaiton running now and it is an impressive piece of work! I like it a lot.

    Here are a couple of thoughts on the app:

    1. Would it be possible to sort the "Upcoming Recordings" in the same way as "Recordings", i.e. by clicking on the Title row? This would be very useful when you have many upcoming recordings and want to cancel etc one of them.

    Yes, that makes sense. I couldn't see why a sort would be needed here, but your example is a good one. I'll add sorting.

    2. I really like the remote TVScheduler console and I was thinking about access this when I'm travelling. Bu then I need to access the service through my firewall and I would like to make it as secure as possible when I open a port. Would it be possible to add some kind of authentication/passwd when using the remote client?

    Very good point, I need to investigate what would be a good technique to use with WCF services.

    3. It seems as there is no more an "Imported" directory created once the XMLTV-file has been imported. Perhapsan update to the docs? I also noticed the XMLTV directory was no longer created in the latest version. I did that manually and then it worked OK. I use the version from yesterday.

    Hmmmm... No, it should still create that directory. There's something really wrong with the new setup :( The XMLTV directory should have been there too. I'm going to go over the new installer code once more, try to find the source of problems.

    4. I also got the Datagrid error reported previously. This happened when I selected the first day outside the range of the imported XMLTV. I can not reproduce it anymore so I guess it was more complicated than that.

    So you did not install everything from scratch? If your problem comes back, you may want to try that first then. Again, the new setup does not seem to upgrade the database correctly. I'm really sorry about all these setup issues.

    I haven't changed any settings in the event log, it's all default. The event log error came up when the service was trying to start. The exception message was in fact 'event log is full'.

    In the event viewer, right click on Application and then Properties. Check the "overwrite" settings, perhaps your log is indeed set up to never delete anything.
     

    Midget

    Portal Pro
    October 1, 2007
    78
    2
    Siena
    Home Country
    Italy Italy
    What OS are you on, Vista or XP? It looks like a WinForms issue, I must fail to clean something up. Is it when leaving the panel that you get the exception, or also when you are browsing inside the TV Guide?
    XP. I got the exception while browsing inside the guide.

    I tried the DVB-EPG and XMLTV and it created duplicate channels, I removed the duplicates and they were created again. So now I'm running it without the DVB-EPG...

    Well, the way I set it up is to either use XMLTV guides, or use TVE3's DVB-EPG, not both. Otherwise you do indeed get duplicate channels since the internal IDs are going to be different. Remember this is only a "quick" fix to get DVB-EPG into TvScheduler :)

    Me too with duplicate channels. I've installed the new version and set up TVE3 DVB-EPG import. But the db was empty (no guide data) so, to avoid 24h wait, I've imported the xml. The day after I've found duplicate channels.
    Maybe you could put a button on the TVE3 pluging saying "import DVB-EPG now".

    Today I've also noticied that the tv guide data was not updated from TVE3 DVB-EPG: the last data was from the xml. I've not noticied this before.

    Bye,
    Midget
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    Today I've also noticied that the tv guide data was not updated from TVE3 DVB-EPG: the last data was from the xml. I've not noticied this before.

    Seems I may have to see about supporting XMLTV and the tve3 DVB-EPG at the same time after all, since you ran into the same trap :)

    DVB-EPG data that comes in must be mapped to the correct channel of course, but if I change the syncing to use the same mapping as the one that's used to sync the schedules that should work fine. It's so obvious and still I overlooked this possibility :D
     

    Users who are viewing this thread

    Top Bottom