POSTBUCKET - where random posts in unrelated topics go
- ashfallen0
- Power User
- Posts: 32
- Joined: 14 Jan 2012, 10:44
Re: Fully Automated Media Center
So, I'm liking the fully automated usage since my media server also runs PS3MS as a service, and the cleaner sorting is a bonus. I do need a little leading to the water so to speak, and here is why:
My current process:
I run utorrent with an RSS feed from showrss.kamorra.info, downloaded into a temp folder;
Utorrent dumps completed files into a "complete" folder;
PS3MS sees files and I watch TV.
I would like this process:
Utorrent loads RSS Feed;
Utorrent downloads tv shows;
Utorrent calls Filebot;
Filebot renames then moves/sorts files into "TV/NEW/{n} - {'S'+s.pad(2)}E{e.pad(2)} - {t} [{hpi}][{resolution} {vc}-{ac}]"
PS3MS sees files and I watch TV.
I have a problem with the second setup, and that is 3 of my favorite shows I would prefer them to use:
{n} - {airdate} - {t} [{hpi}][{resolution} {vc}-{ac}]
I don't know how to use the automation aspect of the utorrent.postprocess.groovy to choose only those 3 shows from herd and use a separate format?
My current process:
I run utorrent with an RSS feed from showrss.kamorra.info, downloaded into a temp folder;
Utorrent dumps completed files into a "complete" folder;
PS3MS sees files and I watch TV.
I would like this process:
Utorrent loads RSS Feed;
Utorrent downloads tv shows;
Utorrent calls Filebot;
Filebot renames then moves/sorts files into "TV/NEW/{n} - {'S'+s.pad(2)}E{e.pad(2)} - {t} [{hpi}][{resolution} {vc}-{ac}]"
PS3MS sees files and I watch TV.
I have a problem with the second setup, and that is 3 of my favorite shows I would prefer them to use:
{n} - {airdate} - {t} [{hpi}][{resolution} {vc}-{ac}]
I don't know how to use the automation aspect of the utorrent.postprocess.groovy to choose only those 3 shows from herd and use a separate format?
Re: Fully Automated Media Center
Hi,
I just discovered filebot and this script is exactly what i'm looking for.
One small problem: I don't save my tv series to a subfolder. They are saved by series name to the root of an external drive:
F:/Name/Season N/Name - S00E00 - Title.ext
This script uses:
$output/TV Shows/Name/Season N/Name - S00E00 - Title.ext
I guess I need:
$output/Name/Season N/Name - S00E00 - Title.ext
I've tried unsuccessfully to edit the script to remove the "TV Shows" folder but I don't understand the scripting language enough yet to make this simple change.
Can anyone help?
tks
I just discovered filebot and this script is exactly what i'm looking for.
One small problem: I don't save my tv series to a subfolder. They are saved by series name to the root of an external drive:
F:/Name/Season N/Name - S00E00 - Title.ext
This script uses:
$output/TV Shows/Name/Season N/Name - S00E00 - Title.ext
I guess I need:
$output/Name/Season N/Name - S00E00 - Title.ext
I've tried unsuccessfully to edit the script to remove the "TV Shows" folder but I don't understand the scripting language enough yet to make this simple change.
Can anyone help?
tks
Re: Fully Automated Media Center
You can change the format in the script, just lookup the format parameter of the rename function. e.g. rename(..., format:'''...''', ...). Which files to process you can also easy adjust in the script by ignoring invalid files (which is already done for certain tags), just modify the forceIgnore(file) { ... } function.ashfallen0 wrote: I have a problem with the second setup, and that is 3 of my favorite shows I would prefer them to use:
{n} - {airdate} - {t} [{hpi}][{resolution} {vc}-{ac}]
I don't know how to use the automation aspect of the utorrent.postprocess.groovy to choose only those 3 shows from herd and use a separate format?
Re: Fully Automated Media Center
Find this snipped and remove TV Shows/bixtool wrote:I've tried unsuccessfully to edit the script to remove the "TV Shows" folder but I don't understand the scripting language enough yet to make this simple change.
Code: Select all
format:'TV Shows/...Re: Fully Automated Media Center
Many thanks. I took a closer look at the error ouput and I discovered "filenotfound" errors. I had edited and renamed the script to test.groovy. That is why none of my edits worked earlier. Filebot was searching online for test.groovy. I added -script "path" and it worked mostly but htpc.groovy was not found. I did see it in the online script database. Can local scripts be included in the command line? I cannot find settings anywhere in the filebot programFind this snipped and remove TV Shows/Code: Select all
format:'TV Shows/...
Re: Fully Automated Media Center
Code: Select all
filebot -script "C:\Program Files\Filebot\watcher.groovy"
Last edited by sam829 on 09 Sep 2012, 00:23, edited 1 time in total.
Re: Fully Automated Media Center
hi,sam829 wrote:Just add the full path to 'watcher.groovy'.Code: Select all
filebot -script fn:C:\Program Files\Filebot\watcher.groovy
that doesn't seem to work for me on win 7.
This works:
Code: Select all
filebot -script "c:/tv/test.groovy" It also appears I need " " around the path.
Re: Fully Automated Media Center
I fixed my original post. I had 100+ tabs open should payed closer attention.
http://filebot.sourceforge.net/cli.html
Code: Select all
filebot -script "path/to/script.groovy" args...Re: Fully Automated Media Center
Very sophisticated script. Works great. It may take some time to work out all the nuances, but it will be amazing.
Thanks for sharing rednoah!
Thanks for sharing rednoah!
Re: Fully Automated Media Center
Well, there might still be some issues for some corner cases, but it should already be worked out mostly. It's a bit of collaborative effort, just let me know when things don't work as expected.
Re: Fully Automated Media Center
Read this:bixtool wrote:Can I drop the 'fn:' and use the windows unc directory style somehow? 'c:\tv' instead of 'c:/tv'
It also appears I need " " around the path.
http://filebot.sourceforge.net/forums/v ... f=4&t=5#p5
* filepath (slash/blackslash doesn't matter) or http url (only slash obviously)
* fn:name is for the default online scripts
* g:script is for inline scripts
* system:in is for piping the script into stdin
Note: Some scripts may include(...) other scripts. In that case the include name is resolved relatively, but you can write a local script and include online scripts via url or fn:name schemes.
-
greenythebeast
- Posts: 9
- Joined: 14 Sep 2012, 02:49
Re: Fully Automated Media Center
Is there anyway to make this work with Serviio?
Re: Fully Automated Media Center
What's not working with serviio? Just initiating a rescan is plex/xbmc specific. If you find out how to do that with serviio I can add that.
Re: Fully Automated Media Center
Hi!
I first used this script yesterday and everything worked fine from uTorrent.
Today, however I got a new movie and I get this result:
and the movie isn't extracted or copied or anything.
The same happens if I use the manual command-line thingy.
Any ideas?
Thanx
I first used this script yesterday and everything worked fine from uTorrent.
Today, however I got a new movie and I get this result:
Code: Select all
Parameter: xbmc = 192.168.0.13
Parameter: subtitles = y
Parameter: artwork = y
Parameter: ut_dir = C:\Users\XXXXX\Downloads\Unsorted\The.Cabin.In.The.Woods.2011
.720p.BluRay.x264-HDEX
Parameter: ut_file = h-citw720p.nfo
Parameter: ut_kind = multi
Parameter: ut_title = The.Cabin.In.The.Woods.2011.720p.BluRay.x264-HDEX
Parameter: ut_label =
Parameter: ut_state = 5
Notify XBMC: 192.168.0.13
Done ?(?????)?
The same happens if I use the manual command-line thingy.
Any ideas?
Thanx
Re: Fully Automated Media Center
Looks like it can't find any archives or video files. What files are in that folder?
Re: Fully Automated Media Center
Rar files from .rar, r00, r01 ... r93 as well as an .nfo and an .sfv
Re: Fully Automated Media Center
Tested with .rar, r00, r01 ... r93 and works perfectly fine. Latest FileBot with latest utorrent-postprocess definitely works as expected. Run some tests yourself to check what's wrong with the input or if you made some modifications that make it skip the extract() step.
Re: Fully Automated Media Center
For all other films I've tried, the script has worked perfectly, whether RARed or not.
I'm using the online script so I haven't made any changes.
I'm thinking that maybe it has something to do with the file path. Are there any know issues with spaces or too many characters or something?
I'm using the online script so I haven't made any changes.
I'm thinking that maybe it has something to do with the file path. Are there any know issues with spaces or too many characters or something?
Re: Fully Automated Media Center
Send me the full paths to all the files and I'll try to recreate it? There shouldn't be any problems with perfectly normal input data like this.
PS: You can easy copy files names into the clipboard / text file via List panel (kinda like ls > files.txt)
PS: You can easy copy files names into the clipboard / text file via List panel (kinda like ls > files.txt)
Re: Fully Automated Media Center
Hi, I don't know why but mine has stopped fetching artwork, I've tried --def artwork=y and artwork=true to no avail from cmdline usage
Good work btw, I'm glad I found this software
Good work btw, I'm glad I found this software
Re: Fully Automated Media Center
--def artwork=y should work. What's the console output? Maybe it just says it can find any artwork or that it can find that particular series/movie?
Re: POSTBUCKET - where random posts in unrelated topics go
Hello!
Sorry for not getting back to you after you've been so helpful. I've been away. I will try to get the full paths and post them here.
Thanks!
Sorry for not getting back to you after you've been so helpful. I've been away. I will try to get the full paths and post them here.
Thanks!
Re: POSTBUCKET - where random posts in unrelated topics go
Hello again.
Couldn't get List to work, but here is a list of all the file names:
(the weird ÿ is supposed to be blank space)
And they are all located under C:\Users\Erik\Downloads\Unsorted\The.Cabin.In.The.Woods.2011.720p.BluRay.x264-HDEX
Couldn't get List to work, but here is a list of all the file names:
Code: Select all
2012-09-19 22:28 <DIR> .
2012-09-19 22:28 <DIR> ..
2012-09-14 20:13 17ÿ654 h-citw720p.nfo
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r00
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r01
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r02
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r03
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r04
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r05
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r06
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r07
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r08
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r09
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r10
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r11
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r12
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r13
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r14
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r15
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r16
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r17
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r18
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r19
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r20
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r21
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r22
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r23
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r24
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r25
2012-09-14 20:13 50ÿ000ÿ000 h-citw720p.r26
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r27
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r28
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r29
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r30
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r31
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r32
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r33
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r34
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r35
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r36
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r37
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r38
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r39
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r40
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r41
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r42
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r43
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r44
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r45
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r46
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r47
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r48
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r49
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r50
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r51
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r52
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r53
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r54
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r55
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r56
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r57
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r58
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r59
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r60
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r61
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r62
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r63
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r64
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r65
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r66
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r67
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r68
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r69
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r70
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r71
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r72
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r73
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r74
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r75
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r76
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r77
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r78
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r79
2012-09-14 20:14 50ÿ000ÿ000 h-citw720p.r80
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r81
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r82
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r83
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r84
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r85
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r86
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r87
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r88
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r89
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r90
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r91
2012-09-14 20:15 50ÿ000ÿ000 h-citw720p.r92
2012-09-14 20:15 41ÿ838ÿ245 h-citw720p.r93
2012-09-14 20:33 50ÿ000ÿ000 h-citw720p.rar
2012-09-14 20:33 2ÿ375 h-citw720p.sfvAnd they are all located under C:\Users\Erik\Downloads\Unsorted\The.Cabin.In.The.Woods.2011.720p.BluRay.x264-HDEX
Re: POSTBUCKET - where random posts in unrelated topics go
Code: Select all
Parameter: ut_kind = multi
Parameter: ut_dir = E:\testdata\Unsorted\The.Cabin.In.The.Woods.2011.720p.BluRay.x264-HDEX
SevenZipException: Archive file can't be opened with none of the registered codecs
Done ヾ(@⌒ー⌒@)ノRe: [MANUAL] Configure Sublight login
Where are the configured username and password stored?
Answer: On linux: ~/java/.userPrefs/
Answer: On linux: ~/java/.userPrefs/
Re: [MANUAL] Configure Sublight login
It's using Java Preferences. On Windows it'll save stuff to the registry, Linux & Mac it'll be managed in properties files. The portable version will always use a properties file.
@see
http://docs.oracle.com/javase/7/docs/ap ... ences.html
* In anycase it's in clear text and easily readable.
@see
http://docs.oracle.com/javase/7/docs/ap ... ences.html
* In anycase it's in clear text and easily readable.
Re: POSTBUCKET - where random posts in unrelated topics go
Yeah, like I said it has worked perfectly well with all other films and series. Since this is the only problem I've had, it doesn't really matter. Thank you for the help anyway!
Prevent cmd from stealing the focus
If you're using this script with µTorrent on Windows you might find it annoying that it'll popup a cmd window stealing the focus each time. You can fix this by calling programs like this: cmd.exe /c start /min ... ^& exit
Code: Select all
cmd.exe /c start /min filebot -script fn:utorrent-postprocess --output "X:/path/to/media" --action copy --conflict override -non-strict --def subtitles=y artwork=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S" ^& exitRe: Fully Automated Media Center
Hi,
I have been using your script successfully now for several week, but recently problems have developed.
Now:
Utorrent appears to execute the my code on download completion but no files are processed (a window flashes too quickly to read).
However:
When I execute the code copied from Utorrent's logger screen at the command prompt, the script executes perfectly. All files are processed.
Here is my code:
Any ideas?
How can I setup a detailed log for Filebot so I can determine why the script fails?
Thanks
B
I have been using your script successfully now for several week, but recently problems have developed.
Now:
Utorrent appears to execute the my code on download completion but no files are processed (a window flashes too quickly to read).
However:
When I execute the code copied from Utorrent's logger screen at the command prompt, the script executes perfectly. All files are processed.
Here is my code:
Code: Select all
filebot -script "c:/tv/test.groovy" --output "j:" --action copy --conflict override -non-strict --def subtitles=y artwork=y [email protected]:pass123 [email protected] "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"How can I setup a detailed log for Filebot so I can determine why the script fails?
Thanks
B
Re: Fully Automated Media Center
Try redirecting the output into by using a cmd like this:
Code: Select all
filebot -version 2>&1 >> log.txtRe: Fully Automated Media Center
Hi,
The script fails from utorrent, but works from the command line. The Filebot directory is added to my path statement. I even ran utorrent as an Administrator. I see the cmd window pop up when a download completes and the script is executed but it closes too quickly to see any errors.
Any reason why the script fails from utorrent, but when the logger line is pasted to a command window it works every time?
B
The script fails from utorrent, but works from the command line. The Filebot directory is added to my path statement. I even ran utorrent as an Administrator. I see the cmd window pop up when a download completes and the script is executed but it closes too quickly to see any errors.
Any reason why the script fails from utorrent, but when the logger line is pasted to a command window it works every time?
B
Re: Fully Automated Media Center
Until we manage to see that console output I also wouldn't know what's going wrong.
Redirect console output into a file like I should you in my last post. That way the console output gets written to file instead of the console window. Then you can check that file to see the error messages.
Redirect console output into a file like I should you in my last post. That way the console output gets written to file instead of the console window. Then you can check that file to see the error messages.
Re: Fully Automated Media Center
Hi all,
sorry i've been trying to get my head around this and not having a whole lot of success...
Below is the exact line that I have pasted into uTorrent;
filebot -script fn:utorrent-postprocess --output "R:/-=To Sort=-/_Renamed" --action copy --conflict override -non-strict --def subtitles=y artwork=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
And I downloaded and copied the utorrent-postprocess.groovy script and pasted into the filebot install dir changing the first line to match the above specifying my "R:/-=To Sort=-/_Renamed" which is where i want everything to be extracted and renamed then dumped into.
NOTE// I currently have everything set to download to a "_Downloading" folder which then moves to a "_Completed" folder once the download is complete, if that is causing any problems...
I tried deleting my "R:/**" path and replacing it with log.txt but I could never find any log file being generated to find the issue...
Any help is GREATLY appreciated.
Thanks,
sorry i've been trying to get my head around this and not having a whole lot of success...
Below is the exact line that I have pasted into uTorrent;
filebot -script fn:utorrent-postprocess --output "R:/-=To Sort=-/_Renamed" --action copy --conflict override -non-strict --def subtitles=y artwork=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
And I downloaded and copied the utorrent-postprocess.groovy script and pasted into the filebot install dir changing the first line to match the above specifying my "R:/-=To Sort=-/_Renamed" which is where i want everything to be extracted and renamed then dumped into.
NOTE// I currently have everything set to download to a "_Downloading" folder which then moves to a "_Completed" folder once the download is complete, if that is causing any problems...
I tried deleting my "R:/**" path and replacing it with log.txt but I could never find any log file being generated to find the issue...
Any help is GREATLY appreciated.
Thanks,
Re: Fully Automated Media Center
1. You don't need to download anything, -script fn:name means it'll download/update the script automatically. No need to change the script.
2. --output <folder> is where files go to. Standard output is written to the console, you can pipe that into a file if you want.
3. You literally ONLY need to follow the steps. Most importantly that filebot is installed properly and that it'll run in console.
4. You can debug things by manually running the command from the console and see what happens. uTorrent somewhere has a log what commands it calls with exactly what arguments. You can copy that and try it.
2. --output <folder> is where files go to. Standard output is written to the console, you can pipe that into a file if you want.
3. You literally ONLY need to follow the steps. Most importantly that filebot is installed properly and that it'll run in console.
4. You can debug things by manually running the command from the console and see what happens. uTorrent somewhere has a log what commands it calls with exactly what arguments. You can copy that and try it.
Re: Fully Automated Media Center
Thanks for such a quick reply.
Ok thanks for letting me know that.
If i run manually from console specifying an input folder it will work, when I run from uTorrent only removing the input information as it states that the command will interpret the input directly from uTorrent the console opens but closes before I can see whats its doing and it doesn't complete any task.
Sorry to be such a pain.
Many thanks for your help already.
DeeG
Ok thanks for letting me know that.
If i run manually from console specifying an input folder it will work, when I run from uTorrent only removing the input information as it states that the command will interpret the input directly from uTorrent the console opens but closes before I can see whats its doing and it doesn't complete any task.
Sorry to be such a pain.
Many thanks for your help already.
DeeG
Re: Fully Automated Media Center
That's why you have to >> REDIRECT OUTPUT INTO A FILE <<
Try this. See what happens. It's the very basics of using the cmdline. You can do this with any command.
filebot -version 2>&1 >> log.txt
YOU CAN PRINT CONSOLE OUTPUT TO A FILE INSTEAD OF THE CONSOLE VERY EASILY.
Try this. See what happens. It's the very basics of using the cmdline. You can do this with any command.
filebot -version 2>&1 >> log.txt
YOU CAN PRINT CONSOLE OUTPUT TO A FILE INSTEAD OF THE CONSOLE VERY EASILY.
-
warioguy64
- Posts: 4
- Joined: 01 Oct 2012, 11:19
Re: Fully Automated Media Center
Hi,
Everything works perfectly for me but my xbmc window still minimizes when the command prompt is in use. This is after I added the fix by calling programs like this: cmd.exe /c start /min ... ^& exit
The command prompt window does start minimized but my xbmc minimizes too.
I want to add that if i use my remote for itunes to play music that xbmc also minimizes when I do this.
I use Windows 7 64x
xbmc Eden v11
Great scipt and thanks in advance.
Everything works perfectly for me but my xbmc window still minimizes when the command prompt is in use. This is after I added the fix by calling programs like this: cmd.exe /c start /min ... ^& exit
The command prompt window does start minimized but my xbmc minimizes too.
I want to add that if i use my remote for itunes to play music that xbmc also minimizes when I do this.
I use Windows 7 64x
xbmc Eden v11
Great scipt and thanks in advance.
Re: Fully Automated Media Center
On the utorrent forums I read that you can make this work by running a .vbs script from utorrent and then kicking off the filebot call from the .vbs script. If anybody gets that working please share. 
Re: Fully Automated Media Center
First bit of code is a VB script, .vbs extension. You ONLY need to modify the location of your batch file.
Ex.) C:\Program Files\Filebot\tvdirwatcher.bat <-- Change this to the location of your batch file
Second bit of code is a .bat file. Only being displayed as an example.
Very simple and works perfectly. If you have any questions at all please feel free to ask away!
One more thing, consider supporting RedNoah
I wouldn't have been so motivated to figure out the above problem if it wasn't for him.
Ex.) C:\Program Files\Filebot\tvdirwatcher.bat <-- Change this to the location of your batch file
Code: Select all
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Program Files\Filebot\tvdirwatcher.bat" & Chr(34), 0
Set WshShell = Nothing
Code: Select all
filebot -rename M:/TVComplete --output \\ds212/TV --format "{n}/Season {s}/{n} {sxe} {t}" -non-strict --db TheTVDB
One more thing, consider supporting RedNoah
Re: Fully Automated Media Center
hi rednoah,
When I add to my utorrent Run Program command and a download completes, I get an empty log file.
But when I run the same command, pasted from utorrents logger tab, I get all the info as it is processed
Is there a switch for filebot.cmd to leave the command prompt open when the script completes?
B
When I add
Code: Select all
>>c:/log.log But when I run the same command, pasted from utorrents logger tab, I get all the info as it is processed
Code: Select all
Parameter: subtitles = y
Parameter: artwork = y
Parameter: gmail = [email protected]:pass123
Parameter: mailto = [email protected]
Parameter: ut_dir = C:\TV\Incomplete\[ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE
Parameter: ut_file = dexter.s07e01.720p.hdtv.x264-evolve.nfo
Parameter: ut_kind = multi
Parameter: ut_title = [ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE
Parameter: ut_label =
Parameter: ut_state = 5
Read archive [dexter.s07e01.720p.hdtv.x264-evolve.rar] to [C:\TV\Incomplete\[ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE\dexter.s07e01.720p.hdtv.x264-evolve]
Extracting files [C:\TV\Incomplete\[ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE\dexter.s07e01.720p.hdtv.x264-evolve\Dexter.S07E01.720p.HDTV.x264-EVOLVE.mkv]
Input: C:\TV\Incomplete\[ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE\dexter.s07e01.720p.hdtv.x264-evolve\Dexter.S07E01.720p.HDTV.x264-EVOLVE.mkv
Group: [tvs:Dexter] => [Dexter.S07E01.720p.HDTV.x264-EVOLVE.mkv]
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Looking up subtitles by filehash via Sublight
Searching for [Dexter] at [OpenSubtitles]
Searching for [Dexter] at [Sublight]
Searching for [Dexter] at [Subscene]
Matched [Dexter.S07E01.720p.HDTV.x264-EVOLVE.mkv] to [Dexter.S07E01.720p.HDTV.x264-EVOLVE] via filename
Fetching [Dexter.S07E01.720p.HDTV.x264-EVOLVE]
Export [Dexter.S07E01.720p.HDTV.x264-EVOLVE.srt] as: SubRip / UTF-8
Writing [Dexter.S07E01.720p.HDTV.x264-EVOLVE.srt] to [Dexter.S07E01.720p.HDTV.x264-EVOLVE.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [Dexter]
Fetching episode data for [Dexter]
Auto-detected query: [Dexter]
Fetching episode data for [Dexter]
Stripping invalid characters from new path: Dexter/Season 7/Dexter.S07E01.Are You...?
Stripping invalid characters from new path: Dexter/Season 7/Dexter.S07E01.Are You...?
[COPY] Rename [C:\TV\Incomplete\[ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE\dexter.s07e01.720p.hdtv.x264-evolve\Dexter.S07E01.720p.HDTV.x264-EVOLVE.mkv] to [j:\Dexter\Season 7\Dexter.S07E01.Are You....mkv]
[COPY] Rename [C:\TV\Incomplete\[ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE\dexter.s07e01.720p.hdtv.x264-evolve\Dexter.S07E01.720p.HDTV.x264-EVOLVE.eng.srt] to [j:\Dexter\Season 7\Dexter.S07E01.Are You....srt]
Processed 2 files
Fetching artwork for j:\Dexter\Season 7 from TheTVDB
Fetching j:\Dexter\poster.jpg => {id=919566, BannerMirror=http://thetvdb.com/banners/, BannerPath=posters/79349-24.jpg, BannerType=poster, BannerType2=680x1000, Language=en, Rating=10.0000, RatingCount=1}
Fetching j:\Dexter\banner.jpg => {id=18143, BannerMirror=http://thetvdb.com/banners/, BannerPath=graphical/79349-g7.jpg, BannerType=series, BannerType2=graphical, Language=en, Rating=7.0303, RatingCount=33}
Fetching j:\Dexter\fanart.jpg => {id=30362, BannerMirror=http://thetvdb.com/banners/, BannerPath=fanart/original/79349-16.jpg, BannerType=fanart, BannerType2=1920x1080, Colors=|149,111,92|169,68,82|196,73,66|, Language=en, Rating=7.3488, RatingCount=43, SeriesName=false, ThumbnailPath=_cache/fanart/original/79349-16.jpg, VignettePath=fanart/vignette/79349-16.jpg}
Fetching j:\Dexter\Season 7\poster.jpg => {id=919409, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasons/79349-7-4.jpg, BannerType=season, BannerType2=season, Season=7, Language=en, Rating=8.0000, RatingCount=2}
Banner not found: j:\Dexter\Season 7\banner.jpg / season:seasonwide
Fetching j:\Dexter\clearart.png => {type=clearart, id=4980, url=http://fanart.tv/fanart/tv/79349/clearart/4980/D_79349 (3).png, lang=en, likes=4}
Fetching j:\Dexter\logo.png => {type=clearlogo, id=20958, url=http://fanart.tv/fanart/tv/79349/clearlogo/20958/dexter-5057573260826.png, lang=en, likes=5}
Fetching j:\Dexter\landscape.jpg => {type=tvthumb, id=5012, url=http://fanart.tv/fanart/tv/79349/tvthumb/5012/D_79349 (10).jpg, lang=en, likes=1}
Fetching j:\Dexter\Season 7\landscape.jpg => {type=seasonthumb, id=18514, url=http://fanart.tv/fanart/tv/79349/seasonthumb/18514/dexter-4fc8e9fa79bf8.jpg, lang=en, likes=0, season=7}
[mail] Sending email: [FileBot] [ www.Speed.Cd ] - Dexter.S07E01.720p.HDTV.x264-EVOLVE
[mail] Sent email with 0 attachments
Done ?(?????)?Is there a switch for filebot.cmd to leave the command prompt open when the script completes?
B
Re: Fully Automated Media Center
This script (and app) is awesome.
Is there any way this can output to different paths (or drives) for Movies and TV shows?
something like this:
Is there any way this can output to different paths (or drives) for Movies and TV shows?
something like this:
Code: Select all
filebot -script fn:utorrent-postprocess --outputMovie "X:/Movies" --outputTV "Y:/TV" ...
Re: Fully Automated Media Center
hi Rednoah,
I discovered my problem was windows 7 64bit related.
I added a "pause" to filebot.cmd and discovered java was not invoking at the command line for 32bit applications.
I only had 64bit java installed. I installed the 32bit java jre as well and now everything works as advertised.
Sorry for all the confusion
B
I discovered my problem was windows 7 64bit related.
I added a "pause" to filebot.cmd and discovered java was not invoking at the command line for 32bit applications.
I only had 64bit java installed. I installed the 32bit java jre as well and now everything works as advertised.
Sorry for all the confusion
B
Re: Fully Automated Media Center
I'm not sure about the script, but you can run two instances of utorrent: one for movie downloads and one for tv downloads. You can specify different Run Program strings for each application.RekiM wrote:This script (and app) is awesome.
Is there any way this can output to different paths (or drives) for Movies and TV shows?
something like this:
Code: Select all
filebot -script fn:utorrent-postprocess --outputMovie "X:/Movies" --outputTV "Y:/TV" ...
I've used it in the past.
I have this from my notes... not sure of the source:
I believe I even ran each as a different user to keep things separated in windows.Create a shortcut and add /RECOVER with a space at the end for the target....
ex: "C:\Program Files\uTorrent\uTorrent 3.2\uTorrent\uTorrent.exe" /RECOVER
For each instance you must have a different port specified in uTorrent and forwarded in the router...
You will also need to check or manually add firewall rules for each version.
Run the shortcut and you should be good to go.
B
Re: Fully Automated Media Center
Do you have 32bit as well as 64bit java installed?gmcclelland wrote:Well, fancy that. I must have just not realised that. Thanks for that though.
I can't seem to get uTorrent to run a script after the torrent finishes either. No luck.
utorrent only uses the 32bit java runtime.
Re: Fully Automated Media Center
Thanks for the tip. I'll look into that if there's no other option within the script.bixtool wrote: I'm not sure about the script, but you can run two instances of utorrent: one for movie downloads and one for tv downloads. You can specify different Run Program strings for each application.
I've used it in the past.
Re: Fully Automated Media Center
You should be able to quite easily modify the script with those updated. Just look for the rename(...) calls and override the output:"...", format:"..." values the way you want.
-
warioguy64
- Posts: 4
- Joined: 01 Oct 2012, 11:19
Re: Fully Automated Media Center
Hi rednoah,
I have been using your script (with the vbscript) for a couple of days now and its been working like a dream. But I have one last teensy problem.
It seems that some torrents like to abbreviate the downloaded RAR files that come with the torrent. (for example; torrent name:The Hangover Part 2, extracted file name TH2.mkv) which results in the movie being extracted in the utorrent Downloads folder and not in the TV/Movie folders. The same happens with talk shows (like Conan, David Letterman, Daily Show etc.)
Do you know how to fix this?
Thanks in advance.
I have been using your script (with the vbscript) for a couple of days now and its been working like a dream. But I have one last teensy problem.
It seems that some torrents like to abbreviate the downloaded RAR files that come with the torrent. (for example; torrent name:The Hangover Part 2, extracted file name TH2.mkv) which results in the movie being extracted in the utorrent Downloads folder and not in the TV/Movie folders. The same happens with talk shows (like Conan, David Letterman, Daily Show etc.)
Do you know how to fix this?
Thanks in advance.
Re: Fully Automated Media Center
Run the cmd manually with those parameters. Unpacking always extracts to its current location. It should extract to rar-parent-folder/rar-filename/*, it'll only be moved/copied as part of the renaming. Maybe that last part failed because of not being able to make sense of the input?
Re: Fully Automated Media Center
1. If you specify the standard --lang ja argument it'll carry into the script, for subtitles and renaming. If you only want japanese subs but english episode titles you'll need to hard-code it in the script.
2. Nope, because you really should seed your stuff.
Anyway, doesn't utorrent have something for that, like auto-remove if it's finished seeding?
3. Haha!! What's the filename? Just "Bolt"? I've got no idea how it'll get from here to "A Complete History Of My Sexual Failures (2008)"
-non-strict should make the strict more lenient = makes things work in much more cases, but risk of mismatches is higher as well
--conflict skip|override is for what should happen if the move/copy-destination file already exists, i.e. you downloaded the same episode twice (maybe HD the second time around)
* since that movie got completely messed up I suppose it's hash mismatch in the OpenSubtitles database. Usually it helps identify movies regardless of the filename... you can try what happens if you run the script on an empty file with the exact same name as your Bolt movie file, that way we can see if it's really the moviehash that's messing things up.
EDIT: With future releases I'm gonna try and throw out OpenSubtitles moviehash lookup for movie detection.
2. Nope, because you really should seed your stuff.
3. Haha!! What's the filename? Just "Bolt"? I've got no idea how it'll get from here to "A Complete History Of My Sexual Failures (2008)"
-non-strict should make the strict more lenient = makes things work in much more cases, but risk of mismatches is higher as well
--conflict skip|override is for what should happen if the move/copy-destination file already exists, i.e. you downloaded the same episode twice (maybe HD the second time around)
* since that movie got completely messed up I suppose it's hash mismatch in the OpenSubtitles database. Usually it helps identify movies regardless of the filename... you can try what happens if you run the script on an empty file with the exact same name as your Bolt movie file, that way we can see if it's really the moviehash that's messing things up.
EDIT: With future releases I'm gonna try and throw out OpenSubtitles moviehash lookup for movie detection.
-
ramsundaram
- Posts: 24
- Joined: 13 Oct 2012, 18:32
Re: Fully Automated Media Center
So it should be:sam829 wrote:Just add the full path to 'watcher.groovy'.Code: Select all
filebot -script "C:\Program Files\Filebot\watcher.groovy"
filebot -script "[fullpath & script file name]" fn:[filename] [...other options]
What I am asking is what goes into "fn:"
Ram
EDIT: Sorry, I found the answer to this in another post on the forums. It's either "-script [local filename] or fn:[online script name]"
Thanks.
Last edited by ramsundaram on 14 Oct 2012, 04:48, edited 1 time in total.
Re: POSTBUCKET - where random posts in unrelated topics go
@see here:
http://filebot.sourceforge.net/forums/v ... f=4&t=5#p5
fn:name is just an easy way to access the scripts online, with svn:name you'll get the latest script directly from the SVN. You can specify a filepath or an url as well. Then there is -script g:{expression} for inline groovy and -script system:in for reading the script from stdin.
http://filebot.sourceforge.net/forums/v ... f=4&t=5#p5
fn:name is just an easy way to access the scripts online, with svn:name you'll get the latest script directly from the SVN. You can specify a filepath or an url as well. Then there is -script g:{expression} for inline groovy and -script system:in for reading the script from stdin.
Re: Fully Automated Media Center
This is very promising! It looks like this simple bit of code can replace the need for multiple programs, like SCRU (to unpack files), theRenamer (to rename them), and EventGhost (to tie it all together in a single macro). But it doesn't replace the need for a scraper, like MediaCompanion or Ember Media Manager, correct?
I'm new to scripting so I have some (possibly silly) questions:
1. My media folders are currently at the root. For example:
E:\Movies
E:\TV Shows
E:\etc.
Do I replace "X:/path/to/media" with simply "E:/"?
2. What part of the filebot script determines if the torrent is a movie, a TV show, a basket of apples, etc.? Just curious.
3. What part of the filebot script determines how the files will be organized and renamed (e.g., ... /Name - S00E00 - Title). I don't see any syntax that would suggest this. (I'd like to know in case I want to tweak how things are named.)
4. in UTorrent, should I change my "Save In" path (where torrents are saved) to E:\? Or does the script pretty much override whatever I put there?
Thank you!
I'm new to scripting so I have some (possibly silly) questions:
1. My media folders are currently at the root. For example:
E:\Movies
E:\TV Shows
E:\etc.
Do I replace "X:/path/to/media" with simply "E:/"?
2. What part of the filebot script determines if the torrent is a movie, a TV show, a basket of apples, etc.? Just curious.
3. What part of the filebot script determines how the files will be organized and renamed (e.g., ... /Name - S00E00 - Title). I don't see any syntax that would suggest this. (I'd like to know in case I want to tweak how things are named.)
4. in UTorrent, should I change my "Save In" path (where torrents are saved) to E:\? Or does the script pretty much override whatever I put there?
Thank you!
Re: Fully Automated Media Center
0. It'll replace everything. If you run the script with --def artwork=y it'll fetch artwork and generate nfo files using TheTVDB and TheMovieDB data respectively.
1. Yep, --output "E:" will do.
2. That's complicated and is based on various heuristics, filename patterns, number of files with similar patterns, knowledge about movie/series names, etc. So if you can tell what it is just by looking at the filename, the script will probably get it right as well. The label in utorrent can be used to disable auto-detection and force one of the TV Show/Anime/Movie/Ignore modes if you want.
Note: It'll only enter Anime mode if it is forced via utorrent label, otherwise Anime will fall into the TV Show category and renamed using TheTVDB data.
3. Those are the 3 formats used for the 3 respective modes, TV Series, Anime and Movie.
4. The script doesn't care about he original torrent files, utorrent will just pass in a few variables and the paths to the downloaded files and this script will take it from there. There's no magic happening, it's all in that cmdline call.
1. Yep, --output "E:" will do.
2. That's complicated and is based on various heuristics, filename patterns, number of files with similar patterns, knowledge about movie/series names, etc. So if you can tell what it is just by looking at the filename, the script will probably get it right as well. The label in utorrent can be used to disable auto-detection and force one of the TV Show/Anime/Movie/Ignore modes if you want.
Note: It'll only enter Anime mode if it is forced via utorrent label, otherwise Anime will fall into the TV Show category and renamed using TheTVDB data.
3. Those are the 3 formats used for the 3 respective modes, TV Series, Anime and Movie.
Code: Select all
def format = [
tvs: '''TV Shows/{n}/{episode.special ? "Special" : "Season "+s}/{n} - {episode.special ? "S00E"+special.pad(2) : s00e00} - {t}''',
anime: '''Anime/{n}/{n} - {sxe} - {t}''',
mov: '''Movies/{n} ({y})/{n} ({y}){" CD$pi"}{".$lang"}'''
]Re: Fully Automated Media Center
Thank you for the reply.
I've tried several torrents but none of them are getting processed with the script. When the torrent is done downloading, I do see the cmd screen pop up with some lines of code run but it disappears before I can see what it says.
The torrents download as usual, but they don't get moved to the output location. For the output I've tried both "E:", "E:\Movies", and various other examples.
Any suggestions?
I've tried several torrents but none of them are getting processed with the script. When the torrent is done downloading, I do see the cmd screen pop up with some lines of code run but it disappears before I can see what it says.
The torrents download as usual, but they don't get moved to the output location. For the output I've tried both "E:", "E:\Movies", and various other examples.
Any suggestions?
Re: Fully Automated Media Center
It's a command, just open the cmd and just run it manually and see what happens. You can copy the exact cmdline uTorrent is calling from utorrents log tab.
Re: Fully Automated Media Center
Rednoah,
Your script works fantastic. Thank you for sharing.
Now, if only I could remove completed downloads from utorrent with a script I could clean things up nicely. Have you attempted this?
B:
Your script works fantastic. Thank you for sharing.
Now, if only I could remove completed downloads from utorrent with a script I could clean things up nicely. Have you attempted this?
B:
Re: Fully Automated Media Center
And what happens to seeding? I guess uTorrent must have a function somewhere to make it auto-remove a torrent once it's got enough ration.
I'm not gonna add uTorrent controls to the script, but you can play with it if you want. It's definitly possible using utorrents http/json api.
I'm not gonna add uTorrent controls to the script, but you can play with it if you want. It's definitly possible using utorrents http/json api.
Re: Fully Automated Media Center
Ah! Thanks. A lot of output, but I suspect all of it stems from this error which occurs right away (I replaced the actual user name with "MyUserName"):rednoah wrote:It's a command, just open the cmd and just run it manually and see what happens. You can copy the exact cmdline uTorrent is calling from utorrents log tab.
"...
FileNotFoundException: C:\Users\MyUserName\%D
java.io.FileNotFoundException: C:\Users\MyUserName\%D
..."
uTorrent is installed on the C drive (which is where the default user folder is), and I'm trying to export the torrents to the E drive. Perhaps that's the problem?
Re: Fully Automated Media Center
Well, obviously %D won't work. If you run it manually you have to replace the variables that utorrent would have set otherwise. Just copy the exact cmdline utorrent is executing from utorrent logger tab like I said.µTorrent wrote:You can use the following parameters:
%F - Name of downloaded file (for single file torrents)
%D - Directory where files are saved
%N - Title of torrent
%P - Previous state of torrent
%L - Label
%T - Tracker
%M - Status message string (same as status column)
%I - hex encoded info-hash
%S - State of torrent
%K - kind of torrent (single|multi)
Re: Fully Automated Media Center
The script is working for movies (they get moved to E:\Movies are are appropriately renamed, etc.) but it's not working with TV shows. They are not getting moved to "E:\TV Shows", not getting renamed, etc.
Below is what the uTorrent command log showed for a recent example:
Any suggestions? Thank you.
Below is what the uTorrent command log showed for a recent example:
Code: Select all
filebot -script fn:utorrent-postprocess --output "E:" --action copy --conflict override -non-strict --def subtitles=y artwork=y "ut_dir=E:\Torrents" "ut_file=The.Daily.Show.2012.10.18.President.Barack.Obama.HDTV.x264-LMAO.[VTV].mp4" "ut_kind=single" "ut_title=The.Daily.Show.2012.10.18.President.Barack.Obama.HDTV.x264-LMAO.[VTV].mp4" "ut_label=showRSS personal feed" "ut_state=5"
Re: Fully Automated Media Center
So what's the cmdline output if you run that command?
Re: Fully Automated Media Center
The full output is below, but you'll see this error occurs about six times:rednoah wrote:So what's the cmdline output if you run that command?
Code: Select all
Lookup by hash failed: Error configuring from jar:file:/C:/Program%20Files/FileB
ot/FileBot.jar!/ehcache.xml. Initial cause was Error configuring from input stre
am. Initial cause was The reference to entity "Sarah" must end with the ';' deli
miter.
Code: Select all
E:\>filebot -script fn:utorrent-postprocess --output "E:" --action copy --confli
ct override -non-strict --def subtitles=y artwork=y "ut_dir=E:\Torrents" "ut_fil
e=The.Daily.Show.2012.10.18.President.Barack.Obama.HDTV.x264-LMAO.[VTV].mp4" "ut
_kind=single" "ut_title=The.Daily.Show.2012.10.18.President.Barack.Obama.HDTV.x2
64-LMAO.[VTV].mp4" "ut_label=showRSS personal feed" "ut_state=5"
Parameter: subtitles = y
Parameter: artwork = y
Parameter: ut_dir = E:\Torrents
Parameter: ut_file = The.Daily.Show.2012.10.18.President.Barack.Obama.HDTV.x264-
LMAO.[VTV].mp4
Parameter: ut_kind = single
Parameter: ut_title = The.Daily.Show.2012.10.18.President.Barack.Obama.HDTV.x264
-LMAO.[VTV].mp4
Parameter: ut_label = showRSS personal feed
Parameter: ut_state = 5
Input: E:\Torrents\The.Daily.Show.2012.10.18.President.Barack.Obama.HDTV.x264-LM
AO.[VTV].mp4
Group: [tvs:The Daily Show] => [The.Daily.Show.2012.10.18.President.Barack.Obama
.HDTV.x264-LMAO.[VTV].mp4]
Missing subtitles for 1 video files
Looking up subtitles by filehash via OpenSubtitles
Lookup by hash failed: Error configuring from jar:file:/C:/Program%20Files/FileB
ot/FileBot.jar!/ehcache.xml. Initial cause was Error configuring from input stre
am. Initial cause was The reference to entity "Sarah" must end with the ';' deli
miter.
Looking up subtitles by filehash via Sublight
Lookup by hash failed: java.lang.IllegalStateException: Sublight login has not b
een configured
Searching for [The Daily Show] at [OpenSubtitles]
Search for [The Daily Show] failed: Error configuring from jar:file:/C:/Program%
20Files/FileBot/FileBot.jar!/ehcache.xml. Initial cause was Error configuring fr
om input stream. Initial cause was The reference to entity "Sarah" must end with
the ';' delimiter.
Searching for [The Daily Show] at [Sublight]
Search for [The Daily Show] failed: Sublight login has not been configured
Searching for [The Daily Show] at [Subscene]
Search for [The Daily Show] failed: Error configuring from jar:file:/C:/Program%
20Files/FileBot/FileBot.jar!/ehcache.xml. Initial cause was Error configuring fr
om input stream. Initial cause was The reference to entity "Sarah" must end with
the ';' delimiter.
No matching subtitles found: E:\Torrents\The.Daily.Show.2012.10.18.President.Bar
ack.Obama.HDTV.x264-LMAO.[VTV].mp4
Rename episodes using [TheTVDB]
Auto-detected query: [The Daily Show]
Error configuring from jar:file:/C:/Program%20Files/FileBot/FileBot.jar!/ehcache
.xml. Initial cause was Error configuring from input stream. Initial cause was T
he reference to entity "Sarah" must end with the ';' delimiter.
Failed to fetch episode data: [The Daily Show]
Exception: Unable to match files to episode data
Done ?(?????)?
Exception in thread "Thread-0" net.sf.ehcache.CacheException: Error configuring
from jar:file:/C:/Program%20Files/FileBot/FileBot.jar!/ehcache.xml. Initial caus
e was Error configuring from input stream. Initial cause was The reference to en
tity "Sarah" must end with the ';' delimiter.
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(Configu
rationFactory.java:103)
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(Configu
rationFactory.java:138)
at net.sf.ehcache.CacheManager.parseConfiguration(CacheManager.java:555)
at net.sf.ehcache.CacheManager.init(CacheManager.java:310)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:300)
at net.sf.ehcache.CacheManager.create(CacheManager.java:698)
at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:718)
at net.sourceforge.filebot.Main$6.run(Unknown Source)
Caused by: net.sf.ehcache.CacheException: Error configuring from input stream. I
nitial cause was The reference to entity "Sarah" must end with the ';' delimiter
.
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(Configu
rationFactory.java:157)
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(Configu
rationFactory.java:101)
... 7 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 38; The r
eference to entity "Sarah" must end with the ';' delimiter.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAX
ParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalErro
r(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(
Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(U
nknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue
(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanAttribute(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(U
nknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(U
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Un
known Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.p
arse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown S
ource)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(Configu
rationFactory.java:155)
... 8 moreRe: Fully Automated Media Center
That is an odd one. Do you use some wierd username or something? Something causing ehcache to crash when it's initializing. I guess for some reason it can't store it's cache in your home folder.
You could either just use a normal username or set filebot up to not work in your home folder. See the configs of the portable version for how to do that.
You could either just use a normal username or set filebot up to not work in your home folder. See the configs of the portable version for how to do that.
Re: Fully Automated Media Center
The username does have an ampersand (&) in it, and it seems this will produce this kind of error. (For example, http://www.dailytechnologytips.com/2009 ... ce-to.html.)rednoah wrote:That is an odd one. Do you use some wierd username or something?
I will try to change the username, but from what I've gathered so far this is no simple task.
Thank you for the help and the great program.
Re: Fully Automated Media Center
I'll submit a bug report ehcache regarding this issue. In the meantime why don't you use FileBot portable? You can still use the filebot command. Just specify the full path to the filebot.cmd
EDIT: Found a workaround in ehcache so special characters in the username shouldn't be a problem anymore with next release.
EDIT: Found a workaround in ehcache so special characters in the username shouldn't be a problem anymore with next release.
Re: Fully Automated Media Center
It appears that the replies to this original post keep getting deleted (are they being moved elsewhere in the forum?).
I was having trouble getting filebot to process torrented TV shows because my username includes an "&" symbol. You suggested I use filebot portable, but I can't find that thread for the details.
Is it as simple as uninstalling filebot, installing filebot portable, and telling uTorrent to use the same script as above ("filebot -script fn:utorrent-postprocess --output "X:/path/to/me)?
I was having trouble getting filebot to process torrented TV shows because my username includes an "&" symbol. You suggested I use filebot portable, but I can't find that thread for the details.
Is it as simple as uninstalling filebot, installing filebot portable, and telling uTorrent to use the same script as above ("filebot -script fn:utorrent-postprocess --output "X:/path/to/me)?
Re: POSTBUCKET - where random posts in unrelated topics go
Try the latest b2 release from here. That should fix it:
https://sourceforge.net/projects/filebo ... ebot/HEAD/
You need to copy the whole command line with options and arguments into uTorrent as described and shown on the screenshot.
If you use portable you need to give uTorrent the full path to filebot.cmd, you can try running filebot -version in a cmd window first to figure out how it works.
https://sourceforge.net/projects/filebo ... ebot/HEAD/
You need to copy the whole command line with options and arguments into uTorrent as described and shown on the screenshot.
If you use portable you need to give uTorrent the full path to filebot.cmd, you can try running filebot -version in a cmd window first to figure out how it works.
Re: Metadata >> Extended Attributes && Airdate >> Creation T
I've started having a problem in release 3.1 which I suspect is due to this change.
Once I've renamed my files I copy them all to a NAS which is not NTFS, now I've started using 3.1 every time I copy the file I get a message saying...
"Property loss: Are you sure you want to copy this file without its properties...."
It's going to get very wearing very fast having to answer this question every time... to the extent that I may revert to an older version of FileBot or stop using it.
I'm presuming this is because of the extended attributes being applied to the file.
If so, is it possible to disable it? There's something about disabling it in the post above but I'm afraid it makes no sense to me, I'm not a programmer just a dumb (l)user...
Windows 7 x64 and Jave 7 update 1, if that helps.
Once I've renamed my files I copy them all to a NAS which is not NTFS, now I've started using 3.1 every time I copy the file I get a message saying...
"Property loss: Are you sure you want to copy this file without its properties...."
It's going to get very wearing very fast having to answer this question every time... to the extent that I may revert to an older version of FileBot or stop using it.
I'm presuming this is because of the extended attributes being applied to the file.
If so, is it possible to disable it? There's something about disabling it in the post above but I'm afraid it makes no sense to me, I'm not a programmer just a dumb (l)user...
Windows 7 x64 and Jave 7 update 1, if that helps.
Re: Metadata >> Extended Attributes && Airdate >> Creation T
Erm, didn't know windows would annoy you about that... Do you have to confirm for each file or just once for all?
You can do 2 things:
-DuseNativeShell=false
(to use Java move/copy instead of Windows Shell)
-DuseExtendedFileAtrributes=false
(to disable EAs)
It's all in the *.l4f.ini files, you can edit these settings in those config files. Those settings are default if you use FileBot (platform) shortcut to run it.
EDIT:
I might be able to suppress those notifications but still allow you to use the windows move/copy dialog for progress indication. I'll send u an update tomorrow.
You can do 2 things:
-DuseNativeShell=false
(to use Java move/copy instead of Windows Shell)
-DuseExtendedFileAtrributes=false
(to disable EAs)
It's all in the *.l4f.ini files, you can edit these settings in those config files. Those settings are default if you use FileBot (platform) shortcut to run it.
EDIT:
I might be able to suppress those notifications but still allow you to use the windows move/copy dialog for progress indication. I'll send u an update tomorrow.
Re: Metadata >> Extended Attributes && Airdate >> Creation T
:: UPDATE ::
Please try r1288 and see if move/copy will still make you confirm these "Property loss" things:
http://sourceforge.net/projects/filebot ... ebot/HEAD/
(just override the FileBot.jar in your install folder with the one here to update everything)
Please try r1288 and see if move/copy will still make you confirm these "Property loss" things:
http://sourceforge.net/projects/filebot ... ebot/HEAD/
(just override the FileBot.jar in your install folder with the one here to update everything)
Re: Metadata >> Extended Attributes && Airdate >> Creation T
Thanks for the quick response!
To take your questions in order:
1) I have to confirm on every move/copy operation. If I copy several files at once I do get prompted for each file (so several times during the copy), although there is the usual Windows "do this for all current items" checkbox. Even if I check this, I will be asked again on the next copy.
2) -DuseExtendedFileAtrributes=false made the problem go away, both for the platform version and the normal version (I prefer the look and feel of the normal version).
3) -DuseNativeShell=false is already set for the platform version, and that didn't help (until I set -DuseExtendedFileAtrributes=false). I'm renaming the files in their existing folder, then copying outside FileBot - not sure if this makes a difference.
4) r1288 - I tried this first, without setting -DuseExtendedFileAtrributes=false, and it didn't help.
So, I'm now using the ship version of 3.1 (not r1288) with -DuseExtendedFileAtrributes=false set, and the normal version works fine for me.
Problem solved as far as I am concerned, but if you'd like me to be a guinea pig for testing that would be fine.
For the benefit of anybody else who has this problem, you need to edit either filebot.platform.launcher.l4j.ini or filebot.launcher.l4j.ini depending upon whether you use the Filebot or Filebot (Platform) shortcut and change the highlighted line. If you're using Windows 7 with User Access Control enabled and Filebot is installed in C:\Program Files, you won't be able to save the file directly if you edit it with notepad: save it somewhere else and then copy it across manually.
filebot.platform.launcher.l4j.ini
filebot.launcher.l4j.ini
To take your questions in order:
1) I have to confirm on every move/copy operation. If I copy several files at once I do get prompted for each file (so several times during the copy), although there is the usual Windows "do this for all current items" checkbox. Even if I check this, I will be asked again on the next copy.
2) -DuseExtendedFileAtrributes=false made the problem go away, both for the platform version and the normal version (I prefer the look and feel of the normal version).
3) -DuseNativeShell=false is already set for the platform version, and that didn't help (until I set -DuseExtendedFileAtrributes=false). I'm renaming the files in their existing folder, then copying outside FileBot - not sure if this makes a difference.
4) r1288 - I tried this first, without setting -DuseExtendedFileAtrributes=false, and it didn't help.
So, I'm now using the ship version of 3.1 (not r1288) with -DuseExtendedFileAtrributes=false set, and the normal version works fine for me.
Problem solved as far as I am concerned, but if you'd like me to be a guinea pig for testing that would be fine.
For the benefit of anybody else who has this problem, you need to edit either filebot.platform.launcher.l4j.ini or filebot.launcher.l4j.ini depending upon whether you use the Filebot or Filebot (Platform) shortcut and change the highlighted line. If you're using Windows 7 with User Access Control enabled and Filebot is installed in C:\Program Files, you won't be able to save the file directly if you edit it with notepad: save it somewhere else and then copy it across manually.
filebot.platform.launcher.l4j.ini
# FileBot launch4j runtime config
-Dapplication.deployment=msi
-Dapplication.dir="%APPDATA%\FileBot"
# FileBot system properties
-DthreadPool=8
-Dunixfs=false
# proxy settings
# -Dhttp.proxyHost=localhost
# -Dhttp.proxyPort=8888
# disable analytics
# -no-analytics
# do not use native shell for move/copy operations
-DuseNativeShell=false
# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=false
# memory settings
-Xms64m
-Xmx512m
# http connection timeouts
-Dsun.net.client.defaultConnectTimeout=10000
-Dsun.net.client.defaultReadTimeout=60000
# look for native libs here
-Djna.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# force english locale
-Dfile.encoding=UTF-8
-Duser.country=US
-Duser.country.format=US
-Duser.language=en
-Duser.language.format=en
# disable HW acceleration
-Dsun.java2d.d3d=false
# force platform L&F
-Dswing.systemlaf=javax.swing.plaf.nimbus.NimbusLookAndFeel
filebot.launcher.l4j.ini
# FileBot launch4j runtime config
-Dapplication.deployment=msi
-Dapplication.dir="%APPDATA%\FileBot"
# proxy settings
# -Dhttp.proxyHost=localhost
# -Dhttp.proxyPort=8888
# disable analytics
# -no-analytics
# use native shell for move/copy operations
-DuseNativeShell=true
# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=false
# memory settings
-Xmx256m
# http connection timeouts
-Dsun.net.client.defaultConnectTimeout=10000
-Dsun.net.client.defaultReadTimeout=60000
# look for native libs here
-Djna.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
Re: Metadata >> Extended Attributes && Airdate >> Creation T
Oh, so you first rename files in place, and only later move them to that other non-NTFS drive? Then you need -DuseExtendedFileAttributes=false to make FileBot not set EAs in the first place. EAs are set as files are renamed and it looks like the normal windows move/copy dialog is a bit stupid about handling those.
Can you try with r1288, but move-renaming files directly to their final destination, you know with absolute path as format? If FileBot is invoking the move/copy operations it should suppress these messages, should work with both -DuseNativeShell=false and -DuseNativeShell=true.
Can you try with r1288, but move-renaming files directly to their final destination, you know with absolute path as format? If FileBot is invoking the move/copy operations it should suppress these messages, should work with both -DuseNativeShell=false and -DuseNativeShell=true.
Re: Metadata >> Extended Attributes && Airdate >> Creation T
OK, copying within Filebot with version 3.1 and -DuseNativeShell=true, I got the error. With the new version, I don't, regardless of -DuseNativeShell. So you're successfully suppressing the messages.
In my circumstances, this isn't much of a help because I could be copying the file to any of a number of different locations or even drives depending upon the particular program, so I'll stick to my existing way of working (rename in place and copy later) but with -DuseExtendedFileAttributes=false set.
Many thanks for your help!
In my circumstances, this isn't much of a help because I could be copying the file to any of a number of different locations or even drives depending upon the particular program, so I'll stick to my existing way of working (rename in place and copy later) but with -DuseExtendedFileAttributes=false set.
Many thanks for your help!
Re: Common Naming Schemes
I'm trying to modify:
D:/TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}
I'm trying to replace "s00e00" with "s{s.pad(2)}e{e.pad(2)}"
but I cannot do that because they're within a {}, and reflect as the season and episode numbers instead of text. I'm not familiar with groovy, but is there a way I can replace the "S" and "E" with lower case? I'm not a fan of capitols because I find it hard to scan by eye, the lower case makes it easier to divide
D:/TV Shows/{n}/{episode.special ? 'Special' : 'Season '+s}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}
I'm trying to replace "s00e00" with "s{s.pad(2)}e{e.pad(2)}"
but I cannot do that because they're within a {}, and reflect as the season and episode numbers instead of text. I'm not familiar with groovy, but is there a way I can replace the "S" and "E" with lower case? I'm not a fan of capitols because I find it hard to scan by eye, the lower case makes it easier to divide
Re: How about sharing our format expressions?
I have managed to figure how to replace "S"
s00e00.replaceFirst(/^S/, "s")
i'm messing with how to change the "E"
s00e00.replaceFirst(/^S/, "s")
i'm messing with how to change the "E"
Re: How about sharing our format expressions?
{s00e00.lower()} 
Re: Fully Automated Media Center
Is there a way to override the "format" expressions in the "utorrent-postprocess" function to specify my own preferences for the filepaths? I mean that I'd rather not put my TV shows and movies into separate subdirectories, and I like the {n}.{s00e00}.{t} episode filename format better than the default with the spaces and the hyphens.
I tried creating my own version of utorrent-postprocess.groovy, with the following changes, and referencing it locally, but my files just got un-rar-ed, no renaming or moving happened.
I tried creating my own version of utorrent-postprocess.groovy, with the following changes, and referencing it locally, but my files just got un-rar-ed, no renaming or moving happened.
Code: Select all
def format = [
tvs: '''{n}{episode.special ? " - Special" : " - Season "+s.pad(2)}/{n}.{episode.special ? "S00E"+special.pad(2) : s00e00}.{t}''',
anime: '''Anime/{n}/{n} - {sxe} - {t}''',
mov: '''{n} ({y})/{n} [{y}]{" CD$pi"}{".$lang"}'''
]Re: Fully Automated Media Center
What's the error output? Did you forget to copy lib/*.groovy? It'll need that for artwork/email/etc
Re: Fully Automated Media Center
Ah, yes, that did it. Once I downloaded the /lib/*.groovy files, my homebrew version of utorrent-postprocess.groovy worked great. Thanks for the info and for this great program. FileBot with these customizations should save me tons of time versus my old workflow!
-
ohadbenita
- Posts: 9
- Joined: 26 Nov 2012, 07:38
Re: How about sharing your CLI scripts?
filebot -script fn:revert path/to/files --action rename doesn't work:
C:\Users\HTPC>filebot -script fn:revert "a:/tv shows/homeland/" --action rename
IllegalArgumentException: Illegal rename action: rename
java.lang.IllegalArgumentException: Illegal rename action: rename
at net.sourceforge.filebot.StandardRenameAction.forName(Unknown Source)
at net.sourceforge.filebot.StandardRenameAction$forName.call(Unknown Sou
rce)
at Script3.revert(Script3.groovy:9)
at Script3$_run_closure1.doCall(Script3.groovy:18)
at Script3.run(Script3.groovy:16)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (░_░)
C:\Users\HTPC>filebot -script fn:revert "a:/tv shows/homeland/" --action rename
IllegalArgumentException: Illegal rename action: rename
java.lang.IllegalArgumentException: Illegal rename action: rename
at net.sourceforge.filebot.StandardRenameAction.forName(Unknown Source)
at net.sourceforge.filebot.StandardRenameAction$forName.call(Unknown Sou
rce)
at Script3.revert(Script3.groovy:9)
at Script3$_run_closure1.doCall(Script3.groovy:18)
at Script3.run(Script3.groovy:16)
at net.sourceforge.filebot.cli.ScriptShell.evaluate(Unknown Source)
at net.sourceforge.filebot.cli.ScriptShell.runScript(Unknown Source)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(Unknown Source)
at net.sourceforge.filebot.Main.main(Unknown Source)
Failure (░_░)
Re: How about sharing your CLI scripts?
Sorry, you'll need to grab the latest build or wait for the next release if you really need --action rename.
Re: Fully Automated Media Center
Great script!
2 quick questions -
Is there a way to include the style of file name format desired in the command line? I've modified the GUI usage to output the files in the format I want but the command line output doesn't seem to match the format I was hoping for.
While artwork=yes seems to get all the nfo and other pieces for the Show in question it doesn't appear to get an nfo for the specific Episode being worked on. Am I missing something there?
Thanks again for the great script!
2 quick questions -
Is there a way to include the style of file name format desired in the command line? I've modified the GUI usage to output the files in the format I want but the command line output doesn't seem to match the format I was hoping for.
While artwork=yes seems to get all the nfo and other pieces for the Show in question it doesn't appear to get an nfo for the specific Episode being worked on. Am I missing something there?
Thanks again for the great script!
Re: Fully Automated Media Center
1. Cmdline is configured via cmdline options only, it does not magically use random GUI settings (albeit easy to add, that'd be very unclean).
2. Added support for overriding the default naming formats via --def:
--def "seriesFormat=TV/…"
--def "animeFormat=Anime/…"
--def "movieFormat=Movies/…"
Not gonna advertise that much since people are just gonna mess up the cmdline arguments with unescaped quotes. If you don't understand how arguments are parsed in your shell you will probably run into problems if you use single/double quotes, ampersands, etc in your format.
3. Episode Nfos are pretty much useless and with well-named files any HTPC software can grab that info easily anyway.
2. Added support for overriding the default naming formats via --def:
--def "seriesFormat=TV/…"
--def "animeFormat=Anime/…"
--def "movieFormat=Movies/…"
Not gonna advertise that much since people are just gonna mess up the cmdline arguments with unescaped quotes. If you don't understand how arguments are parsed in your shell you will probably run into problems if you use single/double quotes, ampersands, etc in your format.
3. Episode Nfos are pretty much useless and with well-named files any HTPC software can grab that info easily anyway.
-
verysofttoiletpaper
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: Fully Automated Media Center
Hi!
I was just expanding the functionality of the deluge adaptor, and just realised symlinks don't work.
Why does filebot need to run as with root privileges in order to create symlinks?
Cheers!
I was just expanding the functionality of the deluge adaptor, and just realised symlinks don't work.
Why does filebot need to run as with root privileges in order to create symlinks?
Cheers!
-
verysofttoiletpaper
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: Fully Automated Media Center
Actually, I was wrong.
It is failing even running it with sudo.
I get "Exception: Unsupported Operation: createSymbolicLink"
Any idea why?
It is failing even running it with sudo.
I get "Exception: Unsupported Operation: createSymbolicLink"
Any idea why?
Re: Fully Automated Media Center
On Windows it needs to be admin. Linux should work fine as normal users. You'll need Java 7 though.
-
verysofttoiletpaper
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: Fully Automated Media Center
Yes, installing Java 7 from oracle fixed the problem thanks 
-
verysofttoiletpaper
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: Fully Automated Media Center
Would be useful to have a script option to disable archive extraction..
Cheers and good work!
Cheers and good work!
Re: Fully Automated Media Center
Why would that be useful? Right now it'll only extract archives that contain video files.
-
verysofttoiletpaper
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: Fully Automated Media Center
Oh.. in that case..
I thought it was extracting all files first
Thanks
I thought it was extracting all files first
Thanks
-
verysofttoiletpaper
- Posts: 141
- Joined: 05 Jul 2012, 09:44
Re: Fully Automated Media Center
By the way, Plex integration doesn't seem to be working, maybe due to a new version...
http://$server:$port/plex doesn't seem to contain any useful information anymore: http://hastebin.com/cafivirihi.xml
On the other hand, http://miner:32400/library/sections/ seems to have all the needed information: http://hastebin.com/pifugopihe.xml
Can you make it work again?
http://$server:$port/plex doesn't seem to contain any useful information anymore: http://hastebin.com/cafivirihi.xml
On the other hand, http://miner:32400/library/sections/ seems to have all the needed information: http://hastebin.com/pifugopihe.xml
Can you make it work again?
Re: Fully Automated Media Center
Does the rescan request still work like this?
http://$server:$port/library/sections/$key/refresh/
http://$server:$port/library/sections/$key/refresh/
-
cheesemaker
- Posts: 49
- Joined: 03 Sep 2012, 10:52
Re: Fully Automated Media Center
Yes, http://$server:$port/library/sections/all/refresh, worked for me.
http://wiki.plexapp.com/index.php/PlexN ... g_Sections
http://wiki.plexapp.com/index.php/PlexN ... g_Sections
Re: Fully Automated Media Center
Updated it the way you suggested. Should take effect by tomorrow.
Re: Fetch Artwork and Nfo for Movies
Hello, thanks for the great program. It's really helped me begin the quest to get organized!rednoah wrote:Description:Usage:
- Download artwork for all your Movies from TheMovieDB. Fetch Movie nfo and all kinds of artwork and save files according to XBMC standards.
- Disable GUI tv series confirmation dialogs via -non-strict option (on headless machines this is the default).
Options:Code: Select all
filebot -script fn:artwork.tmdb /path/to/movies/
--conflict override to fetch artwork from scratch (not just missing artwork)
-non-strict to disable user-interaction and run headless
Notes:
* Movies are expected to be organized into folders. The movie is determined using the name of the parent folder of each video file.
Download Script:
http://filebot.sf.net/scripts/artwork.tmdb.groovy
I have got this script working from the command line but it returns 'Movie Not Found' for each movie in the folder.
I have all movies in their own folder as suggested, but the folder names have the format:
{n} [{y},{director}][{source}]
As a test, I changed the folder for the first film to {n} [{y}] and this worked.
How could I modify the script to be able to pick up the movie name correctly?
Or would it be better to just use the {n} [{y}] naming convention?
Much appreciated
Bee
-
danielsokolowski
- Posts: 9
- Joined: 03 Jan 2013, 01:55
Re: [MANUAL] Configure OpenSubtitles and Sublight login
Sublight now allows free API keys again: http://www.sublight.si/RegisterClient.aspx. This is the wrong thread for this but why aren't there any GUI options for all these 'filebot -script fn:<commands>' ? As a new user I find it intimidating.
Re: [MANUAL] Configure OpenSubtitles and Sublight login
Well, one thing is that many people use FileBot without any GUI so this works for everybody.
More importantly if your run -script fn:configure it'll download the script and since API client/keys are hard-coded (currently FileBot identifies itself as SublightCmd) in the script I can easily auto-update these settings without a new release.
More importantly if your run -script fn:configure it'll download the script and since API client/keys are hard-coded (currently FileBot identifies itself as SublightCmd) in the script I can easily auto-update these settings without a new release.
-
beeblebrox42
- Posts: 3
- Joined: 05 Jan 2013, 19:52
Re: Fully Automated Media Center
I'm not integrating with utorrent, but this script via cli mode almost does everything I need it to, so thanks!
However I can't figure out how to get the hardlink action to work which I really need. The output claims it is a hardlink rename but it only creates the directories and not the file link. The docs say utorrent must be ran as 'admin', so I am guessing I must run filebot as root? In my script I sudo run filebot but that didn't resolve the issue. I'm a bit stuck and looking for help.
I'm running on a 64bit linux distribution.
Thanks,
James
However I can't figure out how to get the hardlink action to work which I really need. The output claims it is a hardlink rename but it only creates the directories and not the file link. The docs say utorrent must be ran as 'admin', so I am guessing I must run filebot as root? In my script I sudo run filebot but that didn't resolve the issue. I'm a bit stuck and looking for help.
I'm running on a 64bit linux distribution.
Thanks,
James