Peter Jones 5a50b26662
plex: Don't overwrite primary database on restart
This change fixes two major issues:

  1. If you don't use SIGQUIT to stop Plex it will corrupt its own
     database :(

  2. Newer versions of Plex keep metadata in the
     `com.plexapp.plugins.library.db` database.  This is the file that
     we copy into `/var/lib/plex/.skeleton`.  If we copy the empty
     database on top of this one the user will lose their entire
     library metadata.  This change skips the copy if the file
     already exists.
2017-04-14 11:19:29 -07:00
..
2017-03-18 13:54:39 +01:00
2017-03-30 12:06:09 +02:00
2017-04-11 02:09:29 +03:00
2017-03-12 18:36:30 +01:00
2017-04-13 12:28:19 +02:00
2017-03-24 23:16:16 +01:00
2017-04-11 18:18:53 +02:00