iDentify 2 metadata tagger

Random chit-chat and anything that doesn't belong elsewhere
Post Reply
ArrMiHardies
Posts: 47
Joined: Tue Dec 02, 2008 6:03 am

iDentify 2 metadata tagger

Post by ArrMiHardies » Sun May 02, 2010 6:53 pm

Hey guys,
Some of you already use identify to automatically pull down metadata info for your files and tag it.
What you may not know is iDentify 2 was released recently. The new version of iDentify was rebuilt from the ground up in cocoa, not perl (as with iDentify 1) and includes a full gui for editing tags either singly or in batches. It uses theMovieDB, TheTVDB, and tagChimp for datasources. Basic functionality is (and always will be) free and without nags, while some of the advanced features (such as file renaming, auto add to itunes, finder labels, and more, with more on the way) require registration (only 9.95).
The newest version (build 232) is still sitting in the MacUpdate approval queue at this moment, but can be downloaded from the developers site http://identifyapp.wordpress.com
This is the MacUpdate Listing: http://www.macupdate.com/info.php/id/33814/identify-2
Currently, its sitting at about 4.8 stars on MU
I hope you guys like it too. I've spent a lot of time on it.
Constructive criticism is appreciated, and I'm very responsive if you encounter any difficulties.
Enjoy!

ccjensen
Posts: 48
Joined: Tue Jun 03, 2008 11:09 am

Re: iDentify 2 metadata tagger

Post by ccjensen » Sun May 02, 2010 9:14 pm

Gave it a try. Does a good job of tv shows, but didn't seem too accepting when it comes to my naming scheme:

Code: Select all

/Volumes/Media/TV/TVShowname/TVShowname - Season 1/TVShowname - S01E01 - Episode Name.m4v
It didn't do so well with movies. Is there a specific naming scheme required, or is perhaps failing because of themoviedb's recent change to a newer api version?
Is there any chance you could add a "debug" setting in the preferences, cause I'd rather not have my console filled with so much output. Stuff like this def seems a bit overkill for regular logging:

Code: Select all

02/05/2010 21:39:53	iDentify[26859]	current index: 0, count: 0  ::  using index: 0 count: 0
02/05/2010 21:39:53	iDentify[26859]	thisReg: ^(?:.*/)((?:(.*?))?\W?((?:19|20)\d{2})\W?(?:\W*([^\/]+?))?\.(mp4|m4v))$
02/05/2010 21:39:53	iDentify[26859]	current index: 1, count: 0  ::  using index: 0 count: 0
02/05/2010 21:39:53	iDentify[26859]	thisReg: ^(?:.*/)((?:(.*?)[\/\s._-]*)?\W?((\d{1,2})[x\/](\d{1,2}))(?:-(?:\d{1,2}x)?(?:\d{1,2}))?\W?(?:[/\s._-]*([^\/]+?))?\.(mp4|m4v))$
02/05/2010 21:39:53	iDentify[26859]	current index: 2, count: 6  ::  using index: 0 count: 0
02/05/2010 21:39:53	iDentify[26859]	thisReg: ^(?:.*/)((?:(.*?)[\/\s._-]+)?(?:s|se|season|series)[\s._]?(\d{1,2})(?:[\/\s._-]*([^\/]+?))?\.(mp4|m4v))$
02/05/2010 21:39:53	iDentify[26859]	New index: 2, count: 6
02/05/2010 21:39:53	iDentify[26859]	current index: 3, count: 4  ::  using index: 2 count: 6
02/05/2010 21:39:53	iDentify[26859]	thisReg: ^(?:.*/)((.*?)\.(mp4|m4v))$
02/05/2010 21:39:53	iDentify[26859]	current index: 4, count: 0  ::  using index: 2 count: 6
02/05/2010 21:39:53	iDentify[26859]	thisReg: ^(?:.*/)((?:.*?)*?:(.*?)[/\s._-]+)?(S(\d{1,2})[x/\s._-]*E[\s._-]?(\d{1,2}))(?:[/\s._-]*)(.*?)\.(mp4|m4v))$
02/05/2010 21:39:53	iDentify[26859]	current index: 5, count: 0  ::  using index: 2 count: 6
02/05/2010 21:39:53	iDentify[26859]	thisReg: ^(?:.*/)((.*?)?(?:\W*?((?:19|20)\d{2})\W?)?(?:[\/\s._-]*\[?((?:(?:imdb|tt)?[\s._-]*)?(?:\d{7}))\]?)(?:[\s._-]*([^\/]+?))?\.(mp4|m4v))$
02/05/2010 21:39:53	iDentify[26859]	current index: 6, count: 0  ::  using index: 2 count: 6
02/05/2010 21:39:54	iDentify[26859]	thisReg: ^(?:.*/)((?:(.*?)[/\s._-]+)?(?:(?:d|dvd)|(?:disc|disk))[\s._]?(\d{1,2})[x/\s._-]*(?:(?:e|ep)|(?:episode))[\s._]?(\d{1,2})(?:-?(?:(?:e|ep)[\s._]*)?(\d{1,2}(?:\.\d{1,2})?))?(?:[\s._]?(?:p|part)[\s._]?(\d+))?([a-z])?(?:[/\s._-]*([^/]+?))?\.(mp4|m4v))$
02/05/2010 21:39:54	iDentify[26859]	current index: 7, count: 11  ::  using index: 2 count: 6
02/05/2010 21:39:54	iDentify[26859]	thisReg: ^(?:.*/)((?:(.*?)[/\s._-]+)((?:s|se|season|series)[\s._-]?(\d{1,2})[x/\s._-]*(?:e|ep|episode|[/\s._-]+)[\s._-]?(\d{1,2}))(?:-?(?:(?:e|ep)[\s._]*)?(\d{1,2}))?(?:[\s._]?(?:p|part)[\s._]?(\d+))?([a-z])?(?:[/\s._-]*([^\/]+?))?\.(mp4|m4v))$
02/05/2010 21:39:54	iDentify[26859]	New index: 7, count: 11
02/05/2010 21:39:54	iDentify[26859]	fullPath = /Volumes/Drobo/TV/showname/showname - Season 1/showname - S01E01 - episodename.m4v
02/05/2010 21:39:54	iDentify[26859]	fileName = showname - S01E01 - episodename.m4v.m4v
02/05/2010 21:39:54	iDentify[26859]	tagShowName = showname
02/05/2010 21:39:54	iDentify[26859]	tagEpisodeID = S01E01
02/05/2010 21:39:54	iDentify[26859]	tagSeasonNumber = 01
02/05/2010 21:39:54	iDentify[26859]	tagEpisodeNumber = 01
02/05/2010 21:39:54	iDentify[26859]	None = 
02/05/2010 21:39:54	iDentify[26859]	None = 
02/05/2010 21:39:54	iDentify[26859]	None = 
02/05/2010 21:39:54	iDentify[26859]	tagTitle = episodename.m4v
02/05/2010 21:39:54	iDentify[26859]	fileExtension = m4v
02/05/2010 21:39:54	iDentify[26859]	Replace Periods Smartly
02/05/2010 21:39:54	iDentify[26859]	temp: episodename.m4v
02/05/2010 21:39:54	iDentify[26859]	Replace Periods Smartly
02/05/2010 21:39:54	iDentify[26859]	temp: showname
02/05/2010 21:39:54	iDentify[26859]	Getting Tags From File
02/05/2010 21:39:54	iDentify[26859]	
key: name
value:Purple Giraffe
02/05/2010 21:39:54	iDentify[26859]	name = episodename.m4v
02/05/2010 21:39:54	iDentify[26859]	
key: artist
value:How I Met Your Mother
02/05/2010 21:39:54	iDentify[26859]	artist = showname
02/05/2010 21:39:54	iDentify[26859]	
key: albumArtist
value:How I Met Your Mother
02/05/2010 21:39:54	iDentify[26859]	albumArtist = showname
02/05/2010 21:39:54	iDentify[26859]	
key: album
value:How I Met Your Mother - Season 1
02/05/2010 21:39:54	iDentify[26859]	album = showname - Season 1
02/05/2010 21:39:54	iDentify[26859]	
key: grouping
value:(null)
02/05/2010 21:39:54	iDentify[26859]	grouping = (null)
02/05/2010 21:39:54	iDentify[26859]	
key: composer
value:(null)
02/05/2010 21:39:54	iDentify[26859]	composer = (null)
02/05/2010 21:39:54	iDentify[26859]	
key: comments
value:tagged by mp4tvtags
02/05/2010 21:39:54	iDentify[26859]	comments = tagged by
02/05/2010 21:39:54	iDentify[26859]	
key: genre
value:Comedy
02/05/2010 21:39:54	iDentify[26859]	genre = Comedy
02/05/2010 21:39:54	iDentify[26859]	
key: releaseDate
value:2005-09-26T09:00:00Z
02/05/2010 21:39:54	iDentify[26859]	results:, 4, (
    "2005-09-26",
    2005,
    09,
    26
)
02/05/2010 21:39:54	iDentify[26859]	releaseDate = 2005-09-26T09:00:00Z
02/05/2010 21:39:54	iDentify[26859]	
key: tvShow
value:How I Met Your Mother
02/05/2010 21:39:54	iDentify[26859]	tvShow = showname
02/05/2010 21:39:54	iDentify[26859]	
key: tvNetwork
value:CBS
02/05/2010 21:39:54	iDentify[26859]	tvNetwork = CBS
02/05/2010 21:39:54	iDentify[26859]	
key: tvEpisodeID
value:1ALH01
02/05/2010 21:39:54	iDentify[26859]	tvEpisodeID = 1XXX01
Finally, are you still using AtomicParsley or have you switched to the mp4v2 library?

ArrMiHardies
Posts: 47
Joined: Tue Dec 02, 2008 6:03 am

Re: iDentify 2 metadata tagger

Post by ArrMiHardies » Mon May 03, 2010 4:17 am

I'm actually already in the process of adding some custom debugging code. Just a lot of logging to move to my new method. Judging from the console output, it looks like you might still be running build 224. Might want to give 232 a try. If my debuggin change is working correctly, it should get cut down a lot.

I actually use the same naming scheme for my file names, though not the folder structure. I'll see if I can't see what is going on. It probably has a lot to do with the sheer amount of times you include the tv show name throughout the entire path. Listing it 3 times seems a bit excessive to me, but I'm sure I can add support for it.

I have in fact switched to the mp4v2 library. AtomicParsley hasn't been updated in years.

If you are running build 232 all the changes for the new TMDB API should already be in place.
No specific naming scheme is required, though it does help tremendously if you include the imdb code in the file name.

However, the upside of iD 2 over iD 1 is that you can now edit tags. And they can be edited in batches. So, say the lookup failed for your tv series, just select all the files in question, correct the info in iDentify to match the data sources, and click rescan. Back in iD1 the only way to correct or get a successful lookup was to rename the file. Thats not the case anymore.

ccjensen
Posts: 48
Joined: Tue Jun 03, 2008 11:09 am

Re: iDentify 2 metadata tagger

Post by ccjensen » Mon May 03, 2010 9:14 am

nope, still getting the same excessive logging in build 232:

Code: Select all

03/05/2010 10:00:43	iDentify[21089]	AppController: init
03/05/2010 10:00:43	iDentify[21089]	AppController: initRegExs
03/05/2010 10:00:43	iDentify[21089]	AppController: updateRegistration
03/05/2010 10:00:43	iDentify[21089]	init
03/05/2010 10:00:43	iDentify[21089]	AppController: awakeFromNib
03/05/2010 10:00:43	iDentify[21089]	awake
…
03/05/2010 10:13:50	iDentify[22660]	
key: sortAlbumArtist
value:(null)
03/05/2010 10:13:50	iDentify[22660]	sortAlbumArtist = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: sortComposer
value:(null)
03/05/2010 10:13:50	iDentify[22660]	sortComposer = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: sortTVShow
value:(null)
03/05/2010 10:13:50	iDentify[22660]	sortTVShow = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: copyright
value:(null)
03/05/2010 10:13:50	iDentify[22660]	copyright = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: encodingTool
value:HandBrake svn2912 2009110501
03/05/2010 10:13:50	iDentify[22660]	encodingTool = HandBrake svn2912 2009110501
03/05/2010 10:13:50	iDentify[22660]	
key: encodedBy
value:(null)
03/05/2010 10:13:50	iDentify[22660]	encodedBy = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: purchaseDate
value:(null)
03/05/2010 10:13:50	iDentify[22660]	purchaseDate = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: category
value:(null)
03/05/2010 10:13:50	iDentify[22660]	category = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: iTunesAccount
value:(null)
03/05/2010 10:13:50	iDentify[22660]	iTunesAccount = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: genreType
value:(null)
03/05/2010 10:13:50	iDentify[22660]	genreType = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: tempo
value:(null)
03/05/2010 10:13:50	iDentify[22660]	tempo = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: compilation
value:(null)
03/05/2010 10:13:50	iDentify[22660]	compilation = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: tvSeason
value:1
03/05/2010 10:13:50	iDentify[22660]	season: 1
03/05/2010 10:13:50	iDentify[22660]	tvSeason = 1
03/05/2010 10:13:50	iDentify[22660]	
key: tvEpisode
value:2
03/05/2010 10:13:50	iDentify[22660]	tvEpisode = 2
03/05/2010 10:13:50	iDentify[22660]	
key: podcast
value:(null)
03/05/2010 10:13:50	iDentify[22660]	podcast = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: artworkCount
value:(null)
03/05/2010 10:13:50	iDentify[22660]	artworkCount = (null)
03/05/2010 10:13:50	iDentify[22660]	
key: hdVideo
value:0
03/05/2010 10:13:50	iDentify[22660]	hdVideo = 0
03/05/2010 10:13:50	iDentify[22660]	
key: mediaType
value:TV Show
I might have misspoken when I said it didn't like my naming scheme, it seems to be working fine today. Perhaps it was the new build that got it sorted…

Do you have any support forums of your own? seems a bit wrong to be using handbrake's forums...

ArrMiHardies
Posts: 47
Joined: Tue Dec 02, 2008 6:03 am

Re: iDentify 2 metadata tagger

Post by ArrMiHardies » Mon May 03, 2010 2:43 pm

I just have the wordpress page linked above. You can always just post comments under the respective builds there. Or just e-mail me. E-mail would actually get the fastest response.

ArrMiHardies
Posts: 47
Joined: Tue Dec 02, 2008 6:03 am

Re: iDentify 2 metadata tagger

Post by ArrMiHardies » Thu May 06, 2010 10:50 pm

FYI: just found the cause of all my debugging code getting logged instead of just the intended stuff. You should see a large decrease in the amount written to your console starting next release, and even less as I complete the conversion to my new debugging setup.

the setup is pretty simple really, I just have a preferences store a "debugLevel". and I give each debug message a debuggingLevel. If the messages' level is equal to or less than the value in the preferences, it appears in the log. I simply had an operand pointing the wrong way (was erroneously using greater than instead of less than)

ccjensen
Posts: 48
Joined: Tue Jun 03, 2008 11:09 am

Re: iDentify 2 metadata tagger

Post by ccjensen » Fri May 07, 2010 1:06 am

cool, looking forward to the next release!

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: iDentify 2 metadata tagger

Post by dynaflash » Fri May 07, 2010 4:23 pm

ArrMiHardies wrote:I have in fact switched to the mp4v2 library. AtomicParsley hasn't been updated in years.
Just gave it a quick test and initially it looks pretty nice. Using libmp4v2 and switching to cocoa are both in my mind massive selling points. Afaik its the best mp4 muxer/tagging lib currently (as well wickedly compatible with hb encodes). While I very much enjoy using Subler, the tag lookup features in ID2 are very nice if tagging is all a person is worried about. Will run a few more through ID2 and see how she goes. Nice job and good luck with the app!
Last edited by dynaflash on Fri May 07, 2010 5:05 pm, edited 1 time in total.
Reason: Rewrite comments on libmp4v2

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: iDentify 2 metadata tagger

Post by dynaflash » Fri May 07, 2010 4:26 pm

Quick question ... I assume you are preserving HB's 64 bit mp4 correctly ...

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: iDentify 2 metadata tagger

Post by dynaflash » Fri May 07, 2010 5:02 pm

Okay, one note. The progress bar seems to get stuck at full progress though obviously the file is not done muxing. build 232. Went to full progress quite quickly then sat at full with no feeback for quite some time. Though I do see it in your acknowledgements window
"Fix the occasional random progress bar glitches" ;)

While it was mentioned above, a user accessible Activity window (yes, ala HB ;) might be helpful if its possible (yes, I know you use HB a fair amount). Again, not whining, just tossing stuff out there. Nice job.

dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: iDentify 2 metadata tagger

Post by dynaflash » Fri May 07, 2010 5:12 pm

ccjensen wrote:Do you have any support forums of your own? seems a bit wrong to be using handbrake's forums...
As long as its in tiki bar in hb's forums there is nothing wrong with it being here until/if he gets his own forums setup. ArrMiHardies can use the tiki bar as much as need be. Subler does the same. It is quite likely that users of Identify pre-processed with hb so there is no confict of any sort as far as I am concerned.

ArrMiHardies
Posts: 47
Joined: Tue Dec 02, 2008 6:03 am

Re: iDentify 2 metadata tagger

Post by ArrMiHardies » Sat May 08, 2010 2:24 am

dynaflash wrote:Quick question ... I assume you are preserving HB's 64 bit mp4 correctly ...
I haven't been able to test with files >4GB yet. But I use the appleTV preset in my HB encode which has 64 bit support enabled. I don't know why it wouldn't work.

ArrMiHardies
Posts: 47
Joined: Tue Dec 02, 2008 6:03 am

Re: iDentify 2 metadata tagger

Post by ArrMiHardies » Wed Sep 08, 2010 4:48 am

There have been lots and lots of stability and glitch fixes since I last posted here. I hope you guys find the improvements welcome.
I would love to see some integration with handbrake like how handbrake can send the file to metaX. Rodney is a good guy, but I don't think metaX has been updated in a long time. I've had a few users report they switched to iDentify after metaX corrupted their HD encodes.

jbrjake
Veteran User
Posts: 4805
Joined: Wed Dec 13, 2006 1:38 am

Re: iDentify 2 metadata tagger

Post by jbrjake » Wed Sep 08, 2010 2:18 pm

ArrMiHardies wrote:I would love to see some integration with handbrake like how handbrake can send the file to metaX..
Err.... https://trac.handbrake.fr/changeset/3068

ArrMiHardies
Posts: 47
Joined: Tue Dec 02, 2008 6:03 am

Re: iDentify 2 metadata tagger

Post by ArrMiHardies » Wed Sep 08, 2010 11:48 pm

i can't believe I missed that. I guess I've been wanting it for so long, I stopped looking to see if it was there. Or if I did I just glanced and saw MetaX there and moved on.

Post Reply