Linux Question about functionality
#1
I have a headless machine with filebot on it and im having issues with calling FB from my python script. I am wondering if TMM could replace FB in my script and achieve the result im looking for.

All i need it to do is rename movies to the format ...\Movie (year)\Movie (year).ext within the parent folder via command line

ie:
/media/sdu1/home/saitoh183/private/Transfer/manage/movies/dualmovies/Veronica.Mars.2014.MULTi.TRUEFRENCH.720p.BluRay.x264-FrIeNdS.mkv\Veronica.Mars.2014.MULTi.TRUEFRENCH.720p.BluRay.x264-FrIeNdS.mkv

to

/media/sdu1/home/saitoh183/private/Transfer/manage/movies/dualmovies/Veronica Mars (2012)/Veronica Mars (2012).mkv

Can this be done?
Image

If my replies help you, please click on my reputation Image below :) thanks :)
#2
Sure.
Just fire up the GUI once, to configure renaming to your needs, and thebn use the commandline to update, scrape & rename your files...

See https://github.com/tinyMediaManager/tiny...-arguments
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#3
(2017-01-26, 16:16)myron Wrote: Sure.
Just fire up the GUI once, to configure renaming to your needs, and thebn use the commandline to update, scrape & rename your files...

See https://github.com/tinyMediaManager/tiny...-arguments

but this is headless server, so there is no GUI..i use SSH
Image

If my replies help you, please click on my reputation Image below :) thanks :)
#4
You could run it on a gui machine and copy settings there.
(Renaming to "title (year)" seems to be the default, though)

But you also need to setup the datasource and maybe other preferences, plugins and whatsoever.
You could edit the config.xml manually, but much easier done with GUI....
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#5
(2017-01-26, 16:49)myron Wrote: You could run it on a gui machine and copy settings there.
(Renaming to "title (year)" seems to be the default, though)

But you also need to setup the datasource and maybe other preferences, plugins and whatsoever.
You could edit the config.xml manually, but much easier done with GUI....

ok, i will install it on my Ubuntu and set it up, then i take the same config.xml and copy it to the headless? Also does this need root access to install because i dont have root access on the seedbox
Image

If my replies help you, please click on my reputation Image below :) thanks :)
#6
no, runs fine as user.
Just needs write rights in same directory, portable.
(and Java 7 or higher needs to be installed)
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#7
Can we force a language for the scraper via CLI?

I have some movies that can be french and i would like the rename to be the french title. I know i can set it in the GUI but i dont want it to default to french. if you cant set via CLI can you point to a different config.xml that would be configured to scrape in french?
Image

If my replies help you, please click on my reputation Image below :) thanks :)
#8
hmm.. not yet.
But to specify a different config.xml for CMD might be an option.
Have to think about it Smile
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image
#9
(2017-01-27, 10:30)myron Wrote: hmm.. not yet.
But to specify a different config.xml for CMD might be an option.
Have to think about it Smile

Smile sparked an idea Wink I think TMM has the potential to be a good alternative to filebot because right now when it comes to CLI for managing tvshows or movies, nothing really comes close. The only problem with Filebot is the learning curve and if you're new and not comfortable with CLI or basic programming, it can become overwhelming. TMM CLIM seems to keep it simple. So if it can stay simple but add some more flexibility, i think it can become a great alternative Smile

Keep up the good work Smile
Image

If my replies help you, please click on my reputation Image below :) thanks :)
#10
If you're keen to test, it's already in nightly build Smile
See new "-config <filename>" parameter in syntax.
(put the xml in /data/ folder)

Edit:
Although not intended, this switch also works for the GUI.
Have to think, if this "bug" might be a feature we want to keep ^^
tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
Image

Logout Mark Read Team Forum Stats Members Help
Question about functionality0