Closed eoghan2t9 closed 5 months ago
Which os are you using ? Also can you let me know if that happens with running library.sh.
I'm using ubuntu 20.04 and I'll check the manual run shortly
Okay, I recognize something now, on my first modification, there was a problem where when the complete scan was run for the second time, it moved them to the / folder. It was later rectified and fixed, so the one you're viewing is most likely an older scan. Remove them, and it will not occur again.
_destination_folder │ └── _shows │ ├── Season 1 ├── Season 2 ├── ... ├── Show A ├── Show B └── ...
Something like this ?
Uhh.. this is wierd. Can you create a new destination folder and try running the script again. Stop the script at the beginning itself and see the output of the files.
That shouldn't happen. I hope you haven't touched this line
https://github.com/sureshfizzy/CineSync/blob/main/Scripts/library.sh#L90
Also can we connect over telegram, so that I can resolve this faster. ID: @Black_Serpent
Not sure, my source folders don't have and haven't tested that. Did you try with any other folder which doesn't have in between?
I'm just wondering how it worked for you earlier and causing issues now. Can you run library.sh directly and see the symlink directory which is being created over there. Before running it, do remove the files present on the destination directory.
Edit: delete the logs folder as well..
Sorry Mb, i didn't check the name i thought it was eoghan 🥲 was busy in some other works.
So the problem might be with the which needs to be checked. If possible remove the from your org source directory and see if that works or I'll test from my end once I become available.
Alright, I'll check the flow and let you know.
@scumball I'm able to reproduce this issue, the problem lies within the usage of _, I'll drop a fix asap
@scumball pull the code now and run the script, it will work.
Closing this issue since all were resolved.
This morning I logged into my server and randomly did an ls -la on my root folder / and noticed that there was 6 new folders made named Season 1-6 and looked inside them and found random symlinks for various different series in the one folder outside what I have set with in the library.sh file so not sure how they got made.