Git Product home page Git Product logo

Comments (5)

dominikheiss avatar dominikheiss commented on September 22, 2024

https://pastebin.com/FuKsu0GG

https://pastebin.com/p8f58gEm

from plexcache.

bexem avatar bexem commented on September 22, 2024

Is there anything that could cause permission changes to the files the script is trying to interact with? It is worth checking if there are any other software programs interacting with the same files and changing permissions. Additionally, ensure that the script itself has the correct permissions to access those files.
It might still be the script having some issues, I'm (very) slowly working towards an update, either way the file/folder operations the script use are basic phyton commands, nothing fancy.

from plexcache.

dominikheiss avatar dominikheiss commented on September 22, 2024

Yeah it could just be permissions.
I just did a fresh "chmod" and "chown" over the whole media library...but as I am also using the "folder caching" plugin, there could be some issues with that.

I also cleared the whole Plexcache folder to rule out other errors....

//Edit: Now it works...but sadly I changed too much at the same time to know exactly what it was :/
Thanks for your help!

from plexcache.

aormond avatar aormond commented on September 22, 2024

Hi! I just set up the script and I also got this error. I think I tracked down the cause of the error (at least in my case).

My 'plex_library_folder' is 'tv' and the corresponding 'nas_library_folder' is 'television'.

The file that the script said it couldn't find was ''/mnt/user/television/Ghosts (2019) [imdb-tt8594324]/Season 05/Ghosts (2019) - S05E01 - Fools [HDTV-1080p][AAC 2.0][h264]-uktelevision.mkv''. However, the actual file path is '/mnt/user/television/Ghosts (2019) [imdb-tt8594324]/Season 05/Ghosts (2019) - S05E01 - Fools [HDTV-1080p][AAC 2.0][h264]-uktv.mkv'.

So you'll notice the script replaced 'uktv' at the end of the filename with 'uktelevision', and so of course it couldn't find the file. So probably modify_file_paths() needs to be less aggressive about finding matches when it replaces the plex library folder.

from plexcache.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.