Thanks MrC
I am liking the new regex expression.
There is no need for test mode and I am happy for this.
I didn't even know what regex was until 2 days ago, so the simpler the better.
A Summary for anyone who may be reading this in confusion....
My videos are all organized in a consistant folder structure.
ie. the same number of folders regardless of weather its tv, movie, music, etc.
This folder structure is a modification of what I explained here
http://yabb.jriver.com/interact/index.php?topic=56096.0Here is my folder structure for dvds, blu-rays, and other video shown with tv show fields
Video\[Video Type]\[Media Sub Type]\[Series]\[Season] ([Album]_[Year])\[Episode]_\VIDEO_TS
Video\[Video Type]\[Media Sub Type]\[Series]\[Season] ([Album]_[Year])\[Episode]_\BDMV
Video\[Video Type]\[Media Sub Type]\[Series]\[Season] ([Album]_[Year])\[Episode]_
Video type is either DVD, DVD-Audio, Other-Video, Blu-ray, or DVD-Shrunk
If a movie isn't in a series i use "- No Series" as its value/folder name
I use the album field because panes with album thumbnails is my preferred view.
This is the latest version of the regex expression that MrC made for me:
regex([Filename],/#\\Video\\(.+?)\\(TV Show|Movie|Other|Music Video|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,1)
This expression retrieves 7 different values.
By changing the last number to 1,2,3,4,5,6,7 it retrieves the respective value.
MC only applies the expession to the videos that match the expressions included media sub types.
So if it includes (TV Show|Movie|Other|Music Video|Home Video) the its applied to TV Shows, Movies, Other, Music, Video, Home Videos.
If it includes (TV Show|Movie) its only applied to TV Shows, and Movies.
If a files media sub type isn't included, its field is left blank.
I made 7 new calculated fields like so...
Regex Match 1 [Regex Video Type]
regex([Filename],/#\\Video\\(.+?)\\(TV Show|Movie|Other|Music Video|Adult|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,1)
Regex Match 2 [Regex Media Sub Type]
regex([Filename],/#\\Video\\(.+?)\\(TV Show|Movie|Other|Music Video|Adult|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,2)
Regex Match 3 [Regex Series]
regex([Filename],/#\\Video\\(.+?)\\(TV Show|Movie|Other|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,3)
Regex Match 3 [Regex Artist]
regex([Filename],/#\\Video\\(.+?)\\(Music Video|Adult)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,3)
Regex Match 4 [Regex Season]
regex([Filename],/#\\Video\\(.+?)\\TV Show\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,4)
Regex Match 4 [Regex Name]
regex([Filename],/#\\Video\\(.+?)\\(Movie|Other|Music Video|Adult|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,4)
Regex Match 5 [Regex Album]
regex([Filename],/#\\Video\\(.+?)\\(TV Show|Movie|Other|Music Video|Adult|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,5)
Regex Match 6 [Regex Year]
regex([Filename],/#\\Video\\(.+?)\\(TV Show|Movie|Other|Music Video|Adult|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,6)
Regex Match 7 [Regex Episode]
regex([Filename],/#\\Video\\(.+?)\\TV Show\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,7)
Regex Match 7 [Regex Installment]
regex([Filename],/#\\Video\\(.+?)\\(Movie|Other|Music Video|Adult|Home Video)\\(.+?)\\(.+?)\s+\((.+)_(\d{1,4})\)\\(.+?)_#/,7)
Then In Auto Import Tag options I entered the following for each drive
It took a while. The Import/Export but would be nice here.
[Video Type]: [Regex Video Type]
[Media Sub Type]: [Regex Media Sub Type]
[Series]: [Regex Series]
[Artist]: [Regex Artist]
[Season]: [Regex Season]
[Name]: [Regex Name]
[Album]: [Regex Album]
[Year]: [Regex Year]
[Episode]: [Regex Episode]
[Installment]: [Regex Installment]
I then deleted all videos and hit the auto import button.
It took a few minutes, but 1800 videos were re-imported perfectly tagged.
In theater/category views I have a sub view for each media sub type and view like this
TV Show-->Series-->Season-->Episode
Movie-->Series-->Name-->Installment
Home Video-->Series-->Name-->Installment
Other-->Series-->Name-->Installment (This is for documentaries)
Music Videos-->Artist-->Name-->Installment
In standard view I use one view for all videos.
It is a pane view with album thumbnails.
I use lists to combine multiple fields.
These are how the panes are ordered
Video Type|Year|Media Sub Type|Series/Artist|Season/Name|Episode/Installment
I think im set for now MrC, but suggestions for improvements are always welcome.
Im sure things will change more when i start using MC's new scraper, but i will be sure
to add updates in case anyone else finds this useful.