sqlite and plex media server


Recommended Posts

Hello,

 

I'm trying to delete all my playlists(because I got 360k of them) and also want to be able to import/export db of viewed tv shows and movies.


I get the error in the attached file.

 

I got unRAID 6.6.7 and Plexmediaserver/(linuxserver.io) docker.

 

So my question is how do I install sqlite in unraid\plex?

 


This is the guide I've been following > https://github.com/croneter/PlexKodiConnect/wiki/How-to-automatically-delete-playlists

 

e3736609ad0f792b81a505070ed35a1331586a00.png

 

If someone could take the time to make a post and explain abit of it to me, it'd be appreciated.

I read that it may be corrupted(is this why it times out?). Please explain either way so I can check.


Edit1: 

Updated to 6.7.1 and got this error

Traceback (most recent call last):
  File "delete.py", line 8, in <module>
    import sqlite3
  File "/usr/lib64/python3.6/sqlite3/__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/lib64/python3.6/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: libsqlite3.so.0: cannot open shared object file: No such file or directory

Edited by SkyHead
Link to comment

There is no SQLLite in NerdPack for me, I even have it updated too latest, but I restored 6.6.7.
Do I need to run the python script in the docker? or did I misunderstand?

 

root@x:/media/4K Shows# python delete.py
bash: python: command not found
root@x:/media/4K Shows# python2.7 delete.py
bash: python2.7: command not found
root@x:/media/4K Shows# python3.6 delete.py
bash: python3.6: command not found
root@x:/media/4K Shows#

 

How do I run a python script within the docker?

Edited by SkyHead
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.