[mythtv-users] Plex integration

Michael T. Dean mtdean at thirdcontact.com
Mon Dec 14 11:46:29 UTC 2015


On 12/07/2015 06:59 AM, Matt Emmott wrote:
>
> One important piece is that the symlinks you create don't 
> automatically delete when the recordings go away, so Plex thinks 
> they're still in your library and you get a lot of file not found errors.

https://www.mythtv.org/wiki/Mythlink.pl#Usage
-----
Note that when specifying |--filename| or |--chanid| and |--starttime|, 
deletion of old symlinks is suppressed. Therefore, anyone using this 
script in a user job or with the event system should still run the 
script occasionally without the |--filename| or |--chanid| and 
|--starttime| arguments to allow removal of links that referred to 
recordings since deleted. Alternatively, you may use a script triggered 
on "Recording deleted" and "Recording expired" to remove the specific 
link when its recording is removed.
-----

So, if you use the alternate option, you could have the link deleted 
immediately upon recording deletion/expiration, so that there's never a 
link to a non-existent recording.

Mike



More information about the mythtv-users mailing list