POSTBUCKET - where random posts in unrelated topics go
Re: Automated Media Center
If I don't want it to rename movies, do I just add --def movies=n ?
Re: Automated Media Center
Nope, with the AMC script you can't not rename movies. Unless you modify the script yourself.
Please read the FAQ and How to Request Help.
Re: Automated Media Center
Tnx, the series format works like a charm!rednoah wrote:1. Very easy:1.1. A bit more complicated if you take multi-episode files into consideration as well:Code: Select all
{s.pad(2)}x{e.pad(2)}
2. If there's only one movie file, {pi} will be undefined and unwind the whole {...} block. That's the difference between {" CD$pi"} and CD{pi} and if you use my examples it covers all these common cases.Code: Select all
{s.pad(2)}x{es.collect{ it.pad(2) }.join('-')}
But for the movie I can't figure out how to make it works, I can't find your examples. It's on this 3d?
J
Re: Automated Media Center
I don't know the issue with your movie format. What you seem to describe can't happen.
Maybe you mean this?
http://www.filebot.net/forums/viewtopic.php?f=5&t=806
Maybe you mean this?
http://www.filebot.net/forums/viewtopic.php?f=5&t=806
Please read the FAQ and How to Request Help.
Re: Automated Media Center
I never see that 3d
Btw, this's my actual movieformat
Film/{n} ({y}){\" Cd$pi\"}
So, I've one directory for all my movies.
My goal is, let assume that I've the film RED
So if I've one single file the name must be RED.avi
Else if I've 2 or more files the name must be RED - CD1.avi RED - CD2.avi ...
But I can't figure out how to do that
Btw, this's my actual movieformat
Film/{n} ({y}){\" Cd$pi\"}
So, I've one directory for all my movies.
My goal is, let assume that I've the film RED
So if I've one single file the name must be RED.avi
Else if I've 2 or more files the name must be RED - CD1.avi RED - CD2.avi ...
But I can't figure out how to do that
Re: Automated Media Center
1. What 3D? The default format has no special handling for 3D movies.
2. Work perfectly:
Did you read and understand http://www.filebot.net/forums/viewtopic.php?f=5&t=806 where it says all movie parts must be in the same input set?
2. Work perfectly:
Code: Select all
...
Parameter: movieFormat = Film/{n} ({y}){" Cd$pi"}
Input: D:\testdata\AMC-TEST\Green Snake.mp4
Input: D:\testdata\AMC-TEST\Red Cliff A.mp4
Input: D:\testdata\AMC-TEST\Red Cliff B.mp4
Green Snake.mp4 [series: null, movie: Green Snake (1993)]
Red Cliff A.mp4 [series: null, movie: Red Cliff (2008)]
Red Cliff B.mp4 [series: null, movie: Red Cliff (2008)]
Group: [tvs:null, mov:Green Snake (1993), anime:null] => [Green Snake.mp4]
Group: [tvs:null, mov:Red Cliff (2008), anime:null] => [Red Cliff A.mp4, Red Cliff B.mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\testdata\AMC-TEST\Green Snake.mp4]
[COPY] Rename [D:\testdata\AMC-TEST\Green Snake.mp4] to [D:\output\Film\Green Snake (1993).mp4]
Processed 1 files
Rename movies using [TheMovieDB]
Auto-detect movie from context: [D:\testdata\AMC-TEST\Red Cliff A.mp4]
Auto-detect movie from context: [D:\testdata\AMC-TEST\Red Cliff B.mp4]
[COPY] Rename [D:\testdata\AMC-TEST\Red Cliff A.mp4] to [D:\output\Film\Red Cliff (2008) Cd1.mp4]
[COPY] Rename [D:\testdata\AMC-TEST\Red Cliff B.mp4] to [D:\output\Film\Red Cliff (2008) Cd2.mp4]
...
Please read the FAQ and How to Request Help.
Re: Automated Media Center
3d was refered to the post
I think that the problem is the double quotes, you said that must be escaped with \
so my movieformat is
movieFormat=Film/{n} ({y}){\" Cd$pi\"}
and the log is
This's my full string, maybe I made another error
I think that the problem is the double quotes, you said that must be escaped with \
so my movieformat is
movieFormat=Film/{n} ({y}){\" Cd$pi\"}
and the log is
Code: Select all
Parameter: seriesFormat = Serie Tv/{n}/{n} - {s.pad(2)}x{es.collect{ it.pad(2) }.join('-')} - {t}
Parameter: movieFormat = Film/{n} ({y}){" Cd"}
Argument: /home/jorman/Scrivania/da
Input: /home/jorman/Scrivania/da/red.avi
red.avi [series: Hong Ling Jin Xia, movie: Red (2010)]
Exclude Series: Hong Ling Jin Xia
Group: [tvs:null, mov:Red (2010), anime:null] => [red.avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/home/jorman/Scrivania/da/red.avi]
[MOVE] Rename [/home/jorman/Scrivania/da/red.avi] to [/home/jorman/Scrivania/a/Film/Red (2010) Cd.avi]
Code: Select all
filebot -script fn:amc "$check_dir/" --output "$dest_dir" --action move --conflict override -non-strict --def music=n --log-file amc.log --def artwork=n --def "seriesFormat=Serie Tv/{n}/{n} - {s.pad(2)}x{es.collect{ it.pad(2) }.join('-')} - {t}" "movieFormat=Film/{n} ({y}){\" Cd$pi\"}" --lang it
Re: Automated Media Center
This is what gets passed into to FileBot:
Your shell is messing with the $name variables. You'll probably need to escape the \$ as well as the \"
Code: Select all
Parameter: movieFormat = Film/{n} ({y}){" Cd"}
Please read the FAQ and How to Request Help.
Re: Automated Media Center
Is the line the same for qBittorrent on Windows as uTorrrent?
Re: Automated Media Center
Probably not. You'll have to check the qBittorrent docs on how to call external programs on download complete.
Please read the FAQ and How to Request Help.
Re: Automated Media Center
Maybe, I should use Deluge for windows then. I see instructions for Linux, Mac what about the windows version?
Looks like need to set it to run a .bat file
Looks like need to set it to run a .bat file
Re: Automated Media Center
For that you'd have to port (rewrite) the Linux bash script to a Windows CMD bat script.
Please read the FAQ and How to Request Help.
Re: Automated Media Center
Hey guys I'm having a little problem that I can't wrap my mind around. I'm automatizing the file renaming with Transmission, this is the script I am using:
Which unfortunately isn't doing anything for me. The log reads as such:
Which is the standard output whenever filebot simply cannot find the file in question. Playing around by operating the script manually, I realized I can get filebot to work if I pass the proper file extension to ut_title i.e. "Parameter: ut_title = The Gruffalo 2009 DVDRip.mp4".
My problem is that ut_title is populated by the variable $TR_TORRENT_NAME which is passed by transmission WITHOUT file extension. Is there any way around this?
I've tried looking for clues in https://trac.transmissionbt.com/wiki/Scripts but it would seem that there's no variable assigned by Transmission with the file extension type. I thought of modifying the script by searching for the file extension type first using something like
but I feel that would get complicated too quickly if there are other files witht he same name in the folder (ex: "The Gruffalo 2009 DVDRip.nfo"). Any ideas?
Code: Select all
#!/bin/bash
filebot -script fn:amc --output "/media/" --log-file amc.log --action copy --conflict override -non-strict --def clean=y artwork=y "seriesFormat=HDD1/TV/{n}/{'S'+s}/{fn}" "movieFormat=HDD2/{n} ({y})/{n} ({y})" "musicFormat=HDD1/Music/{n}/{fn}" "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
Code: Select all
Parameter: clean = y
Parameter: artwork = y
Parameter: seriesFormat = HDD1/TV/{n}/{'S'+s}/{fn}
Parameter: movieFormat = HDD2/{n} ({y})/{n} ({y})
Parameter: musicFormat = HDD1/Music/{n}/{fn}
Parameter: ut_dir = /media/HDD2/DOWNLOADS/INCOMPLETE/The Gruffalo 2009 DVDRip
Parameter: ut_kind = multi
Parameter: ut_title = The Gruffalo 2009 DVDRip
Done ヾ(@⌒ー⌒@)ノ
My problem is that ut_title is populated by the variable $TR_TORRENT_NAME which is passed by transmission WITHOUT file extension. Is there any way around this?
I've tried looking for clues in https://trac.transmissionbt.com/wiki/Scripts but it would seem that there's no variable assigned by Transmission with the file extension type. I thought of modifying the script by searching for the file extension type first using something like
Code: Select all
echo "The Gruffalo 2009 DVDRip."* |awk -F . '{print $NF}'
Re: Automated Media Center
ut_title is completely ignored when looking up input files and is completely optional. It's used as email title for notifications and nothing else.
When I look at the log output it seems like FileBot can't find any files in the folder that is passed in:
ut_dir should be a folder, but if it's a path to a single video file amc will work with that as well.
For multi torrent files this should be the folder path. And for single files the exact path to the file.
If $TR_TORRENT_NAME doesn't give you the filename for single torrent files then I don't know neither. I guess at this point we need transmission-remote and the torrent hash to grab all the info. Not just that useless stuff that is passed in via the environment.
When I look at the log output it seems like FileBot can't find any files in the folder that is passed in:
Code: Select all
/media/HDD2/DOWNLOADS/INCOMPLETE/The Gruffalo 2009 DVDRip
For multi torrent files this should be the folder path. And for single files the exact path to the file.
Code: Select all
$TR_TORRENT_DIR/$TR_TORRENT_NAME
Please read the FAQ and How to Request Help.
Re: Automated Media Center
Tnx I'll tryrednoah wrote:This is what gets passed into to FileBot:Your shell is messing with the $name variables. You'll probably need to escape the \$ as well as the \"Code: Select all
Parameter: movieFormat = Film/{n} ({y}){" Cd"}
-
- Posts: 3
- Joined: 31 Jul 2013, 16:25
Re: How about sharing our format expressions?
Hi all,
I want to do something very simple. I want filebot to download subtitles in Hungarian for all movies in the current directory, and name it the same as the file name of the movie. My problem is that by default it seems to add the three letter language identifier to the file name. How can I prevent this. I need an exact match to the file name.
Thanks,
Istvan
I want to do something very simple. I want filebot to download subtitles in Hungarian for all movies in the current directory, and name it the same as the file name of the movie. My problem is that by default it seems to add the three letter language identifier to the file name. How can I prevent this. I need an exact match to the file name.
Thanks,
Istvan
Re: How about sharing our format expressions?
0. Download subtitles
1. Go to Rename panel
2. Drop subtitle files into the left list
3. Drop video files into the right list
4. Hit Rename!
PS: Completely wrong thread...
1. Go to Rename panel
2. Drop subtitle files into the left list
3. Drop video files into the right list
4. Hit Rename!
PS: Completely wrong thread...
Please read the FAQ and How to Request Help.
-
- Posts: 3
- Joined: 31 Jul 2013, 16:25
Re: How about sharing our format expressions?
I have a command line interface.rednoah wrote:0. Download subtitles
1. Go to Rename panel
2. Drop subtitle files into the left list
3. Drop video files into the right list
4. Hit Rename!
PS: Completely wrong thread...
Re: POSTBUCKET - where random posts in unrelated topics go
At this point it's most basic batch renaming. Any tool will do.
Here's a filebot script for that:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100
Here's a filebot script for that:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100
Please read the FAQ and How to Request Help.
-
- Posts: 3
- Joined: 31 Jul 2013, 16:25
Re: POSTBUCKET - where random posts in unrelated topics go
So I have to get it and rename it. I can't get it with the right name straight off.rednoah wrote:At this point it's most basic batch renaming. Any tool will do.
Here's a filebot script for that:
http://www.filebot.net/forums/viewtopic ... &t=5#p2100
Re: Automated Media Center
I found a little problem with "this settings", and I don't know how to resolve itChryses wrote:Tnx I'll tryrednoah wrote:This is what gets passed into to FileBot:Your shell is messing with the $name variables. You'll probably need to escape the \$ as well as the \"Code: Select all
Parameter: movieFormat = Film/{n} ({y}){" Cd"}
I've a script that launch filebot every time a movie file is created, but when I download a multi cd, the script make mistake!
Code: Select all
Parameter: movieFormat = Film/{n} ({y}){" Cd$pi"}
Code: Select all
Input: /media/TwoTera/Download/vari/red cd1.avi
red cd1.avi [series: Hong Ling Jin Xia, movie: Red (2010)]
Exclude Series: Hong Ling Jin Xia
Group: [tvs:null, mov:Red (2010), anime:null] => [red cd1.avi]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/media/TwoTera/Download/vari/red cd1.avi]
[MOVE] Rename [/media/TwoTera/Download/vari/red cd1.avi] to [/media/TwoTera/Multimedia/Film/Red (2010).avi]
Any chance that if, at the end of the filename it found cd1 etc etc, keep this information?
Re: POSTBUCKET - where random posts in unrelated topics go
If you don't know how bash works and that $ specifies variables i recommend writing your format in way that doesn't need $
Like this:
Like this:
Code: Select all
{' CD'+pi}
Please read the FAQ and How to Request Help.
Re: POSTBUCKET - where random posts in unrelated topics go
You're right, I mean, I can say that is a kind of miracle that all works!
Btw, not working
J
Btw, not working
Code: Select all
Parameter: movieFormat = Film/{n} ({y}){' CD'+pi}
Code: Select all
[MOVE] Rename [/media/TwoTera/Download/vari/red cd1.avi] to [/media/TwoTera/Multimedia/Film/Red (2010).avi]
Re: POSTBUCKET - where random posts in unrelated topics go
If you want {pi} to work you need to pass in both movie part files or the folder, not just -rename part1.avi
@see http://www.filebot.net/forums/viewtopic ... =806#p5169
@see http://www.filebot.net/forums/viewtopic ... =806#p5169
Please read the FAQ and How to Request Help.
Re: POSTBUCKET - where random posts in unrelated topics go
ok, tnx for the info.
Do you have any ideas to do that?
I mean imagine this scenario:
one cron job configured to launch filebot and watch one directory. So ther's a possibility that a file is composed of several parts, so cd1 is available before cd2. If, in this period of time, the script parse the folder, the "problem" is created.
Any genial idea?
Do you have any ideas to do that?
I mean imagine this scenario:
one cron job configured to launch filebot and watch one directory. So ther's a possibility that a file is composed of several parts, so cd1 is available before cd2. If, in this period of time, the script parse the folder, the "problem" is created.
Any genial idea?