Search found 17 matches
- 06 Oct 2014, 08:12
- Forum: Scripting and Automation
- Topic: Rename using ID3 Tag not working
- Replies: 2
- Views: 2642
Re: Rename using ID3 Tag not working
Thanks! It's working now.
- 05 Oct 2014, 20:06
- Forum: Scripting and Automation
- Topic: Rename using ID3 Tag not working
- Replies: 2
- Views: 2642
Rename using ID3 Tag not working
Hi, I am trying to run the following command and it uses AcoustID filebot -rename -r --db ID3 "/media/dave/Other1Lin/RAIDMain/Audio/Music/Music_Library/Mark Knopfler" --format "{artist}/{album}/{pi. pad(2)} {t}" --output "/media/dave/Other1Lin/RAIDMain/Audio/Music/Music_Library_2" --action copy It ...
- 21 Sep 2014, 21:00
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok. I think it's really done now. Sci-fi works and also it responds with "No genre" if there is no production country and no genre. For any that might want to use my script as a basis for there own, here it is. Disclaimer: I'm certain theres a better way to do this. It's just that my knowledge is a ...
- 21 Sep 2014, 17:51
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
I tried to incorporate your code into mine. I couldn't get it working. I found a solution, not as elegant as yours but its simpler in syntax so my brain could understand it. :lol: Here is what I have so far. {info.ProductionCountries.contains('Australia') ? 'Australian' : info.ProductionCountries ...
- 21 Sep 2014, 15:15
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok, I've already discovered a lot of bad data - especially with USA movies that for some reason have a spoken language that isn't English. Also, the "No Genre" thing isn't working. It's just putting them in the main folder. Ypu, I can't rely on spokenlanguages. I'm going to have to go it all with ...
- 21 Sep 2014, 14:29
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok, I think this is it. {info.ProductionCountries.contains('Australia') ? 'Australian' : info.SpokenLanguages[0].displayLanguage.contains('English') ? any{genre}{'No Genre'} : info.ProductionCountries[0] } The only thing it doesn't do is if it is Science Fiction, make it Sci-Fi but really, I am too ...
- 21 Sep 2014, 13:46
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok, I am SOOOO close! I found the conditional I am using .contains then ? : else I guess there are other forms but contains will work I think. {info.ProductionCountries.contains('Australia') ? 'Australian' : {SpokenLanguages[0].displayLanguage.contains('English') ? genres[0] : SpokenLanguages[0 ...
- 21 Sep 2014, 12:31
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
Here's the solution: {any{(info.ProductionCountries as String).match(/Australia/)}{(info.SpokenLanguages.displayLanguage as String).match(/English/)}{genre}{'No Genre'}} Wow, That is much cleaner but it's not giving me the results I expected. Movies that are English and NOT Australian should use ...
- 21 Sep 2014, 10:49
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok, So it's coming together. Here is the logic I need to implement If productioncountry = Australia Genre = Australian else if SpokenLanguage<>English and not empty Genre = spokenLanguage else If Genre = Empty Genre = "No Genre" else Genre = Genre[0] endif endif endif Here is the code I have so far ...
- 21 Sep 2014, 09:19
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok, I got it.
Found the jar file in /usr/share/filebot. Replaced the file. It Works!
Code: Select all
{info.SpokenLanguages[0].displayLanguage}
- 21 Sep 2014, 09:14
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
1. Use the .deb for the latest beta and then override the jar with the latest jar. It's Copy & Replace really. 2. SpokenLanguages will give you a List of Local objects. So you can do Locale.displayLanguage. 1. ok. I will look for the jar and replace it. 2. I'm sorry, I don't understand. I tried ...
- 21 Sep 2014, 08:16
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok, So I installed Java 8 and then I found there is no deb version of this latest filebot. I can run the gui using java but I don't know how to run it from the command line. Can someone please tell me how to replace my existing filebot on Ubuntu with the Jar file I downloaded from sourceforge? Both ...
- 20 Sep 2014, 18:54
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
ok, I just checked and I'm still running v 4.2 which is from the Ubuntu 14.04 official repo and yup, it is r2326. Ouch. Will look for a way to upgrade.
- 20 Sep 2014, 17:40
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
1. Whatever you do, any prototyping you really really wanna do in the GUI Format Editor, and only paste a tested & working format into the script. Also: @see http://www.filebot.net/forums/viewtopic.php?f=4&t=1899 @see http://www.filebot.net/forums/viewtopic.php?f=4&t=1041 Thanks for the advice ...
- 20 Sep 2014, 17:34
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
So, Here is where I am so far; 1. Nothing new. Still can't figure it out. 2. Spoken Languages is good for this field. I will go with that. Now I just need to figure out what the actual code is. Hmm. It turns out {spokenlanguages} is undefined. I also tried it with different capitalisations. No luck ...
- 20 Sep 2014, 15:47
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Re: Genres by folder modification
Thanks for your response! 1. I tried for an hour with the commandline and it turned out it was easier to modify the script than spend more time on that. I'm sure with more skill and probably better use of \" "\ I could probably figure it out. I still would like to modify the code mov: tryQuietly ...
- 20 Sep 2014, 11:13
- Forum: Scripting and Automation
- Topic: Genres by folder modification
- Replies: 22
- Views: 11573
Genres by folder modification
Hi, I am running filebot via the cli in order to sort my movies. I have modified the amc.groovy script to add genres to the path as follows. (I tried doing it via the cli but it would use the literal label instead of the genre) mov: tryQuietly{ movieFormat } ?: '''Movies/{any{genre}{'No Genre'}}/{n ...