Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Jav-It

The most comprehensive JAV video cataloging tool. · By jav-it

[SOLVED] Please add the option to preserve filenames and use the original filename as the directory

A topic by joeyjojojunior created Mar 02, 2021 Views: 812 Replies: 16
Viewing posts 1 to 12
(1 edit) (+1)

Hi,

Is possible to have the option of not renaming the videos / folders? I want to keep my video filenames the same so that I can keep seeding everything easily. As well, some of the directories have incredibly long names! I don't need to see the full title in Windows, I can get that through KODI.

I would love to have the option to preserve the original filename. So if the video is named "ASDF-123.mp4", it gets moved into the directory "\ASDF-123\" and all of the related files use "ASDF-123" as the root. I think this would be very handy! 

Currently all of the files would get renamed to "ASDF00123" and the directory name would become the video title, which is nice, but I don't want the names to change.

Since the actual video title would still be stored in the NFO file, it can be picked up properly by KODI/XMBC, but leaving the filenames alone would make managing the files & seeds so much easier.

Adding to this, I would also like a version where we could just keep the code of the file as its name and not the whole title because it gets difficult to arrange and find videos with long names.

Developer

Hi joeyjojojunior and tarunlohia29!

These are both great ideas! I will see if I can add a special switch so that if you wish to preserve your original file names, you can do so. Right now Jav-It uses the proper ID that websites like R18 uses to catalog videos. For example, "RBD00513" vs "RBD-513". The reason why those sites do so, is to avoid collisions (Duplicate videos which happen to have the same ID). If you really prefer using the informal DVD code, I can do it, but I would think the proper ID is better for catalog purposes? Let me know what you think, and I'll see if I can try to find some time to create a new version! (^_^);

I personally would prefer the option to have proper titles as well as the names/codes that we have given. That's because sometimes the file name is too long and it becomes difficult to find the actual code or to even arrange it sometimes. 
If you can please try to add this functionality.

Developer

@tarunlohia29: When you say proper titles, what exactly are you refering to? In regards to title length, I agree the default titles translated to english are quite a mouthfull. That's particularly why the rename function is present, so you can rename it to something more manageable if you choose to do so. It will automatically update the NFO files as well.

In regards to making the folder name equal the video name, there are three options:

- Leave the folder name and video name exactly as found before you started cataloging.

- Rename the folder and video name to the accurate catalog ID.

- Rename the folder and video name to the DVD ID, which may or may not be search accurate.

Which one are people really looking for? Personally I think option number 2 is the most accurate and cleanest, but I can do pretty much whatever people feel is better.

I think #2 is the most accurate and 'best' for cataloging as it eliminates the risk of having name collisions.

However #3 would be the most useful for me, as nearly everything I seed uses the DVD ID.

I could see #1 being useful too, if someone has a particular way of naming things or if they seed a lot of things where the filenames aren't the best for cataloging.

Is it feasible to have a commandline option to choose how to rename the folders? I think it makes sense that the default would be #2, since that's the most accurate and the safest option. But I'd love to be able to use #3 too.

Jav-It catalog "C:\" -nameformat ___

  • p: Proper ID ie: ASDF00123 (new default)
  • d: DVD ID ie: ASDF-123
  • f: Filename ie: use the existing filename as the foldername
  • t: Title ie: Use the Proper Title as the foldername (current)
Developer

Hey gang,

I am pleased to announce that I was able to add the following features specifically for you. By specifing the option "--alt-naming-method" on the command line, you can now tell Jav-It to overide the original naming conventions. Valid values are as follows:

"original": Use the original file name (without extension) exactly as written for both the folder name and video name. 

"dvd-id": Use the DVD ID code for both the folder name and video name.

"content-id": Use the content ID code for both the folder name and video name.

Please note that all supplementary files are also named accordingly to match your video name (for proper use in KODI/XBMC). In addition, note that pre-existing cataloged files under different naming conventions are not removed from your folders. You must remove them yourself or copy your videos out into a fresh directory and run the cataloging process clean. If anyone finds any bugs or issues, please do let me know and I would be happy to investigate.

This is great. Thank you soo much man. I really appreciate your hard work.
Can you please give the exact code that we need to enter for this in cmd. I am really bad at this.

Developer

Sure. For Windows it would be something like:

jav-it.exe catalog -d c:\RecentFiles\Videos --alt-naming-method="dvd-id"

Remember, if you previously cataloged your videos before using a different naming convention, those files will not get removed automatically. You need to manually remove them, or do a clean cataloging. Enjoy!

Hi everyone. Is this command still working? it used to work for me.. My version of JAV-IT is 1.7.4 *latest version. The older version used to work.

I tried to follow the new "commands" but it's not working for me. The command im typing is 

jav-it catalog /directory-naming-format:dvd-id  / -d F:\Download

But the error im getting:

2023/01/26 11:39:46 [FAIL] Your directory naming format must include at least one of the following tags: '{{DVD_ID}}' or '{{CONTENT_ID}}.

I really woud like to have the name of the folder and video as "ADN-100" for example as all of my collection conforms to that convention. 

Developer

Hi there. Your not specifying a valid directory naming format. You need at minimum {{DVD_ID}} or {{CONTENT_ID}} ^^;

Thank you. I may be misunderstanding. My files are named properly. Can you provide a sample script i can try. Thank you in advance! :)

Developer

Maybe try? 

jav-it catalog /directory-naming-format:"{{DVD_ID}}"  / -d F:\Download

Thank yo u so much! that worked perfectly. i feel very stupid

Thank you so much man

Hi everyone. Is this command still working? it used to work for me.. My version of JAV-IT is 1.7.4 *latest version. The older version used to work.

I tried to follow the new "commands" but it's not working for me. The command im typing is 

jav-it catalog /directory-naming-format:dvd-id  / -d F:\Download

But the error im getting:

2023/01/26 11:39:46 [FAIL] Your directory naming format must include at least one of the following tags: '{{DVD_ID}}' or '{{CONTENT_ID}}.


I really woud like to have the name of the folder and video as "ADN-100" for example as all of my collection conforms to that convention. 

Hello!  I just purchased and downloaded Jav-It v1.7.7 and it says "/directory-naming-format:       Unsupported in this version of Jav-It"

I'd really like to have my folders organized by DVD_ID.  Ami I missing something here?