INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: Osho on October 26, 2012, 01:25:20 pm

Title: how to automatically rename/move files after auto import?
Post by: Osho on October 26, 2012, 01:25:20 pm
Hi,

I really like how Carnac can automatically figure out various details about the video files. It works remarkably well for most TV Episodes and Movie videos that I have encountered. The TV Episodes are typically imported from one specific folder (where new TV episodes appear as they are recorded).

I typically like to organize the TV Shows in a specific structure - TV Shows\Show Name\Season <#>\Episode <#> - <Episode Title>.mkv. I have set-up a preset to move TV Episodes in this hierarchy by doing "Library Tools -> Rename, Move & Copy Files". I have to regularly run this preset on all new video files that get imported to properly organize these TV recordings.

I would like to automate this process by running some sort of "post auto-import" automated action. But, I cannot figure out how.

For example, I would like to say: after auto-import from a specific folder, if Carnac was successful and certain other conditions are met (e.g. Video files belong to TV Shows etc.), automatically apply the following preset for rename, move & copy files.

Is this possible to do? If not, such a capability would be cool. It could be more general to allow one to automatically organize one's pictures while they are imported, music etc.

Any help would be greatly appreciated.

Thanks,
Osho
Title: Re: how to automatically rename/move files after auto import?
Post by: glynor on October 26, 2012, 01:51:50 pm
I would like to automate this process by running some sort of "post auto-import" automated action. But, I cannot figure out how.

I don't think you can, but I'd really like some sort of tool like this too.  I'd want it for more than just Renaming files, though.

What I really want is something like SageJobQueue (http://forums.sagetv.com/forums/showthread.php?t=25147).  In particular, I'd like to be able to do this:

When new files of certain types (and categories) come in, I'd like to schedule them to be automatically processed by a variety of external scripts.  So, for example...

1. MC imports a new TS file recorded by my HD-PVR.
2. It gets imported immediately, and if [Series] is not equal to (certain transient shows I'm not going to keep anyway), it gets queued to be processed by...
3. A VideoReDo script that I have that does the stream quick fix and then remuxes the file to MKV.  Do this in the middle of the night.  (You could do commercial cutting and stuff like that as part of it too, if you wanted.)
4. Then (and this is the key part and hard part), MC's Library entry for that file gets changed from the original TS file to the new MKV file, and the old TS file gets deleted.

I could do steps 1-3 easily if I didn't want to import the files into MC immediately.  I could process the files in a different folder, and then move them to a watched folder when done.  But what about when I want to watch a show right after it finishes airing?  I want MC to see the files immediately, but I don't want to lose my library data about the files and import new duplicates when the MKV gets created.

Plus, I'd like to be able to "trigger" this command conditionally depending on metadata in MC's Library.  Like I said, I want to process The Walking Dead and Boardwalk Empire, but not BBC News or The Daily Show, which are just going to be deleted in a day or two anyway.
Title: Re: how to automatically rename/move files after auto import?
Post by: fitbrit on October 26, 2012, 09:51:02 pm

I would like to automate this process by running some sort of "post auto-import" automated action. But, I cannot figure out how.

+1. I have been thinking about my need for such a capability recently. In my case though, the 'mover' needs to be activated after proper tagging of the files. I think I'm going to need help with some expressions soon.
Title: Re: how to automatically rename/move files after auto import?
Post by: Lasse_Lus on October 27, 2012, 03:44:51 am
you can do a lot with these 2

Autotagger (apply data on playlists) and run commandline
http://yabb.jriver.com/interact/index.php?topic=51193.0

SQLmytunes (you can do almost anything with this)
http://yabb.jriver.com/interact/index.php?topic=56405.0

the link to autotagger is dead, but i have the file
Title: Re: how to automatically rename/move files after auto import?
Post by: Osho on October 31, 2012, 01:39:10 pm
I don't think you can, but I'd really like some sort of tool like this too.  I'd want it for more than just Renaming files, though.

What I really want is something like SageJobQueue (http://forums.sagetv.com/forums/showthread.php?t=25147).  In particular, I'd like to be able to do this:

When new files of certain types (and categories) come in, I'd like to schedule them to be automatically processed by a variety of external scripts.  So, for example...

SageJobQueue seems really interesting - it would be great to have something this flexible and programmable for MC18.

Thanks,
Osho