coollector.com
https://www.coollector.com/

scanning files
https://www.coollector.com/viewtopic.php?f=1&t=2232
Page 1 of 2

Author:  tefftmeister [ Wed May 27, 2020 2:26 am ]
Post subject:  scanning files

I am trying to add tv episode mp4 files that I have stored on an external drive. I use iTunes, which stores the files in a folder with the series name and subfolders for each season. My question is how can I use the series named folder instead of the season folders to search when scanning my files?

Author:  (cool) Hector [ Wed May 27, 2020 8:40 am ]
Post subject:  Re: scanning files

When a file isn't correctly associated, you've probably noticed that there's a button to ask the app to use the folder name instead of the file name. If you want the app to always use the folder name, you can use the menu "Tools->Settings", then click the "advanced" tab and finally check "File scanning->Recognize folder name instead of file name".

Author:  tefftmeister [ Wed May 27, 2020 3:34 pm ]
Post subject:  Re: scanning files

I've done that, but then it only uses the season number folder, not the show folder.
For clarification, my folder/file structure is: Show name (folder)/Season number (folder)/Episode name (file). iTunes automatically creates the file structure based on the file metadata, so is there a way to bypass the season folder when scanning in Coollector?

Author:  (cool) Hector [ Wed May 27, 2020 5:01 pm ]
Post subject:  Re: scanning files

I could improve the algorithm this way: when the name of the folder is "season xx" (or "saison xx", or "staffel xx", or "temporada xx", or "stagione xx"), the algorithm uses the name of the parent folder. Would that solve your problem?

Author:  tefftmeister [ Wed May 27, 2020 6:16 pm ]
Post subject:  Re: scanning files

If that's something that can be done it would be awesome!

Thanks

Author:  (cool) Hector [ Wed May 27, 2020 6:19 pm ]
Post subject:  Re: scanning files

tefftmeister wrote:
If that's something that can be done it would be awesome!

It's just a few lines of code to add ;)

Author:  (cool) Hector [ Wed May 27, 2020 6:25 pm ]
Post subject:  Re: scanning files

Later today or maybe tomorrow, I'll give you a version so you can test. Do you have a Mac or a PC?

Author:  tefftmeister [ Wed May 27, 2020 7:06 pm ]
Post subject:  Re: scanning files

I'm on a Mac.

Author:  (cool) Hector [ Thu May 28, 2020 3:17 pm ]
Post subject:  Re: scanning files

Here's the app for Mac:
http://www.coollector.com/Coollector_Movie_Database.zip

Here's the exe for Windows:
https://www.coollector.com/Coollector.exe

It was a little more work than I expected, but it was worth it. In the process I've discovered and fixed a couple of issues. :V:

Please tell me if you still notice anything that could be improved.

Author:  tefftmeister [ Thu May 28, 2020 4:44 pm ]
Post subject:  Re: scanning files

I appreciate all your hard work on this. I installed the new app, but when I scan my file location, the program returns no results. Any suggestions?

Author:  (cool) Hector [ Thu May 28, 2020 4:54 pm ]
Post subject:  Re: scanning files

No result? Are the files already associated or are they not recognized? Do you mean that the files are not detected at all?

Author:  tefftmeister [ Thu May 28, 2020 4:58 pm ]
Post subject:  Re: scanning files

The files aren't recognized at all, when the dialogue box pops up to confirm matches, there's nothing listed.
I even tried reinstalling the previous version and got the same result.

Author:  (cool) Hector [ Thu May 28, 2020 5:18 pm ]
Post subject:  Re: scanning files

I'm very sorry, I've made a typo in my code, I know what's wrong. I'm creating a new app. Thank you very much for your patience.

Author:  (cool) Hector [ Thu May 28, 2020 5:40 pm ]
Post subject:  Re: scanning files

The new Mac version is available:
http://www.coollector.com/Coollector_Movie_Database.zip

I apologize once again, it was a case of "extreme bad luck". :doh:

Author:  tefftmeister [ Thu May 28, 2020 7:13 pm ]
Post subject:  Re: scanning files

It works! I did a test scan of a single tv show (I have a lot) and the program recognized the parent folder, matched the correct show and I now have the play icon in the episode list.

Thanks! You're awesome!

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/