POSTBUCKET - where random posts in unrelated topics go
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
*"Wife with Wife?", Ithiel thought to himself, "That's odd, I've never heard of that anime before... wonder what that's about?"*
*types it into Google*
... um, so.. yeah, in retrospect, that's exactly the kind of anime you'd expect a show called 'Wife with Wife' to be.
FYI: A josei anime it is not - NSFW :-/
*types it into Google*
... um, so.. yeah, in retrospect, that's exactly the kind of anime you'd expect a show called 'Wife with Wife' to be.
FYI: A josei anime it is not - NSFW :-/
There can be only one Power² User
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
hahaha, never bothered to actually look it up Wife with Wife - Absolutely Not For Children ![Laughing :lol:](./images/smilies/icon_lol.gif)
![Laughing :lol:](./images/smilies/icon_lol.gif)
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
That's... really interesting. What do you mean by latest revisions, though?rednoah wrote:Haha, this one is really bad luck!
There's an anime names:[つまつま 人妻×人妻, WWW, Wife with Wife] which allows WWW to be part of the query, and it gets matched to names:[Christopher Hitchens, www.raydragon.com Presents...]Maybe shitty data in the IMDb when that one was scraped.
Try one of the latest revisions though. It works just fine despite those misleading query options.
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
Ah, I see. Didn't realize you were talking about the jar as opposed to the whole package. Thanks!rednoah wrote:FAQ -> Last Q
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
As rednoah is pretty much always making tweaks, fixes, or improvements (generally in response to forum requests), the jar file is normally updated every couple of days. If you ever notice a strange bug, the first thing to try is updating your jar to see if he's already fixed it, lol. ![Smile :-)](./images/smilies/icon_e_smile.gif)
If you're running Windows, you can download/run this script that will download and swap out the jar file for you automatically:
http://www.filebot.net/forums/viewtopic.php?f=4&t=1225
![Smile :-)](./images/smilies/icon_e_smile.gif)
If you're running Windows, you can download/run this script that will download and swap out the jar file for you automatically:
http://www.filebot.net/forums/viewtopic.php?f=4&t=1225
There can be only one Power² User
Re: Automated Media Center
First of all, Thanks a million man. This app rocks big time when using the scripts. I just witnessed magic happening here.
I want to use AMC script, but I also want to re-encode the downloaded subtitles to UTF8 (or other encoding). Is there a way to do it directly using AMC or i should modify it.
Thanks.
I want to use AMC script, but I also want to re-encode the downloaded subtitles to UTF8 (or other encoding). Is there a way to do it directly using AMC or i should modify it.
Thanks.
Re: POSTBUCKET - where random posts in unrelated topics go
Why do you think it's not doing that already? Cause it is, by default, and you can't change that.
Re: POSTBUCKET - where random posts in unrelated topics go
I'm using Mac, some subtitles when downloaded are not being displayed on Plex, but XBMC can display them.
When i investigated this, I installed Aegisub and when i open some subtitle files it says "x-mac-cyrillic is not a supported character set". When i use open with "Open Subtitle with Charset" and choose "Windows 1256" Charset, the file works and then i can export it as .srt with the right Charset.
I was looking for a way to automate this part and re-encode all subtitles after downloading them. As you confirmed, currently AMC is rencoding to UTF-8, so i guess i want to re-encode to Windows-1256 instead.
Somehow, XBMC does not require that, i'm not sure why. I'm about to submit this issue to Plex as well in case they can add a fix.
Thanks,
TM
When i investigated this, I installed Aegisub and when i open some subtitle files it says "x-mac-cyrillic is not a supported character set". When i use open with "Open Subtitle with Charset" and choose "Windows 1256" Charset, the file works and then i can export it as .srt with the right Charset.
I was looking for a way to automate this part and re-encode all subtitles after downloading them. As you confirmed, currently AMC is rencoding to UTF-8, so i guess i want to re-encode to Windows-1256 instead.
Somehow, XBMC does not require that, i'm not sure why. I'm about to submit this issue to Plex as well in case they can add a fix.
Thanks,
TM
Re: POSTBUCKET - where random posts in unrelated topics go
You'd have to modify the script to re-encode into Windows-1256, probably easier to just do a post processing script that turns UTF-8 into Win-1256, though any text file really should be in UTF-8, that would safe the world a lot of trouble.
Re: [CODE] Examples and Snippets
Here's an example of running two commands in a single command line:
The above example is for a context menu option to download subtitles in two languages at once. If you want to string multiple commands together on a single line, simply use &&
You can also read more about using multiple commands and conditional processing symbols in the official Microsoft documentation.
Code: Select all
cmd /c filebot -get-subtitles "%1" -non-strict --lang en --log-file context.log && filebot -get-subtitles "%1" -non-strict --lang da --log-file context.log
You can also read more about using multiple commands and conditional processing symbols in the official Microsoft documentation.
There can be only one Power² User
Re: [MANUAL] Configure OpenSubtitles and Sublight login
I try this command:
and I got this >>
But when I try this>
I got this >>
What can be happened?
Code: Select all
>filebot -script fn:osdb.login
Code: Select all
>Enter OpenSubtitles username: XX
Enter OpenSubtitles password: XX
Testing OpenSubtitles... OK
Done ?(?????)?
Code: Select all
>filebot -script osdb.stats
Code: Select all
FileNotFoundException: osdb.stats
java.io.FileNotFoundException: osdb.stats
at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.g
etScriptLocation(ArgumentProcessor.java:195)
at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcess
or.java:106)
at net.sourceforge.filebot.Main.main(Main.java:192)
Failure (░_░)
Launch4j: Failed to run the given command.
O sistema nπo pode encontrar o arquivo especificado.
Re: [MANUAL] Configure OpenSubtitles and Sublight login
For that one you need to use the latest build, the 3.8 release is too old.
Re: [SNIPPET] Sort into A-Z folders
Can this be changed to work with ABCD folder instead so movies beginning with a-d goes in ABCD ?
I have tried to modify this with sort to drives but with no success
I currently have The one with sort to drives set up but if I ever need to change paths I have to change them alll here it is just one.
Hope you understand what i mean
I have tried to modify this with sort to drives but with no success
![Sad :(](./images/smilies/icon_e_sad.gif)
I currently have The one with sort to drives set up but if I ever need to change paths I have to change them alll here it is just one.
Hope you understand what i mean
Re: Looking for testers on Synology NAS
Still failing to get FileBot to run on my ReadyNAS, I'm not 100% sure of all its features. When I first came to this site I was looking for a program that did a few things that I've now had to resort to several different programs to work out. I'll go through my workflow:rednoah wrote: * What do you think it should like like?
* What use-cases do you have? What workflow do you think would make sense?
* What features should be supported?
1a Movies downloads via Couchpotato
1b Movies are unrared and sorted via Couchpotato
(It's a good setup that doesn't need fixing.)
2a TV shows are downloaded via FlexGet
2b TV shows are unrared and moved to a "finished folder" once every day via pyexpand, this will unrar all folders in my download folder, no matter if it's been done on a previous day or not. TV shows that aren't rar:ed will fail to go to the next step because of a lack of copy-support in pyexpand, and I've found no other scripts that can do both.
2c Sickbeard renames and sorts the files in the finished folder.
Both FlexGet and Couchpotato uses Transmission for the downloads, and puts the downloads in seperate folders to make sure their scripts don't interfere with each other.
So as you can see, my step 2b really needs refinement, and that's what I hope can be found with FileBot, and since I don't use Sickbeard for its webui database of TV shows, only for its renamer, it would replace step 2c as well.
Unless you will be working on my 1a and 2a steps, those are the basic needs I have.
Re: Exclude Blacklist & Series-Mappings
Can you add 'TWD' for The Walking Dead?
-
- Posts: 3
- Joined: 03 Apr 2014, 06:17
Re: [SNIPPET] Put the "The" at the end
trying to make a batch file for uTorrent and my movie IF doesn't seem to work but the Television does any ideas
%1 is Status
%2 is Label
%3 is Directory of torrent
Code: Select all
IF %1==11 (
IF /I %2==Television ("C:\Program Files\FileBot\filebot.exe" -rename %3 --db thetvdb --action move --conflict override -non-strict --output C:\Users\Jeremy\Videos\Television --format {n}\{n}.{s00e00}.{t})
IF /I %2==OldMovie ("C:\Program Files\FileBot\filebot.exe" -rename %3 --db imdb --action move --conflict override -non-strict --output "C:\Users\Jeremy\Videos\Old Movies" --format {n.replaceFirst^(/^^(?i^)^(The^)\s^(.+^)/, /$2, $1/^)[0]}\{n} ^({y}^){" CD$pi"})
PAUSE
)
PAUSE
%2 is Label
%3 is Directory of torrent
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
rednoah, can you please add ddlvalley.net to the blacklist? it matches everything to the tv show 'the net'
thanks in advance
thanks in advance
Re: Fetch all subtitles
rednoah wrote: Fetch subtitles for all folders:Options:Code: Select all
filebot -script fn:suball /path/to/media
--def maxAgeDays=7 set a max-age for files that will be processed, older files will be ignored
View Script:
https://github.com/filebot/scripts/blob ... all.groovy
Hi rednoah,
this script isn't working for me...
For some reason it thinks all the .mkv files I've tried it with already have subs, even the ones that neither MediaInfo, openelec or VLC can find any for.
I won't try to speculate why since I have no idea how getMediaInfo(file:f, format:'''{media.TextCodecList}''').isEmpty() works...
I've also tried to edit and run the script locally in order to rule out that it is the maxAgeDays part that is excluding the subs to be downloaded. Same result, see below.
Tried to find documentation on getMediaInfo and its parameters but with no luck.
Local code:
Code: Select all
// filebot -script fn:suball <options> <folder>
def lastModifiedLimit = tryQuietly{ System.currentTimeMillis() - (maxAgeDays.toLong() * 24 * 60 * 60 * 1000) }
def young = { f ->
// ignore files that are too old
if (lastModifiedLimit != null && f.lastModified() < lastModifiedLimit)
return false
return true
}
def unsubbed = { f ->
// ignore files that already have subtitles
if (getMediaInfo(file:f, format:'''{media.TextCodecList}''').isEmpty())
return false
return true
}
/*
* Get subtitles for all your media files
*/
args.eachMediaFolder {
def videos = it.listFiles{ it.isVideo() }
// ignore videos that are too old or already have embedded subtitles
videos = videos.findAll{
if (!young(it)) {
_log.finest "Too OLD: " + it.getName()
return false
}
if (!unsubbed(it)) {
_log.finest "Already SUBBED: " + it.getName()
return false
}
return true
}
getMissingSubtitles(file:videos)
}
Code: Select all
C:\Program Files\FileBot>filebot -script "C:\Program Files\FileBot\suball.groovy
" "T:\TVserier\Xxxx\Season 01"
Already SUBBED: Xxxx - 1x01 - Pilot.mkv
Already SUBBED: Xxxx - 1x02 - Title02.mkv
...
Already SUBBED: Xxxx - 1x13 - Title13.mkv
No missing subtitles
Done ?(?????)?
C:\Program Files\FileBot>pause
Press any key to continue . . .
/Hematot
Re: POSTBUCKET - where random posts in unrelated topics go
Looks like the condition was the wrong way around. Should be fixed now.
Re: POSTBUCKET - where random posts in unrelated topics go
But then it thinks that none of the .mkv files I've tried it with have subs...
I wasn't clear on the fact that some, but only some, of the .mkv's are missing embedded subs.
I wasn't clear on the fact that some, but only some, of the .mkv's are missing embedded subs.
Re: POSTBUCKET - where random posts in unrelated topics go
Make sure to use the latest script. Works fine now:
The first two have embedded subtitles, thus get ignored. That last episode doesn't have a subtitle track, so it'll fetch subtitles.
Code: Select all
C:\testdata>filebot -script fn:suball .
Exclude: C:\testdata\evangelion 1.11 480p dual audio w-soft subs.mkv
Exclude: C:\testdata\Lawrence of Arabia (1962).mkv
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [Revolution - S02E18 - Austin City Limits.mkv] to [Revolution.2012.S02E18.HDTV.x264-LOL] via filehash
Fetching [Revolution.2012.S02E18.HDTV.x264-LOL.srt]
Writing [Revolution.2012.S02E18.HDTV.x264-LOL.srt] to [Revolution - S02E18 - Austin City Limits.eng.srt]
Re: POSTBUCKET - where random posts in unrelated topics go
Well, for me the files with no embedded subtitles still gets identified as having them.
Running the script via fn:suball which I believe always points to your current script?
If it's to any help, here's what MediaInfo reports for one of them:
For now I'll just use the getMissingSubtitles and switch to the embedded if need be!
Rock on! /Hematot
Running the script via fn:suball which I believe always points to your current script?
If it's to any help, here's what MediaInfo reports for one of them:
Code: Select all
General
Unique ID : xxx (0xyyy)
Complete name : zzz
Format : Matroska
Format version : Version 2
File size : 995 MiB
Duration : 47mn 3s
Overall bit rate : 2 957 Kbps
Encoded date : UTC 2013-05-01 16:54:35
Writing application : mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Apr 19 2010 11:58:49
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 47mn 3s
Bit rate : 2 450 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.111
Stream size : 825 MiB (83%)
Writing library : x264 core 130 r2273 b3065e6
Encoding settings : cabac=1 / ref=9 / deblock=1:1:1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=14 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=5 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=crf / mbtree=1 / crf=18.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : No
Forced : No
Matrix coefficients : BT.709
Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : A_AC3
Duration : 47mn 3s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 151 MiB (15%)
Default : Yes
Forced : No
Rock on! /Hematot
Re: POSTBUCKET - where random posts in unrelated topics go
According to MediaInfo this file does not contain subtitles.
Have you tried checking from FileBot? Edit Format -> Variables (icon only) -> Select file and click table:
http://snag.gy/j3DwR.jpg
Also the fn:name always uses the latest, but only updates once a day, so you might wanna try doing -clear-cache once if I've updated the script less than a day before.
Have you tried checking from FileBot? Edit Format -> Variables (icon only) -> Select file and click table:
http://snag.gy/j3DwR.jpg
Also the fn:name always uses the latest, but only updates once a day, so you might wanna try doing -clear-cache once if I've updated the script less than a day before.