-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QNAP NAS TS-251+]Import playlist into Plex Server #12
Comments
I'll look through the rest of what you said after we confirm my first thought is wrong. This exact same scenario just happened for the first time in an "Issues" request within the last week or two) Is it possible you have multiple plex accounts on the server and you are importing it into a different one? If so, the most recent source version has 2 flags to specify the plex user. |
Indeed, I saw the The thing is, I can't figure out the difference between
My Plex username that I use to sign in the website (here : https://www.plex.tv/sign-in/) or the dedicated client is The thing I know : in So should I type in :
Sorry for all those questions, I just want to make sure I understand clearly what you are talking about. |
|
Hello there,
By the way, is it necessary to restart the Plex server to see the added playlists ? Regards Antony |
Since you are using a NAS, it's probably a really good idea to restart it, yes. |
Ok, I just rebooted the NAS after throwing the commands quoted above, no playlist. I don't want to wast your time on that, I have no clue from where this "bug" may come from. Otherwise I'm ok to try any idea. |
Perhaps try closing plex server before doing the runs, then reopening it. It's possible it is force locking the sqlite file and the NAS isn't allowing another process to modify it. |
Good idea but it still successfully output with no result in Plex :/ |
i have the same issue (runs w/o errors but no playlist is created) with plex server 3.17.3. i've also tried:
is it possible that the DB structure is different in later versions? i'll spend some time digging into this problem later and will report any of my findings. thanks for the script though @dakusan . once we handle this bug i'm going to use it quite a bit :). |
Hello, @lpzantony Could you tell me which is the correct code for compare the playlist givin path with the path in the database? I tried every combination for path i now so it seems to be a struggle with the code itself @ynadji Did you found a solution and are able to import the Playlist? |
I just figured it out. /share/CACHEDEV1_DATA/Web/nextcloud/data/HMaximilian/files/Musik/Dizzee Rascal/Dizzee Rascal - Bonkers.mp3 The Importer changes ist like written above. @dakusan Could it be that Plex don´t recognize the playlist because the plex player don´t reads the Database back and just reads it? |
Ok so @9Mad-Max5 you did figured out how to extract Plex's playlists path using the code I shared? |
@lpzantony yes and no. Ok i just made it. |
Hi, luckyli I get everything working for my Enviroment. |
Hello,
My name is Antony and first of all, thanks for this project !
I am trying to use it on my Plex server running on a QNAP TS-251+. I know it it not an usual linux distro but with the correct paths, it should work.
1 - Plex directory layout
I had to change some things to make
PlexPlaylistImporter.py
work :I had to delete
Application Support
from thePlexBDPath
variable since the Qnap package of Plex Server seems to have a different directory layout then the one your script expects.2 - Symbolic links
I also struggled with the symbolic links made by the QNAP OS but printing what
MP.file
gave from the Plex database, i was abble to set the correct path in my.m3u
files.Here is the code I added to
PlexPlaylistImporter.py
(line 138) to determine the path used by Plex database:This way I could compare the path given by my playlist and the one stored in the Plex database. Of course, I deleted this code as soon I figured out the correct path.
I have
.m3u8
files ( from the PowerAmp Android app) to be precise but the patern is exactly the same : absolute path to the files and one file per line.Final playlist file
Here is a sample of my playlist files :
My issue
With my
.m3u8
modified with correct paths and the PlexPlaylistImporter.py file edited, i successfully imported the playlists according to the script output but I can't see any of my playlists in Plex, even after rebooting the NAS :I know my use case is quite unusual but I hoped that you may have an idea about why the playlists don't show up at all in Plex even with a successfull output from your script.
Regards
Antony
The text was updated successfully, but these errors were encountered: