Jump to content

Cannot delete timer with Commandline Plugin


jakub

Recommended Posts

When trying to delete timer with Commandline Plugin 1.2.3 + Recording Service 1.9.2.0, it doesn't get deleted and is still present in svctimers.xml. Adding timer is working fine.

Am I doing something wrong?

 

Cmdline is:

 

"C:\Program Files (x86)\DVBViewer\dvbv_tvg.exe" -c "3713222198085693155|Prima" -e 27.10.2011 -s 15:20 -p 17:52 -r

 

 

svctimers.xml

 

<Timer Type="1" ID="{4422DAA5-B007-4154-B695-44F72F90B40A}" Enabled="-1" Priority="50" Date="27.10.2011" Start="15:20:00" Dur="152" PreEPG="15" PostEPG="15" Action="0" EPGEventID="3661">

<Descr>R. Pilcher: Až na konec světa</Descr>

<Options AdjustPAT="-1" AllAudio="-1" DVBSubs="-1" Teletext="-1"/>

<Format>2</Format>

<Folder>Auto</Folder>

<NameScheme>%year-%date_%time_%station_%name</NameScheme>

<AfterProcess>Check Errors</AfterProcess>

<Source>Web</Source>

<Channel ID="3713222198085693155|Prima"/>

</Timer>

 

svcdebug.log after executing command

 

27.10.11 16:08:52.228 Start Comserv success

27.10.11 16:08:52.230 Shutdown Comserv success

27.10.11 16:08:52.230 Start Comserv success

27.10.11 16:08:52.232 Shutdown Comserv success

Edited by jakub
Link to comment
  • 6 months later...

Hi Jakub,

 

I just got the same problem while (re)installing my progs (DVBViewer 4.9.6.20, DVBViewer Recording Service 1.9.5.3, CmdLine 1.2.3 plugin) on a new system. It lasted one week to get it solved but I found it!

 

I found the solution in this old thread from 2006: http://www.DVBViewer.tv/forum/topic/11101-tvgenialscheduler-ein-klick-aufnahme/

 

"Wirklich ein nettes Skript! Einen kleinen Anpassungesvorschlag hätte ich noch. Mir ist aufgefallen, dass der UserMode=0 zum Löschen von Einträgen indirekt vorausgesetzt wird.

"

 

So, the usual/normal "all user" user mode doesn't work for removing timers using the current dvbv_tvg.exe plugin. This really is a bug and I will inform Lars_MQ when I have time. You can also do it yourself if you want to.

 

So now the solution/workaroud:

 

1) Just modifying the "usermode=" setting to 0 in the DVBVierwer usermode.ini file won't help.

 

Better do like I did to be sure it works:

 

1) reinstall DVBViewer Pro and choose "For each user separate" instead of "For all Users"

 

2) reinstall DVBViewer Recording Service

 

3) restart the computer or at least the DVBViewer Recording Service

 

Then you may copy your settings from the old All user location to the new one in order to save some time.

 

Now the dvbv_tvg.exe plugin will save and remove timers as it should.

 

Note: if your are using the DVBViewer Recording Service and also the TV-Browser Recording control Plugin as I do, be sure to add the optional -xsvc command with correct parameters to your Recording control plugin requests to create and remove timers, otherwise your may get some strange results and timers won't be correctly created/removed.

 

Stephaen

Edited by Stephaen
Link to comment
×
×
  • Create New...