Ok, I found the problem, it appears to be putting the first result, and the last result of each field 0.
Dreamworks; Movie 1
Dreamworks; Movie 2
Dreamworks; Movie 3
Dreamworks; Movie 4
It's only adding Movie 1, and movie 4 to the mapping.
hmm..
Search found 164 matches
- 01 Jun 2015, 23:14
- Forum: Episode / Movie Naming Scheme
- Topic: CSV Issue
- Replies: 6
- Views: 5575
- 01 Jun 2015, 22:30
- Forum: Episode / Movie Naming Scheme
- Topic: CSV Issue
- Replies: 6
- Views: 5575
Re: CSV Issue
OK, i'll look into that, thank you. I was wondering cause i did extensive testing on it, on this PC and it seemed to work fine, with every test. then i moved it to the pc with my video files and it decided it didn't want to work. also the files, i've noticed sometimes the CSV Files will only work wi...
- 01 Jun 2015, 18:35
- Forum: Episode / Movie Naming Scheme
- Topic: CSV Issue
- Replies: 6
- Views: 5575
CSV Issue
So I'm having a problem with this: {csv('C:/FileBot Settings/Movies/ExtraFileInfo/Test.csv').findResults{ k, v -> k.contains(n) ? "$v" : null }} If I am checking the the csv file for Kung Fu Panda 2, and Both movies are listed in it: Dreamworks: Kung Fu Panda [2008] Dreamworks: Kung Fu Pan...
- 09 Mar 2015, 19:24
- Forum: Episode / Movie Naming Scheme
- Topic: is there a way to detect the different Audio tracks?
- Replies: 3
- Views: 4434
Re: is there a way to detect the different Audio tracks?
Ok, I did that, and in this file specifically, it's showing 3 Audio tracks. But no language set, which I'm sure was not set when it was encoded. that sucks. but it's what I assumed. I wonder if there's a way to edit it to add that info in. Hmm. I'll have to look into that. So with this one (and i'd ...
- 08 Mar 2015, 18:04
- Forum: Episode / Movie Naming Scheme
- Topic: is there a way to detect the different Audio tracks?
- Replies: 3
- Views: 4434
is there a way to detect the different Audio tracks?
So i'm trying to detect the different audio tracks of a video file. {audios.groupBy{ it.language }.collect{ c, a -> a*.language}.flatten()}) seems to work. but i'd guess only if the audio track has an encoded language. I have several videos that have the main audio track, and then a commentary. that...
- 25 Feb 2015, 18:36
- Forum: Episode / Movie Naming Scheme
- Topic: Return multiple results from a single CSV File?
- Replies: 7
- Views: 5354
Re: Return multiple results from a single CSV File?
that's odd, cause it still showed 2. but by swapping the key in the csv file. that worked. Thank you. I never would have thought of that.
- 24 Feb 2015, 17:38
- Forum: Episode / Movie Naming Scheme
- Topic: Return multiple results from a single CSV File?
- Replies: 7
- Views: 5354
Re: Return multiple results from a single CSV File?
I tried: {csv('C:/FileBot Settings/Movies/ExtraFileInfo/Test.csv').findResults{ k, v -> k.contains(n) ? "$v" : null }} and it still came up with the first and last result: here is the csv file for testing (on all of the examples) Mortal Kombat;Super Natural Mortal Kombat;Based on Video Gam...
- 21 Feb 2015, 07:41
- Forum: Episode / Movie Naming Scheme
- Topic: Return multiple results from a single CSV File?
- Replies: 7
- Views: 5354
Re: Return multiple results from a single CSV File?
You know it took me over and hour to finally get the map to display with: {csv('C:/FileBot Settings/Movies/ExtraFileInfo/Test.csv')} as i kept working on variations of the .get() But when I finally did get the map to show, it only showed the first and the last record in the csv file. not the ones in...
- 21 Feb 2015, 05:49
- Forum: Episode / Movie Naming Scheme
- Topic: Return multiple results from a single CSV File?
- Replies: 7
- Views: 5354
Re: Return multiple results from a single CSV File?
I'm not so familiar with Groovy. But thanks for pointing me in the right direction, i'll see if I can get it working.
- 16 Feb 2015, 14:55
- Forum: Episode / Movie Naming Scheme
- Topic: How to rename by episode name and not episode number?
- Replies: 4
- Views: 5316
Re: How to rename by episode name and not episode number?
I would first try to remove the episode number from the filename. See if that helps. Also Those a/b, 11 minute shows, can be difficult to name. as they often are listed online as 2 episodes as 1 full episode. check thetvdb.com or tvrage for the show you are trying to name. to see if they list the ep...
- 15 Feb 2015, 17:09
- Forum: Episode / Movie Naming Scheme
- Topic: Return multiple results from a single CSV File?
- Replies: 7
- Views: 5354
Return multiple results from a single CSV File?
Is there a way to return multiple results from the same CSV File, instead of just the first result? for example, i have several csv file lists of specific movies, like: Mockumentaries, Direct To Video, Banned Films, Remakes, Based on True Stories, and several more. And I want to check them if the mo...
- 14 Feb 2015, 23:04
- Forum: Episode / Movie Naming Scheme
- Topic: Is there a way to allow bigger CSV files to be used?
- Replies: 2
- Views: 2796
Re: Is there a way to allow bigger CSV files to be used?
I've identified a limit to the GUI buffer of about 8,000 characters. Perhaps there is a limit to the 'extended' buffer of external files as 'included' in the format. I can only suggest until red comes in: count the characters in the format & CSVs & see if it suggests anything... Can you fin...
- 13 Feb 2015, 16:05
- Forum: Episode / Movie Naming Scheme
- Topic: Is there a way to allow bigger CSV files to be used?
- Replies: 2
- Views: 2796
Is there a way to allow bigger CSV files to be used?
So I got this great idea, of making a CSV File to hold additional info that can't be found with FileBot. and using it to further organize the movies, or in other cases add additional information when available. The idea was to find lists of movies. and save them into a CSV File. and use that to tell...
- 08 Feb 2015, 19:27
- Forum: Episode / Movie Naming Scheme
- Topic: Adding language names with codecs
- Replies: 6
- Views: 6595
Re: Adding language names with codecs
Hmm. Does anyone know how I would match each of thses: {audios.groupBy{ it.language }.collect{ c, a -> a*.language}.flatten()}) results to a csv file. (to get the full language names example: en;English) this is the csv file; csv('C:/FileBot Settings/All/Locales.csv').get() I just have been having i...
- 07 Feb 2015, 16:55
- Forum: Episode / Movie Naming Scheme
- Topic: Is there A Way to match multiple items against a csv file?
- Replies: 6
- Views: 4887
Re: Is there A Way to match multiple items against a csv fil
Wahoo I got it working with: 3d(?!.*?3d)|fhbs(?!.*?hsbs), etc
.. Main Script updated to reflect this in the naming scheme post as well.
.. Main Script updated to reflect this in the naming scheme post as well.
- 06 Feb 2015, 23:47
- Forum: Episode / Movie Naming Scheme
- Topic: Is there A Way to match multiple items against a csv file?
- Replies: 6
- Views: 4887
Re: Is there A Way to match multiple items against a csv fil
Sorry, I have no brainstorms on streamlining this one - I would be tempted, though, to look at doing more direct .replaceAll's and skip the map, if that's all it the items in it. Not shorter, but simpler. .replaceAll(/(?i:hsbs|halfsbs)/, "Half-SBS") .replaceAll(/(?i:fsbs|fullsbs)/, "...
- 06 Feb 2015, 15:24
- Forum: Episode / Movie Naming Scheme
- Topic: How about sharing our format expressions?
- Replies: 33
- Views: 495303
DevXen's Enhanced MOVIE Perfection Naming Scheme
DevXen's Enhanced MOVIE Perfection Naming Scheme Here is my naming scheme For Movies, I've worked on for the last couple weeks on. The goal was to make it as automated as possible by anticipating every scenario I could think of. If I have missed anything, or you find any bugs, or you come up with a...
- 05 Feb 2015, 21:51
- Forum: Episode / Movie Naming Scheme
- Topic: Is there A Way to match multiple items against a csv file?
- Replies: 6
- Views: 4887
Re: Is there A Way to match multiple items against a csv fil
The issue i'm having now is: Using mapping (to correctly label 3D movies) i'm having issues, matching 'hou' but not also matching 'house' the map= as far as I can tell, really doesn't like regex, which is too bad, cause it'd be much easier to do: /hsbs|halfsbs|h?sbs/: 'Half-SBS' but I wasn't able to...
- 05 Feb 2015, 04:38
- Forum: Episode / Movie Naming Scheme
- Topic: why is this adding square brackets/how do you remove them?
- Replies: 4
- Views: 8846
Re: why is this adding square brackets/how do you remove the
I'm also having issues with: {def map=[/rifftrax/:'RiffTrax','Mini-Series':'Mini']; file.path.lower().replaceAll(/[\W]/, "").matchAll(/monstervision|rifftrax/).findResults{ map[it] }.sort{ map.values().indexOf(it)}} showing the [] when the match isn't found. and i haven't been able to get ...
- 04 Feb 2015, 13:03
- Forum: Episode / Movie Naming Scheme
- Topic: why is this adding square brackets/how do you remove them?
- Replies: 4
- Views: 8846
Re: why is this adding square brackets/how do you remove the
What you're seeing is the Default String Representation of that List Object. If you want something else you need to build the String yourself: e.g. {genres.join(', ')} ok. thank you. is there any way to use .displayLanguage with audios.language? I'm trying to do an any{}{} that checks the encoded l...
- 03 Feb 2015, 22:23
- Forum: Episode / Movie Naming Scheme
- Topic: why is this adding square brackets/how do you remove them?
- Replies: 4
- Views: 8846
why is this adding square brackets/how do you remove them?
A few things i've noticed have Square brakcets added like: {info.SpokenLanguages.displayLanguage} which shows as: [English] also {genres} shows: [Drama], [Drama, Fantasy], etc I have tried several things for the last couple hours, from: .replace(), to .replaceAll(), to .replaceTrailingBrackets(). et...
- 03 Feb 2015, 04:15
- Forum: Episode / Movie Naming Scheme
- Topic: Rename absolute episode number files to s00e00?
- Replies: 9
- Views: 8389
Re: Rename absolute episode number files to s00e00?
Many thanks for the link, rednoah, It does not seem to be that easy. So you manually have to check each absolute espisode number against the relative number and sort each episode manually, if I am right. Many thanks again. I think what you're left with is a manual rename. Filebot is just using the ...
- 03 Feb 2015, 04:07
- Forum: Episode / Movie Naming Scheme
- Topic: Is there A Way to match multiple items against a csv file?
- Replies: 6
- Views: 4887
Re: Is there A Way to match multiple items against a csv fil
I "think" you mean this post, where I needed to find if a list item existed, in a specific order: http://www.filebot.net/forums/viewtopic.php?f=8&t=2263#p13498 Maybe you can use that as a baseline... yeah that's the one i got the example i posted, and the base I was working with. and ...
- 02 Feb 2015, 19:15
- Forum: Episode / Movie Naming Scheme
- Topic: Is there A Way to match multiple items against a csv file?
- Replies: 6
- Views: 4887
Is there A Way to match multiple items against a csv file?
I thought I saw something here on the forums last week that would do this. I have a couple things like this, i'd like to simplify: {if (file.path.matchAll(/monstervision/))('[MonsterVision]/')}{if (file.path.matchAll(/rifftrax/))('[RiffTrax]/')}{if (file.path.matchAll(/fan.edit|fanedit/))('[FanEdits...
- 02 Feb 2015, 18:38
- Forum: Episode / Movie Naming Scheme
- Topic: Using the GUI, can i save the movie title to a csv file?
- Replies: 4
- Views: 4063
Re: Using the GUI, can i save the movie title to a csv file?
Oh. that sucks. I was thinking that would be a great way to keep a catalog of my videos. that would get updated everytime i used it rename/organize files. oh well. thank you anyways.