taylorbobaylor / TrailerDownloader

Downloads all missing trailers for movies in your Plex library
GNU General Public License v3.0
42 stars 10 forks source link

Crashing #22

Closed Ozzie19 closed 2 years ago

Ozzie19 commented 2 years ago

Sorry to bother you but every time I run the .exe there is no issue, and then I enter the file directory for my movies. This directory has over 150 films, and every time I enter this directory in the terminal window crashes and the localhost stops responding. Am I doing something wrong or am I trying to force it to do more than it can handle? Thanks

taylorbobaylor commented 2 years ago

It should be able to handle way more than that. Can you show me the logs when it crashes?

Ozzie19 commented 2 years ago

Yep no problem. Sorry might sound stupid but where would I find the log?

taylorbobaylor commented 2 years ago

Haha no worries! It should be in the console that comes up when you run the exe

Ozzie19 commented 2 years ago

Thanks haha. I start up the application and the four info lines appear, but after that nothing else. As soon as I enter the information onto the online portal the console closes so I can't tell of anything else appears. The picture attached is all I see. Screenshot_20220604-172853_Remote Desktop.jpg

taylorbobaylor commented 2 years ago

Hmmmmmmm.... What are you entering in the setup screen?

Ozzie19 commented 2 years ago

The path to the directory which is located on the G drive, and for the language, I've tried entering the "en-US" and leaving it blank.

Its also worth mentioning a few times that I've done it it's pulled up a list of the movies but nothing else appears in the console and when I attempt to download the trailers for even just 1 the console dissapears again.

taylorbobaylor commented 2 years ago

Is G drive a network drive? So sometimes it does load the movies with the posters and sometimes not?

Ozzie19 commented 2 years ago

Yes I believe it is, I've mounted G drive as a shared drive as I use it directly for my emby server but it is physically connected to my pc.

The thing with the posters sometimes loading and not is true also.

taylorbobaylor commented 2 years ago

I can add some more error handling later on and you can try that version to see if we can find the problem. Might not be till tomorrow or later in the week. Never seen this issue so not sure what's happening.

Ozzie19 commented 2 years ago

Thank you, that would be very kind. Honestly take as much time as needed, I don't mean to create an issue for you as I know its more likely me doing something wrong and your time is valuable.

taylorbobaylor commented 2 years ago

No worries at all! I enjoy this 😀

Ozzie19 commented 2 years ago

I've managed to get them running side by side and take a quick print screen when something showed up in the log this time. but unfortunately it disappears too quick for me to be able to copy and paste it. Hope this helps Capture

taylorbobaylor commented 2 years ago

Nice! I'll check later when I'm home but looks like some Regex error when parsing through all the movies.

taylorbobaylor commented 2 years ago

It's having trouble getting the title of one of the movies. Are all your movies named in same format and can you provide an example?

Ozzie19 commented 2 years ago

image Took a quick snapshot of some of the films, not all in the exact same name format but pretty similar. Not sure if that's the issue or if it's a specific folder. If its the easiest course of action I can simply run a metadata editor on the directory, to change all the folder names into a common format.

taylorbobaylor commented 2 years ago

Yeah with Radarr you can rename all your folders and files like they need to be. But I can add some error handling so we can see which exact file is causing the issue. It's one of the files not the directory that's causing the issue I believe.

taylorbobaylor commented 2 years ago

I think I was able to replicate this by removing a movie from a directory and then having some other non media file type in the directory. I added some error handling that should log out the directory if you could give this one a try? Preview Release

Ozzie19 commented 2 years ago

Happy to try it out - preview release is returning an error 404 however.

Located it on your releases page - will update.

Ozzie19 commented 2 years ago

Thanks so much. As expected, the issue was of my own doing and your error checking sussed it out for me. I had 2 duplicate folders of the same movie, but one had no content in it - must've been a shell of a failed download. I have now corrected this and the program is working excellently.

Thanks very much again.

taylorbobaylor commented 2 years ago

Glad we got it working! Enjoy 😀