[mythtv] Way of calling FORCE_DELETE_RECORDING
Jochen Kühner
jochen.kuehner at gmx.de
Sun Aug 6 18:36:43 UTC 2006
Michael T. Dean schrieb:
> On 08/06/2006 08:24 AM, Jochen Kühner wrote:
>
>> Chris Pinkham schrieb:
>>
>>
>>> * On Sun Aug 06, 2006 at 11:47:12AM +0200, Jochen K?hner wrote:
>>>
>>>
>>>> is there a way of sending the command
>>>>
>>>> FORCE_DELETE_RECORDING
>>>>
>>>> to the backend??
>>>>
>>> Same way you'd send any other command to the backend, open a
>>> connection, and send the command. :)
>>>
>>> Not sure what you're looking for here. Perhaps if you
>>> explained it a little more. Do you mean from the frontend,
>>> from your own program, from where?
>>>
>> when i was walking through the source, i think that this command expires
>> recordings from my list even when the file is not there any more.
>> (because i had a harddrive crash and i have many recordings in my db
>> which are not there any more, but the auto expire doesn't delete them)
>>
>>
>
> Auto-expire doesn't delete non-existent recordings because its purpose
> is to reclaim space to make room for new recordings. Expiring a
> non-existent recording doesn't reclaim any space, so it would not server
> the purpose of the autoexpire function.
>
>
>> but i don't know how to run this command??? is there a menuitem for it
>> in the frontend??? can i do it like mythbackend --forcedelete or is it
>> there and not used (so that i have to write my own program!)
>>
>
> You can manually delete non-existent recordings through the UI. If
> you're using SVN trunk r9490 or 0.19-fixes r10505 or higher, it works
> without issue (it pops up a dialog saying the file doesn't exist and
> then allows you to see recording details or delete the metadata from the
> database). The challenge is finding the non-existent recordings (which
> can be done pretty easily with some simple SQL, ls, etc.).
>
> Mike
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>
>
i know that i can delete them, but there are a few hundret in the list
wich don't exist any more... if theres no way to do this, maybe i write
a small php script for mythweb or i'm looking to implement a new command
in the main server wich can do that...
More information about the mythtv-dev
mailing list