store folder path from filebot
Posted: 17 Jan 2018, 07:11
Hi,
so i have a script that calls filebot against the a file path that is store in a python variable
newpath = src_path.rsplit(".",1)[0] +".mp4" #The path that is its referring to /home28/saitoh183/Videos/French Movies/Icebreaker (2016)/The Icebreaker (2016) WEBDL-1080p.mp4
#################### FileBot ##################
logger.info('Filebot Processing Started...')
shell_call('filebot -rename {} --format {} --log-file {} --log=ALL --db TMDB --lang fr -non-strict',newpath,format_,log_file)
logger.info('Filebot Processing Finished...')
#################### FileBot ##################
Filebot Log:
i would want to store the new path /home28/saitoh183/Videos/French Movies/The Icebreaker (2016)/The Icebreaker (2016).mp4 in newpath so i can use it in the rest of my script.
Is this possible?
so i have a script that calls filebot against the a file path that is store in a python variable
newpath = src_path.rsplit(".",1)[0] +".mp4" #The path that is its referring to /home28/saitoh183/Videos/French Movies/Icebreaker (2016)/The Icebreaker (2016) WEBDL-1080p.mp4
#################### FileBot ##################
logger.info('Filebot Processing Started...')
shell_call('filebot -rename {} --format {} --log-file {} --log=ALL --db TMDB --lang fr -non-strict',newpath,format_,log_file)
logger.info('Filebot Processing Finished...')
#################### FileBot ##################
Filebot Log:
Code: Select all
INFO: Created user preferences directory.
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/home28/saitoh183/Videos/French Movies/Icebreaker (2016)/The Icebreaker (2016).mp4]
[MOVE] Rename [/home28/saitoh183/Videos/French Movies/Icebreaker (2016)/The Icebreaker (2016).mp4] to [/home28/saitoh183/Videos/French Movies/The Icebreaker (2016)/The Icebreaker (2016).mp4]
Processed 1 files
Is this possible?