Okay... how do I get a backslash to stay a backslash when it's not being used in a pathname? No matter what I try, "\" is being changed to "/" when I need it to remain a "\."
Using @lines already. But I might swap the order of how it's working. Idea is that sometimes, movies aren't considered part of a collection even though they should be. Not FileBot's fault, of course, as it's relying on the information it grabs. So idea is to allow for fixing that, or for overriding ...
Doesn't that make it more complicated with having to use {}'s and []'s? Groovy syntax is definitely more complicated than JSON syntax, because the former does a lot more, and the latter is just meant to be a simple structured data notation. That said, you can use whatever works best for you. I'm ...
String.stripReleaseInfo(boolean strict) does exist. There is no parameterless method of that name though. So value.stripReleaseInfo() won't work, and need to pass a paramater? def configs=include "P:/FileBot/config.groovy" If you're using include() just to create a structured data object for your ...
:idea: If it's more about sharing a format between GUI and CLI, then How can I use the same format in both GUI and CLI? is the way to go. Problems. If I make the file and have the contents within {}'s, it's useless because I can't access the values. If I don't put the contents within {}'s, it ...
You can use the csv() function to read a CSV / TSV file into a Map object. e.g. { def table = csv('/path/to/names.tsv') table[n] ?: n } $ cat ~/names.tsv Deep Space 9 DS9 How I Met Your Mother HIMYM Will need to take a look at that. So does a csv file have to have a "tsv" extension? 😉 I came across ...
When doing it in a script, I'm trying to pass "ttags" and get Invalid usage: --def ttags is not used and has no effect as a result. Using the command prompt directly, I get this: P:\FileBot>filebot -mediainfo --format "{defines} | {defines.qtags} | {fn}" --def "music=n" qtags="TD,IPT,One Two" * This ...
Either I'm encountering a bug or I'm doing something wrong. I recall trying it when you initially showed it to me it worked. Now, when doing that same command, no matter what I try to use, it tells me that " This is not a -script call. The script parameter --def (name) has no effect. " Be it qtags ...
:idea: You can use {label} and {defines} to access --def ut_label specifically or the all --def name=value parameters. So something like --def qtags="%1" would let me use {qtags} ? Would it already be in an array, or would I need to split it? If so, would splits honor quote marks (if separating by ...
Would it be possible to add in tag support, where tags (comma separated) would be put into two arrays? {tags[0]} returns returns the first tag, etc. {tag['name']} returns true if the tag has been set (but false otherwise vs an error) So if I use a tag like "TD," then {tag['TD']} will return true ...
Try this: {ny} [{genre}, {director}, {vf}]/{plex.name} [{genre}, {director}, {vf}][subt] This gives me the following result: Bad Boys (1995) [Action, Michael Bay, 1080p]/Bad Boys (1995).eng [Action, Michael Bay, 1080p][subt] My fault, I used [ ] instead of { }. {ny} [{genre}, {director}, {vf ...
{plex.name} [{genre}, {director}, {vf}]/{plex.name} [{genre}, {director}, {vf}] This gives me the following result for the SRT file of a movie: Bad Boys (1995).eng [Action, Michael Bay, 1080p]/Bad Boys (1995).eng [Action, Michael Bay, 1080p] Is there a way to get rid of the '.eng' part or to get it ...
Closing and re-opening is what I'm trying to avoid since it's a nuisance and I'm a lazy butt. Any chance that it could also compare the file size so that if the file size is different, it will generate a new hash instead of using the old one simply based on the same filename?
Yes, the {crc32} tag. The fact that it's stored in memory for awhile can causes issues in certain circumstances, such as the one I mentioned above. I use it on a file, decide that the resulting file and such can be tinkered with, so I get a new file that is different (obviously), but then it hashes ...
When TheTVDB is down, then FileBot should create a temporal path to the future when the server will be working again and use that... 🤣 Why did I not think of this elegant yet simple solution? :oops: EDIT: FileBot r7624+1i now implements time travel. Mostly untested though. Might work. Might not, a ...
I know about the -clear-cache option, but this is more of a case-by-case basis option. When using the GUI and matching files, if a filename has already been hashed, then it uses that previous value instead of doing a fresh hash of the file. Okay so far. However, if encoding the same (movie/episode ...
Not sure why you would want to do it, but there is an easy way. Have a script called that will copy the .torrent file to a share from PC2 where PC2's torrent client is monitoring for new torrents to download. Though to be honest, wouldn't it just be easier to have a script copy the contents to the ...