Skip to content
This repository was archived by the owner on Apr 3, 2022. It is now read-only.
This repository was archived by the owner on Apr 3, 2022. It is now read-only.

I had to transform my database a bit but I got it working... #1

@DesktopMasters

Description

@DesktopMasters

I am sharing this in case someone else ran into my issue and how I fixed it...

So on my Windows machine everything is stored under..
C:\Storage\Shows
C:\Storage\Shows - Complete
C:\Storage\Shows - Kids
etc....

On the linux box it was all stored under /Media
When I ran the script it would crash out with an error...
Traceback (most recent call last): File "../../fixdb.py", line 76, in <module> Series() File "../../fixdb.py", line 28, in Series directory, filename = row[0][3:].split("\\") ValueError: too many values to unpack

I solved this by editing the database on the Windows machine through Sonarr. I created empty placeholder folders on the C drive for C:\Shows, C:\Shows - Complete, etc... and then edited the database through Sonar pointing the shows at those folders. (Remember you can select multiple shows by click/checking the first and SHIFT/clicking/checking the last one. Once all my main folders were moved to the root of the C:\ I was able to then backup and run the script on the database with no trouble. It also goes without saying that I edited the script its self changing the variable and if statements to match my /Media folder as opposed to the original /media folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions