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

visteon

Portal Pro
October 19, 2007
94
2
Just a note to say I did not press cancel. I either clicked on another menu option or closed the form thinking the changes would be saved.

I have sent you a PM please have a look if you get a chance.

Thanks

Paul
 

marmite

Portal Member
March 30, 2007
12
0
Home Country
United Kingdom United Kingdom
Hi,

I've just installed and scheduled my regular recordings in TvSheduler. Excellent, this looks like it's going to be very good indeed. The level of TVE3 integration is just great for me for now. And the scope to record with the rule system is already a vast improvement for my small list of regular shows (I have backup record system btw, I don't care too much if I encounter problems whilst in development etc.)

I had a couple of questions to start with, I appologies if they have been mentioned before, I have read this whole thread (more than once) but I may have forgotten..

1) How are conflicts handled?
i) Specifically what (if anything) does the TvScheduler know about tuner sources?
ii) What happens if >1 recording is scheduled on the same MUX, i.e. it [TVE3] could/should cope and record both/all.
iii) Does TvScheduler attempt to avoid conflicts where repeats are available (and rules setup such that a future episode is available) ?
iv) What happens when no alternative available and there will be a genuined 'no tuner available' problem if conflicting shows were scheduled?


2) I was reading about Freeview STB's the other day.
Some are beginning to have AR (Accurate Recording). Which means that the broadcaster sends a signal at the start and end of transmission and the STB's detects and adjust the schedule to avoid missing the start/end of the recording.

Are there any thoughts on how to integrate this into MediaPortal/TvSchedule.

Sorry, I don't know the technical details on how AR actually works.
AND I do realize this is something that would sit outside TvScheduler and instruct it.

But, nevertheless it's something to think about coping with..


Thanks.
 

visteon

Portal Pro
October 19, 2007
94
2
Well after adding some schedules last night, I ended up with an error :

When I click on 'recordings' I get an error saying the formatter has thrown an exception trying to deserialise the message .... maximum string content length quota (8192) has been exceeded reading XML data.

In the end after uninstalling/reinstalling a few times I ended up deleting the TvSheduler database with the management console.

The end result after much messing around (4 hours) is that the TvScheduler service starts then immediately stops. I am starting it from the services window.

The uninstaller will not complete because it gets an exception when it cannot stop the service since it already is stopped.

I can remove the install info with 'windows install cleanup' but the reinstall ends up with the service not continuing to run.

I have tried many things .... any ideas ?
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
Well after adding some schedules last night, I ended up with an error :

When I click on 'recordings' I get an error saying the formatter has thrown an exception trying to deserialise the message .... maximum string content length quota (8192) has been exceeded reading XML data.

In the end after uninstalling/reinstalling a few times I ended up deleting the TvSheduler database with the management console.

The end result after much messing around (4 hours) is that the TvScheduler service starts then immediately stops. I am starting it from the services window.

The uninstaller will not complete because it gets an exception when it cannot stop the service since it already is stopped.

I can remove the install info with 'windows install cleanup' but the reinstall ends up with the service not continuing to run.

I have tried many things .... any ideas ?

Are you using MySQL or SQL Express? Seems you hit a limit for the rules-string, which is serialized as XML. I'm using an 'ntext' field in SQL and a 'mediumtext' field in MySQL. Do you have very complicated schedules?

I'll write up a unit test with a very very complicated schedule and see if I can reproduce and fix this problem (both for MySQL and SQL Express of course).

Now, the other thing you noticed, I fear this has to do with the new installer system I've started to use. I'm probably going to switch back to the old installer system, there's just too many problems with the new one :(

What you perhaps can try to do is run a manual uninstall of the windows service:

"installutil /u TvScheduler.WindowsService.exe"

You can find installutil in C:\Windows\Microsoft.NET\Framework\v2.0.50727. Hopefully this will help you to do a clean re-install of everything.

[2 minutes later]

I did a quick check, and apparently the error you got is a WCF error. So I'll have to fix it at that level... Stay tuned... :)
 

visteon

Portal Pro
October 19, 2007
94
2
I had set the scheduler up on a remote client and was adding a schedule for 'Top Gear'. It was probably every time on every channel type of thing.
I could not delete this entry from the table on its own nor delete the whole table, hence deleting the database.

I will try the service uninstall .........



C:\Program Files\dot-i\TV Scheduler>C:\WINDOWS\Microsoft.NET\Framework\v2.0.5072
7\installutil /u TvScheduler.WindowsService.exe
Microsoft (R) .NET Framework Installation utility Version 2.0.50727.832
Copyright (c) Microsoft Corporation. All rights reserved.



The uninstall is beginning.
See the contents of the log file for the C:\Program Files\dot-i\TV Scheduler\TvS
cheduler.WindowsService.exe assembly's progress.
The file is located at C:\Program Files\dot-i\TV Scheduler\TvScheduler.WindowsSe
rvice.InstallLog.
Uninstalling assembly 'C:\Program Files\dot-i\TV Scheduler\TvScheduler.WindowsSe
rvice.exe'.
Affected parameters are:
logtoconsole =
assemblypath = C:\Program Files\dot-i\TV Scheduler\TvScheduler.WindowsService
.exe
logfile = C:\Program Files\dot-i\TV Scheduler\TvScheduler.WindowsService.Inst
allLog
An exception occurred in the OnBeforeUninstall event handler of TvScheduler.Wind
owsService.TvSchedulerInstaller.
System.InvalidOperationException: Service TvScheduler was not found on computer
'.'.
The inner exception System.ComponentModel.Win32Exception was thrown with the fol
lowing error message: The specified service does not exist as an installed servi
ce.
An exception occurred while uninstalling. This exception will be ignored and the
uninstall will continue. However, the application might not be fully uninstalle
d after the uninstall is complete.
Removing EventLog source TvScheduler.
Warning: The source TvScheduler is not registered on the local machine.
Service TvScheduler is being removed from the system...
An exception occurred during the uninstallation of the System.ServiceProcess.Ser
viceInstaller installer.
System.ComponentModel.Win32Exception: The specified service does not exist as an
installed service
An exception occurred while uninstalling. This exception will be ignored and the
uninstall will continue. However, the application might not be fully uninstalle
d after the uninstall is complete.

The uninstall has completed.
An exception occurred while uninstalling. This exception will be ignored and the
uninstall will continue. However, the application might not be fully uninstalle
d after the uninstall is complete.

C:\Program Files\dot-i\TV Scheduler>
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
Well, since people are using TvScheduler more and more the system is being put under more stress, and that's definately a good thing! :)

Seems WCF puts several limits on the messages that travel the network. I may have to revise some parts here and there to take this into account, so it's good this happened. Sorry everything got messed up on your end!
 

visteon

Portal Pro
October 19, 2007
94
2
Any ideas why now at the end of the install I get :

Failed to start TV scheduler service
Timeout has expired and operation has not been completed

When the start service progress bar is displayed.
 

Ernie-c

Portal Member
July 31, 2007
42
5
Belgium
Home Country
Belgium Belgium
Any ideas why now at the end of the install I get :

Failed to start TV scheduler service
Timeout has expired and operation has not been completed

When the start service progress bar is displayed.

Everything should be installed correctly, only it seems the setup cannot start the service. So after the install go to services, and check whether it is started, if not, start it manually. The WiX setup seems to bring some problems we didn't have before, so it's probably a good idea to roll back and use our previous setup code.
 

visteon

Portal Pro
October 19, 2007
94
2
Any ideas why now at the end of the install I get :

Failed to start TV scheduler service
Timeout has expired and operation has not been completed

When the start service progress bar is displayed.

Everything should be installed correctly, only it seems the setup cannot start the service. So after the install go to services, and check whether it is started, if not, start it manually. The WiX setup seems to bring some problems we didn't have before, so it's probably a good idea to roll back and use our previous setup code.

When I start the service manually it immediately stops again. Are there any logs I can look at ?
 

Midget

Portal Pro
October 1, 2007
78
2
Siena
Home Country
Italy Italy
From today TVScheduler seems to have stopped the recordings... :(

I've not found recorded files, so I've checked the management console in the "upcoming recordings" to see many recordings; then on mediaportal I've checked the recordings window to see it empty.
I've also checked SQL's tables directly: tvlibrary.schedule is empty.

Stopping-starting both services had no effects. Rebooting PC had no effetcs.

Any help ?

[EDIT]
Resolved with this procedure:

If you turn the plugin off in TVE3, move away from the overview screen (otherwise it will not have any effect), then move back, turn it back on, and once more move away from that screen (phew, complicated explanation ), THEN, my plugin will be reactivated in TVE3, and it should immediately sync if the option is turned on.

Note that even rebooting had not any effects.
 

Users who are viewing this thread

Top Bottom