[mythtv-users] uPnP chaos
Michael T. Dean
mtdean at thirdcontact.com
Tue Feb 4 00:15:09 UTC 2014
On 02/03/2014 11:50 AM, David Watkins wrote:
>> There's a much better approach for cleaning any of that up, and I'm happy
>> to give it to anyone off list once they find that there are a bunch of
>> recordings that are stuck in that state (i.e. were deleted days or longer
>> ago and are still there, even after a full system (including master
>> backend) restart--making sure to wait until mythbackend processes finish
>> shutting down, which may take much longer than your system start scripts
>> are willing to wait).
> Michael,
>
> I've experimented with XBMC, connecting to mythtv via UPNP, and I see very
> many deleted recordings (apparently every recording I've ever made over the
> past 7 years. The majority of these would have been manually deleted
> immediately after they'd been watched.
>
> If there's a way of fixing this up then I might like to give it a go,
> depending on the risk (I don't see any other problem)
>
> If it makes a difference I'm still running 0.25 ( I generally don't
> upgrade unless I run into an issue or I see a feature I want).
>
> Thanks in advance
Deleted recordings aren't a problem--only "partially deleted
recordings". I'd guess you're seeing recordings that have been put into
the Deleted recording group, and will be removed from disk at some later
time--either after the number of days you've specified, or automatically
when you need more space on a given file system (after all not-in-use
Live TV recordings have been removed).
If that's the case, you can simply delete them, again, and they will be
removed from disk (at least this is how it will work on a
properly-functioning client system, which means that you're allowed to
delete the Deleted recording, and the client then asks the backend to
take care of it).
If you want them removed automatically--even when the system doesn't
need the space (unused memory/storage is wasted memory/storage :)--you
need to specify an appropriate value for:
Time to retain deleted recordings (days)
Determines the maximum number of days before undeleting a recording will
become impossible. A value of zero means the recording will be
permanently deleted between 5 and 20 minutes later. A value of minus one
means recordings will be retained until space is required. A recording
will always be removed before this time if the space is needed for a new
recording.
Mike
More information about the mythtv-users
mailing list