Help - Search - Members - Calendar
Full Version: iTSfv - iTunes Store file validator
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
kanak
QUOTE(~*McoreD*~ @ Sep 3 2007, 20:31) *

kanak, you are quite welcome to see the source yourself. smile.gif
iTSfv is open source as of version 5.5.2.1.


Thank you for your prompt reply!

Also, i just ordered an ipod, and i'm in the process of making my files to be "itunes/ipod friendly". My tags are stored in ID3v1 + APEV2, and I noticed that itunes can't read the ape tags. What irks me is that my genre tags (the custom ones like "alternative pop") and my rating tags appear to be stored in the ape tag and do not display in itunes (the normal ones like "blues" do display). I was wondering if there's a way your program could help me out in this matter.
Bluenote
Nice utility! I am particularly fascinated by the option to "adjust the rating according to play pattern for all tracks in library". The thing is, how exactly does this work? Does it scale the ratings according to play count, as the manual suggests? I'm asking because even my most played track doesn't score 5 stars, just 4.5.

Could you give a quick explanation of the algorithm involved?

Thanks!
~*McoreD*~
QUOTE(urlwolf @ Sep 6 2007, 01:07) *

Latest version 5.7.2 seems to be working. it read the entire itunes library, but then it got stuck in one album and the progress bar didn't move. No error reports.

I have tried several times. It gets stuck in exactly the same album (vangelis - masks).

Just a quick question.
The installer talks about a manual, but there's no pdf in the install directory. Are you working on that, or did I get a damaged distribution package that comes with no manual (got it from sourceforge)?

Thanks,


urlwolf,

Let me get some facts right.

You pressed Validate iTunes Music Library.
iTSfv parses the iTunes Music Library... 100%
iTSfv reads the tracks and sorts into albums (you can see in Album Browser)... 100%
Now when it starts validation, it gets stuck at Vangelis - Masks.

I have emailed a crash loggable build - 5.7.2.2 so if you could please retry and send me the log that would be nice.


urlwolf
hmm, I haven't received any mail? which email did you send it to? (don't post it here smile.gif ) did it start with 'q'?
Thanks!
~*McoreD*~
QUOTE(urlwolf @ Sep 6 2007, 21:13) *

hmm, I haven't received any mail? which email did you send it to? (don't post it here smile.gif ) did it start with 'q'?
Thanks!


Ok don't worry, urlwolf. It didn't start with q and it is a different guy then.

Can you download this zip file

http://wmwiki.com/downloads/itsfv/beta/iTS...7.2.2-setup.zip

Cheers,
McoreD
~*McoreD*~
QUOTE(Bluenote @ Sep 6 2007, 20:52) *

Nice utility! I am particularly fascinated by the option to "adjust the rating according to play pattern for all tracks in library". The thing is, how exactly does this work? Does it scale the ratings according to play count, as the manual suggests? I'm asking because even my most played track doesn't score 5 stars, just 4.5.

Could you give a quick explanation of the algorithm involved?

Thanks!


Bluenote, glad you like the idea.

It not only takes the playedCount but other factors like LastPlayedDate, DateAdded, and SkippedCount. You can fine tune how much weight each of these factors should have for calculating the rating via Options. For example, if you don't like the idea of having SkippedCount involved, then you can have 0% weight for it and disable its influence completely. It also takes into account of song Length. So obviously if you played a 8 minute song 50 times and a 4 minute song 50 times, then the 8 minute song is gonna get more stars than the 4 minute song.

Some developer discussion was carried in this thread:
http://forums.ilounge.com/showthread.php?t...t=automatically
thought it was interesting to mention.

You most played track didn't score 5 stars probably because you didn't listen to it recently enough or the track's length was lower than the average length of a track in the library. Like I said, there are many factors involved.

QUOTE(kanak @ Sep 6 2007, 20:37) *

Thank you for your prompt reply!

Also, i just ordered an ipod, and i'm in the process of making my files to be "itunes/ipod friendly". My tags are stored in ID3v1 + APEV2, and I noticed that itunes can't read the ape tags. What irks me is that my genre tags (the custom ones like "alternative pop") and my rating tags appear to be stored in the ape tag and do not display in itunes (the normal ones like "blues" do display). I was wondering if there's a way your program could help me out in this matter.


While Mp3Tag would be your *best* bet to read APE tags and write them as ID3v2 tags,

http://www.mp3tag.de/en/download.html

iTSfv will be able to generate reports for you on what tracks will be missing what tags.

http://wmwiki.com/downloads/itsfv/tracks-2...T12-report.html
http://wmwiki.com/downloads/itsfv/tracks-2...T09-report.html

If at least one of the tracks will have genre tag then iTSfv will fill the rest of the tracks with that genre. Same for artwork. smile.gif
Jose Hidalgo
(oops - sorry)
~*McoreD*~
QUOTE(germanjulian @ Sep 6 2007, 18:34) *

Hi,

A few questions cause I do not seem to get the program and what each feature does and I do not have a lot of time, these are somewhat itunes questions too, but you guys seem to know what you are doing.

First of all a weird bug: I did the scan and fix and capitalize the first letters and it decapitalized the artists… but did capitalize other stuff… wuppps. Took a while to fix cause I didn’t test first… smile.gif

Here are my questions:
1. Some albums of mine do not have track numbers in the mp3 tag. Some way of guessing them of just assigning them from 1 to x automatically depending on how it is listed in the playlist (should mostly be correct)
2. Cover Flow artwork. I cleaned all my mp3 of embedded artwork and downloaded album covers using itunes. There are plenty of artists without album artwork (radiohead even? And tool?) and I was wondering what happens if I do embed artwork into the id3 heards. I hate bad quality album art but if I drag a 300x300 jpg into the artwork my mp3 sizes will increase dramatically I presume? Is there some way to add cover flow only artwork from external sources into itunes?
3. For some reason even the songs with Cover Flow artwork from itunes store do not always have a thumbnail artwork on my ipod, even though I can view the full screen artwork fine?!
4. ID header versions…. Sight. Itunes does 2.4. however I think 2.3 might be more compatible with most other mp3 headers and windows? Which version of header should I use? I added some new albums and they did not have any id3 info in itunes however wmp sees them and another tagging program does?
5. Lyrics: yes or no? how much kb does it add to an mp3 and do you guys use it.
6. what can itsfv do? Is there some manual?


Oops! ohmy.gif That's indeed a bug. It was after I was trying to incorporate some enhancements.
http://www.hydrogenaudio.org/forums/index....st&p=514348
I hope odyssey can share this function to incorporate in iTSfv. I can't get my head around get it right at the moment.

So I decided to fall back to original simple function

CODE
    Private Function ffGetFixedCapitalString(ByVal tag As String) As String

        Console.WriteLine(ffGetFixedCapitalString2(tag))

        tag = StrConv(tag, VbStrConv.ProperCase)

        ' never replace different words here or iTunes would't find them
        tag = tag.Replace("Dj ", "DJ ")
        tag = tag.Replace("Feat", "feat")

        Return tag

    End Function


from the buggy

CODE
    Private Function ffGetFixedCapitalString2(ByVal tag As String) As String

        Dim simpleWords As String() = {"at", "by", "for", "from", "in", "into", "of", "off", "on", "onto", "out", "over", "to", "up", "with", "and", "but", "or", "nor", " a ", "an", "the"}
        tag = StrConv(tag, VbStrConv.ProperCase)
        Dim tagWords As String() = tag.Split(CChar(" "))

        ' get non-numeric words collection
        Dim scWords As New System.Collections.Specialized.StringCollection
        For Each tagWord As String In tagWords
            If Not IsNumeric(tagWord) Then
                scWords.Add(tagWord)
            End If
        Next

        ' simple the required words
        For Each simpleWord As String In simpleWords
            For Each tagWord As String In tagWords
                If tagWord = (StrConv(simpleWord, VbStrConv.ProperCase)) Then
                    If tagWord <> scWords(0) Or tagWord <> scWords(scWords.Count - 1) Then
                        tagWord = simpleWord ' take simple form
                    End If
                End If
            Next
        Next

        ' reconcontruct tag
        tag = String.Empty
        For Each tagWord As String In tagWords
            tag = tag + tagWord + " "
        Next
        tag = tag.Trim

        ' never replace different words here or iTunes would't find them
        tag = tag.Replace("Dj ", "DJ ")
        tag = tag.Replace("Feat", "feat")

        MsgBox(tag)

        Return tag

    End Function


for now. If odyssey you can help out in this regard, that would be really nice! smile.gif


1. iTSfv 5.7.1.0 and above will automatically add Track Number while adding new tracks to iTunes via iTSfv.
Here is how: http://wmwiki.com/downloads/itsfv/itsfv-ad...v-add-album.htm

2. MP3 file will increase by the size of the artwork. Extra 50 KiB per file will roughly add 750 KiB extra for an album. I don't think that's really much. Personally I highly prefer embedding so the artwork is with the track anywhere you go. Afaik there is no external way as of yet to inject Artwork into iTunes Artwork database without iTMS downloading or embedding.

3. This happens when the track has no embedded artwork. If the track has embedded artwork it will definitely display it. iTunes is supposed to take care of this even if the artwork is not embedded, but it doesn't seem to work always. Once again, embedding would be the best solution.

4. I'd go with ID3v2 2.3 as it is both WMP and iTunes readable.

5. I add Lyrics as necessary. The file size will only increase only a slight bit.

6. Here is a PDF manual: http://itsfv.cvs.sourceforge.net/*checkout...df?revision=1.1 smile.gif

Cheers,
McoreD

urlwolf, For beta versions, I haven't included the PDF in the setup to keep the file size small. smile.gif
Bluenote
QUOTE(~*McoreD*~ @ Sep 6 2007, 16:09) *

It not only takes the playedCount but other factors like LastPlayedDate, DateAdded, and SkippedCount. You can fine tune how much weight each of these factors should have for calculating the rating via Options. For example, if you don't like the idea of having SkippedCount involved, then you can have 0% weight for it and disable its influence completely. It also takes into account of song Length. So obviously if you played a 8 minute song 50 times and a 4 minute song 50 times, then the 8 minute song is gonna get more stars than the 4 minute song.

Some developer discussion was carried in this thread:
http://forums.ilounge.com/showthread.php?t...t=automatically
thought it was interesting to mention.

You most played track didn't score 5 stars probably because you didn't listen to it recently enough or the track's length was lower than the average length of a track in the library. Like I said, there are many factors involved.


Thanks for the quick and helpful reply, McoreD - a fascinating read! And I even understood some of it. tongue.gif Didn't realize the weightings were adjustable, have been playing around with them and looking at the results. At any rate, I think it's a great idea!

Thanks again for your useful and well-written program.
germanjulian
thanks from me as well. good work. best itunes app i have ever seen (best music program after foobar as well)


mh so I do select only the box

Check for tracks without artwork and in tracks I select "import artwork from Artwork.jpg" and hit validate selected tracks.. it scans and doesnt do anything... as it doesnt import the artwork into the file
Jose Hidalgo
EDIT : Forget about this post, I think I've finally begun to made it work - silly me !!! tongue.gif

Hi, it's me again. I'm currently trying the "Import artwork to track from Artwork.jpg" thing, but I just can't make it work.

I have in the same folder a MP3 and the corresponding "Artist - (Year) Album.jpg" artwork.
Of course I have checked in iTSfv (F2) that the "Import artwork in album folder from" is set to "%Artist% - (%Year%) %Album%.jpg".
I have also checked that the "Validate > Tracks > "Import artwork to track from Artwork.jpg" checkbox is checked.
Then I click on "Validate selected tracks", iTSfv seems to do its job but... nothing happens ! I don't see any new artwork in iTunes, and all my MP3 remain untouched (no artwork embedded).

I have tried several times, so I don't understand what's wrong.

Thanks in advance for your help. smile.gif

Jose
~*McoreD*~
Hi Jose, that is scary. unsure.gif

Here is a quick demo of importing Artwork to tracks.

http://wmwiki.com/downloads/itsfv/demo/its...twork-user-set/

The only change I did since last time was

5.7.1.2 User preferences on what file to import as artwork, was ignored and checked Artwork.jpg first


Hi germanjulian,

When you pressed "import artwork from Artwork.jpg" where there Artwork.jpg files in the album folders?
~*McoreD*~
QUOTE(Jose Hidalgo @ Sep 7 2007, 07:16) *

EDIT : Forget about this post, I think I've finally begun to made it work - silly me !!! tongue.gif


laugh.gif

Jose, how exactly?

germanjulian is having trouble so I thought we could shed some light.

Thanks,
McoreD
urlwolf
Thanks McoreD, downloaded and testing.
It's not that particular album; randomly, the program would just stop. Now I have read that if itunes is used for anything but playing music, itsfv would stop processing stuff. That could be my case sad.gif

So, thanks for the nice pdf help system!

Will report back!
Jose Hidalgo
QUOTE(~*McoreD*~ @ Sep 7 2007, 02:23) *

QUOTE(Jose Hidalgo @ Sep 7 2007, 07:16) *

EDIT : Forget about this post, I think I've finally begun to made it work - silly me !!! tongue.gif


laugh.gif

Jose, how exactly?

germanjulian is having trouble so I thought we could shed some light.

Thanks,
McoreD

Well, I guess one part of my problem was that my jpgs didn't have exactly the "Artist - (Year) Album" syntax, so iTSfv didn't recognize them.

I think maybe you should add one option where iTSfv automatically recognizes a jpg inside the mp3 folder, (provided it's the only jpg in that folder) and appends it to the mp3 regardless of the jpg name. So no more hassle naming jpgs exactly as iTSfv wants : if you have a jpg next to the mp3, then iTSfv will find it and append it. What do you think ? wink.gif
urlwolf
I have sent an error report.
I still get the same problem. Itsfv would just stop the analysis at some point. Maybe because my library is about 30000 songs?

I have done a piecemeal approach, selecting blocks of say 1000 songs, and hitting "validate selection' it fails often, but at least it gets some job done.

Too time-consuming, though.
Are you planning to release newer versions that address this issue?
Thanks
Jose Hidalgo
I have a similar problem, with smaller quantities. Selecting blocks of say 100 songs and hitting "validate selection" (for the "import artwork to file" thing), it just stops the analysis @ 30-40% or so, whatever the blocks I do select. No error message at all, it just plainly stops.
~*McoreD*~
Jose,

Yep, definitely an addable feature. With an option "Add Artwork from any file name from album folder if that is the ONLY file in that folder" is indeed a nice feature.

urlwolf/ Jose,

It's unlikely that it crashes because of the high number of tracks. Btw urlwolf, 30000 is impressive! I just passed 15000 tracks, and I will try to get there. tongue.gif

When validating the whole library, it has to take care of a lot of things. I hope future builds will able handle these issues without any errors. Before releasing each build with new features/tweaks, I make sure it validates my whole library so at least this way I am able fix as much as unexpected stuff. urlwolf, yes, definitely future builds will attempt to fix all these issues and be able to validate the whole library at once.

For now, if you could just validate currently selected album, we would be able to more specifically say what the error was. So

0/ select the tracks of the album in iTunes you want to validate
1/ load iTSfv
2/ press Validate Selected Tracks button

Appreciate the feedback guys,
McoreD
~*McoreD*~
Hi Jose/urlwolf,

I was wondering if you could manage at least the Statistics part error free?

I've uploaded build 5.7.4.0

http://optusnet.dl.sourceforge.net/sourcef...v-5.7-setup.zip

and if you could do the following test that would be great.

1. Load iTSfv
2. Go to Advanced
3. Press Show iTunes Statistics (the last button)
4. If asks to load from HDD then press No
5. See if you could get something similar to this

IPB Image

Cheers,
McoreD

P.S:

QUOTE(Jose Hidalgo @ Sep 7 2007, 23:07) *

I think maybe you should add one option where iTSfv automatically recognizes a jpg inside the mp3 folder, (provided it's the only jpg in that folder) and appends it to the mp3 regardless of the jpg name. So no more hassle naming jpgs exactly as iTSfv wants : if you have a jpg next to the mp3, then iTSfv will find it and append it. What do you think ? wink.gif


5.7.4.0 Import artwork from any single file that exists in the music folder. Enabled by default. [Jose]
5.7.3.0 Artwork will be converted to JPEG before saving if the embedded artwork was found to be in a different format

5.7.2.5 Already existed Custom format artwork file was not overwritten if embedded artwork was found to be larger
5.7.2.4 Removed a rare possibililty of validation while adjusting track ratings
5.7.2.3 Application crash while removing multiple artwork from read-only tracks
5.7.2.2 iTSfv will ask to report the bug via email on the event it crashes due to something unexpected [urlwolf]
5.7.2.1 DiscCount was cleared if entire music library was validated more than once without restart iTSfv
5.7.2.0 Automatically fill track number if not found while adding files to library using taglib-sharp.dll
5.7.1.2 User preferences on what file to import as artwork, was ignored and checked Artwork.jpg first
5.7.1.1 Revalidating library would crash iTSfv [bug got introduced after 5.02]
5.7.1.0 Forcing AlbumArtist and Album will be done prior to adding the tracks to iTunes using taglib-sharp.dll
5.7.0.0 Option to remove Multiple Artwork in tracks except for the first artwork


I have also updated the manual to include a step-by-step process on how to get iTSfv source compiled and running under Visual Studio 2005 or the free Visual Basic 2005 Express. Squashing bugs/issues will be really fast if you guys are interested in running iTSfv via debugger.
urlwolf
5.7.4 throws unhandled exception when using synchroclean on my library.

I did the charts and it worked; however, since I don't play music using itunes (see below), the graphs where empty.

I should say that I have lots of ogg files in my lib.
Since I have just reported bugs, let me tell you what I think: this is a great idea.
As soon as this program works consistently and reliably, this is going to be a great asset to anyone wanting a well-maintained library!

NOTE: in my case, when using album view, iTunes takes an ungodly amount of memory (400-800Mb). That is ridiculous for any application. Is that your experience? It makes iTunes useless for day-to-day.

Thanks
~*McoreD*~
urlwolf,

Thanks for the insight. Have to admit I didn't expect OGG playback in iTunes at all. I cannot begin to imagine how COM calls to ogg files would behave. I will experiment with ogg after I get OGG configured in iTunes.

Btw, with iTunes I have never gone up to 800 MiB RAM usage! It indeed rose up after v7.0 but the maximum I've seen in my PC was ~320 MiB with Cover Flow view. I have 2.5 GiB RAM. May be you have very high resolution artwork? Either way I agree that is ridiculous.

Cheers,
McoreD

Edit:

Re-ran Synchroclean for my music folder but unfortunately I can't reproduce that error.

IPB Image
Bluenote
Hi,
Recently upgraded from 5.2 to 5.7.... and now "adjust rating" no longer seems to work the way it used to! Now just a handful (maybe 4 or 5) tracks get rated, when previously it used to be hundreds. My iTunes library hasn't changed, nor have my weightings. Have you changed the algorithm by any chance, or am I missing something?

Thanks.... Bluenote
~*McoreD*~
Hi Bluenote,

I hardly changed its algorithm - only a bug fix:

http://itsfv.cvs.sourceforge.net/itsfv/its...p;diff_format=h

Did you have a customized weighting system? In 5.7 the settings were reset. While in Advanced tab, can you press F2 to go to Options and check the weightings?

IPB Image

To adjust ratings do you go to Advanced tag and press the first button? That should work without library validation complications.

IPB Image

While adjusting ratings, iTSfv will also have iTunes Statistics ready. Can you please see if that is in order? After you press Adjust the Rating according to Play pattern, iTSfv will parse the library then while reading the tracks, you can press Display iTunes Music library statistics.

IPB Image

A crippled statistics result would imply something seriously went wrong.

Cheers,
McoreD

P.S: A possible reason for this happening could be: While iTSfv is adjusting ratings, you are limited to use iTunes only for playback of songs. Anything else would interrupt what iTSfv is doing. For example, if you pressed Get Info while iTSfv is adjusting ratings, then iTSfv would immediately stop its process.
Bluenote
QUOTE(~*McoreD*~ @ Sep 10 2007, 14:42) *

Did you have a customized weighting system? In 5.7 the settings were reset. While in Advanced tab, can you press F2 to go to Options and check the weightings?

IPB Image


Yup, I re-adjusted them - but even if I set them back to their defualt values I get this weirdness, where only 7 or so tracks in my library get rated above 0! (with the previous version it was several hundred)

QUOTE(~*McoreD*~ @ Sep 10 2007, 14:42) *

To adjust ratings do you go to Advanced tag and press the first button? That should work without library validation complications.

IPB Image


Yes, that's exactly how I've been doing it. I just realized though that iTSfv seems to add "Unknown Album" to songs where the album tag is blank.... why is it doing this?! I thought if I don't use any of the "validate" functions I'd be safe?

QUOTE(~*McoreD*~ @ Sep 10 2007, 14:42) *

While adjusting ratings, iTSfv will also have iTunes Statistics ready. Can you please see if that is in order? After you press Adjust the Rating according to Play pattern, iTSfv will parse the library then while reading the tracks, you can press Display iTunes Music library statistics.

IPB Image

A crippled statistics result would imply something seriously went wrong.


Looks fine to me.

Strange. The only thing that seems a little unusual is that after the rating process is complete (the program's title bar counts up to 100% twice) the display at the bottom of the window still seems stuck on "Adjusting My Rating" - I had previously assumed this is just cosmetic, however?

Hope I'm making some sense here, thanks again! Bluenote
urlwolf
itunes 7.4.1 is available. Will this make any advances in the "large library with ogg files" camp ?

Thanks!
Jose Hidalgo
Hi, sorry for the delay.

Just a word to say that everything seems to work perfectly so far.

The "Export artwork" works like a charm.

The "Import artwork" also seems to work, although I've only done some limited testing. The "Import every single jpg file in album folder" option looks great to me.

That's all for the moment. Thanks. smile.gif
~*McoreD*~
Hi Bluenote,

QUOTE(Bluenote @ Sep 11 2007, 01:52) *

Yup, I re-adjusted them - but even if I set them back to their default values I get this weirdness, where only 7 or so tracks in my library get rated above 0! (with the previous version it was several hundred)


I have enabled logging the ratings with parameter settings in this build:
http://optusnet.dl.sourceforge.net/sourcef...7.5.0-setup.zip
Could you please re-run adjusting ratings?

It should give a log like:

CODE
*********************
* 2007-09-11 10:01:36
*********************

100 for DJ Doboy - Vocal Edition 20
100 for DJ Doboy - Vocal Edition 18
100 for DJ Doboy - Vocal Edition 14
100 for DJ Doboy - Vocal Edition 08
100 for Armin van Buuren - A State of Trance Year Mix 2006 CD1
097 for DJ Doboy - Vocal Edition 22
093 for Sean Paul - Get Busy
082 for Sean Paul - Like Glue
081 for Tiësto - Adagio For Strings
081 for Luminary - Dark Eyes (Funabashi Pres. Tom Porcell Remix)
080 for Victor Rathnayaka - Pembara Madhu
080 for Fonzerelli - Moonlight Party
079 for Tiësto - Heroes
078 for MinMini - Chinna Chinna Aasai
078 for 6th Lane - Ramayanaya
077 for Mr Sam ft. Kirsty Hawkshaw - Insight (Mr Sam Interpretation)
077 for Angelina - Pictures Of You (DJ Shog Remix)
076 for DJ Doboy - Vocal Edition 17
.
.
.
PlayedCount: 25%, SkippedCount: 0%, LastPlayed: 70%, DateAdded: 5%
Maximum PlayedCount: 346, Maximum Track Duration: 7380, Average Track Duration: 256


5.7.5.0 Enabled logging Track Ratings to file. Accessible via Context Menu > Logs > Tracks that Ratings was adjusted...
5.7.4.6 Delete the generated 0 KiB Music folder activity file on iTSfv exit
5.7.4.5 Tagging "Unknown Album" to songs where the album tag is blank is now optional [Bluenote]
5.7.4.4 Adjusting rating fails with 'Object reference not set to an instance of an object' if track tags were incomplete [Ryan]
5.7.4.3 iTSfv would crash it found a non existant track while determining folder where most music is
5.7.4.2 iTMS artwork was not embedded if no artwork was found in music folder and also disabled creation of Folder.jpg and Artwork.jpg
5.7.4.1 Fixed [ itsfv-Bugs-1790526 ] Arithmetic operation resulted in an overflow while adjust ratings [Andre]

QUOTE(Bluenote @ Sep 11 2007, 01:52) *

Yes, that's exactly how I've been doing it. I just realized though that iTSfv seems to add "Unknown Album" to songs where the album tag is blank.... why is it doing this?! I thought if I don't use any of the "validate" functions I'd be safe?


Sorry about this. I jumped the gun and went ahead adding "Unknown Album" to tracks with empty Album Name as part of validation because having empty tags at the time didn't make sense. I have made this optional now for everybody and disabled by default. To enable Album Browser > F2.
iTSfv will never edit tags in tracks without user interaction again.

QUOTE(Bluenote @ Sep 11 2007, 01:52) *

Looks fine to me. Strange. The only thing that seems a little unusual is that after the rating process is complete (the program's title bar counts up to 100% twice) the display at the bottom of the window still seems stuck on "Adjusting My Rating" - I had previously assumed this is just cosmetic, however?
Hope I'm making some sense here, thanks again! Bluenote



"Adjusting My Rating" stuck was the kicker feedback you gave me thanks. After a proper job, it should revert back to "Ready", which means that Adjusting rating job crashed. I think I know what caused it, a feature after 5.2:

5.4.0.0 iTSfv will remove white spaces in Artist, Album and Name tags during validation

For example, if you had "Best of Boney M " then iTSfv will fix it as "Best of Boney M".

It makes sense now. Because you had empty album tags, iTSfv attempted to trim out spaces and crashed.

5.7.4.4 Adjusting rating fails with 'Object reference not set to an instance of an object' if track tags were incomplete [Ryan] -- I think this is exactly what happened to you as well and the fix that you were after. smile.gif

I am quite confident it will work for you now.

Cheers,
McoreD
urlwolf
Is there any way to tell itunes that you have more than one music folder?
I want to use the synch feature, to get covers for songs that I recently added, hopefully without having to rescan the entire library.

Thanks
~*McoreD*~
QUOTE(urlwolf @ Sep 11 2007, 03:29) *

itunes 7.4.1 is available. Will this make any advances in the "large library with ogg files" camp ?

Thanks!


urlwolf,

I tested a few OGG with iTunes using http://xiph.org/quicktime/download.html

iTune/iTSfv managed to read Artist and Album tags, nothing else. iTSfv couldn't set Artwork. iTunes just skips writing to OGG without any error.

QUOTE
"XiphQT vs. iTunes"

Track names (numbers, dates, ...) of .ogg files are missing, or displayed incorrectly, in iTunes - can you fix it?

Having the ability to play Ogg Vorbis files in iTunes was one of the main driving forces behind the qtcomponents project and also behind XiphQT development. However, iTunes is a proprietary software which does not provide a way to expand directly it's audio formats handling functionality by third-party developers. Given the iTunes support for QuickTime formats and architecture, writing a QuickTime extension (a component) has an effect of indirectly extending iTunes functionality. Unfortunately, iTunes support for QuickTime formats and extension mechanisms seems to be very selective - it is not even clear what exactly is supported as there is no single page of documentation about it.

Having said that, the XiphQT development efforts go into ensuring compatibility with QuickTime architecture and as complete (and proper) support for QuickTime extension mechanisms as possible. But the way applications, such as iTunes, choose to use, or not to use, QuickTime architecture is beyond our control.

Regarding the .ogg files meta-data missing in iTunes - to my knowledge, there is no way to fix this from the XiphQT source code point of view. However, there exist some AppleScript scripts that can help you with track's meta-data in iTunes


Theoretically you shouldn't have any error because of OGG because iTunes just *skips* writing OGG tracks. From iTSfv point of view, iTunes reports it as job done - no error.

Version 5.7.5 has a few fixes that probably has an answer to the synchroclean error you had. However iTSfv still supports file formats MP3/M4A that iTunes officially supports.

QUOTE(urlwolf @ Sep 11 2007, 10:08) *

Is there any way to tell itunes that you have more than one music folder?
I want to use the synch feature, to get covers for songs that I recently added, hopefully without having to rescan the entire library.

Thanks


Just an excellent idea. Thanks. IIRC iTLU does this already which I forgot to implement.
For the next version, iTSfv will support
5.8.x.x Ability to look for multiple music folder locations for Synchrocleaning

QUOTE(Jose Hidalgo @ Sep 11 2007, 06:21) *

Hi, sorry for the delay.

Just a word to say that everything seems to work perfectly so far.

The "Export artwork" works like a charm.

The "Import artwork" also seems to work, although I've only done some limited testing. The "Import every single jpg file in album folder" option looks great to me.

That's all for the moment. Thanks. smile.gif


Jose, thanks for the feedback. smile.gif
~*McoreD*~
QUOTE(urlwolf @ Sep 11 2007, 10:08) *

Is there any way to tell itunes that you have more than one music folder?
I want to use the synch feature, to get covers for songs that I recently added, hopefully without having to rescan the entire library. Thanks


iTunes still doesn't allow multiple library paths with the ability to organize music. You can add tracks from folders other than the iTunes music folder path but they will not be organized.

I've been experimenting with an upgrade to Synchroclean® feature to support multiple locations.

IPB Image

Basically iTSfv will now additionally look for all the folders you specify in the above listBox for new tracks that's not in iTunes music library and offer to add them. iTSfv will NOT copy them to the primary music folder location set by iTunes. However, as previous versions of iTSfv did, iTSfv WILL copy music added from any other location if dragged & dropped to iTSfv. This is done so that you won't accidentally edit tags of a album folder you are seeding.
Bluenote
QUOTE(~*McoreD*~ @ Sep 11 2007, 02:46) *

I am quite confident it will work for you now.


...and it does! biggrin.gif Great work, thanks McoreD - your skill as a programmer is only surpassed by your helpfulness. Rating feature now works as it did before, and I'm having fun playing with it again. tongue.gif

By the way - there's one more thing I was going to ask about, when I quit iTunes, it keeps telling me another script is still using it, even after iTSfv is no longer running, is anyone else seeing this?

But thanks again for sorting my problem out so quickly!

Bluenote
Jose Hidalgo
QUOTE(Bluenote @ Sep 11 2007, 22:09) *

thanks McoreD - your skill as a programmer is only surpassed by your helpfulness

I agree. McoreD is an example to follow for other fellow programmers, because programming isn't everything : the ability to listen carefully to feedbacks and requests, and to be responsive and efficient, is even more important IMHO. Add a touch of kindness, shake everything, serve it cool, and there you have it folks : McoreD in all its glory. cool.gif

tongue.gif wink.gif
urlwolf
I agree, I have never seen a more attentive programmer in my entire llfe smile.gif
Thanks McoreD!
~*McoreD*~
Thanks... and you guys have been a pleasure to work with great enthusiasm which make it all enjoyable. smile.gif

iTSfv 5.8.2.0
http://sourceforge.net/project/showfiles.p...lease_id=538923

5.8.2.0 All the log files will be stored in Documents\iTSfv Logs directory to allow Limited Users to run iTSfv when it is installed in Program Files
5.8.1.1 iTSfv crashed if embedded artwork was corrupt. [ itsfv-Bugs-1790529 ] generic error occurred in GDI+
5.8.1.0 While adding new music, tracks with ID3v2 2.4 will have the TrackNumber rewritten so that iTunes can detect them
5.8.0.1 Browse Album did not work for browsing album outside of iTunes Music folder path

urlwolf,

5.8.0.0 Ability to look for multiple music folder locations for Synchrocleaning. iTSfv will add these files to iTunes without copying

5.7.5.0 Enabled logging Track Ratings to file. Accessible via Context Menu > Logs > Tracks that Ratings was adjusted...
5.7.4.6 Delete the generated 0 KiB Music folder activity file on iTSfv exit
5.7.4.5 Tagging "Unknown Album" to songs where the album tag is blank is now optional [Bluenote]
5.7.4.4 Adjusting rating fails with 'Object reference not set to an instance of an object' if track tags were incomplete [Ryan/Bluenote]
5.7.4.3 iTSfv would crash it found a non existant track while determining folder where most music is
5.7.4.2 iTMS artwork was not embedded if no artwork was found in music folder and also disabled creation of Folder.jpg and Artwork.jpg
5.7.4.1 Fixed [ itsfv-Bugs-1790526 ] Arithmetic operation resulted in an overflow while adjust ratings [Andre]

Cheers!
~*McoreD*~
Hi All,

Incorporating Jose/urlwolf/Bluenote feedback, in addition to two new features, I have increased error handling in iTSfv to handle different library configurations. Got rid of most GDI errors.

http://downloads.sourceforge.net/itsfv/iTS...use_mirror=osdn

Version 5.09 - 20070914

5.9.0.3 Artwork dimensions cache table was not loaded to memory if Validation was run more than once
5.9.0.2 iTSfv will no longer write interrupted validations to the XHTML Report
5.9.0.1 Log files included duplicate track entries if Validation was run multiple times under same instance [after 5.8.2.0]
5.9.0.0 Introduced a Menu system to easily navigate through the functions with ability to open statistics files
5.8.4.0 Tracks without at least Artist, Album and Name tags will be ignored by iTSfv
5.8.3.3 iTSfv will not display incomplete statistics anymore if the process of interrupted
5.8.3.2 AlbumArtist tag was overwritten as Various Artists all the time during validation for Compilations
5.8.3.1 Possible fix for [ itsfv-Bugs-1790524 ] Parameter is not valid at new cXmlArtwork
5.8.3.0 iTSfv will attempt adding artwork using TagLib to tracks iTunes failed to AddArtworkFromFile
5.8.2.1 Fixed [ itsfv-Bugs-1790522 ] HRESULT E_FAIL has been returned from a call to a COM component when iTunes fails to AddArtworkFromFile to some tracks
5.8.2.0 All the log files will be stored in Documents\iTSfv Logs directory to allow Limited Users to run iTSfv when it is installed in Program Files
5.8.1.1 iTSfv crashed if embedded artwork was corrupt. [ itsfv-Bugs-1790529 ] generic error occurred in GDI+
5.8.1.0 While adding new music, tracks with ID3v2 2.4 will have the TrackNumber rewritten so that iTunes can detect them
5.8.0.1 Browse Album did not work for browsing album outside of iTunes Music folder path
5.8.0.0 Ability to look for multiple music folder locations for Synchrocleaning. iTSfv will add these files to iTunes without copying
5.7.5.0 Enabled logging Track Ratings to file. Accessible via Context Menu > Logs > Tracks that Ratings was adjusted...
5.7.4.6 Delete the generated 0 KiB Music folder activity file on iTSfv exit
5.7.4.5 Tagging "Unknown Album" to songs where the album tag is blank is now optional [Bluenote]
5.7.4.4 Adjusting rating fails with 'Object reference not set to an instance of an object' if track tags were incomplete [Ryan/Bluenote]
5.7.4.3 iTSfv would crash it found a non existant track while determining folder where most music is
5.7.4.2 iTMS artwork was not embedded if no artwork was found in music folder and also disabled creation of Folder.jpg and Artwork.jpg
5.7.4.1 Fixed [ itsfv-Bugs-1790526 ] Arithmetic operation resulted in an overflow while adjust ratings [Andre]

Cheers,
McoreD
Jose Hidalgo
Hi McoreD, I was thinking of a new small addition to iTSfv.

Let's assume you have validated your library and put some nice artwork in all relevant folders.

Let's assume you have this artwork doubled ("Artist - (Year) Album" and "Artwork" for instance, it could be anything else).

So, in order to enhance compatibility with all players, it still lacks "Folder" and "AlbumArtSmall".

Even worse, let's assume that in some folders the artwork has different patterns ("Artist - Album" and "Folder" for instance, or incorrect patterns like "Artist - Album" with typos for instance).

It could be useful to have an option that scans all relevant folders, finds all different patterns (including unknown ones like patterns with typos), then proposes to validate all this by creating all missing artwork files. For that, after scanning, iTSfv would show all the existing patterns PLUS the missing patterns in a window with checkboxes next to them (then you could select which patterns you want to create or not).

Of course the patterns you de-select would be automatically erased... cool.gif

Just my two cents to enhance this useful little program.

Jose
Bluenote
QUOTE(~*McoreD*~ @ Sep 14 2007, 03:17) *

5.8.4.0 Tracks without at least Artist, Album and Name tags will be ignored by iTSfv


OK, I need to ask - WHY? sad.gif

Was working so nicely, and now the new iTSfv ignores a number of my tracks...
I realize on this forum a lot of people are obsessive-compulsive about tagging their music tongue.gif but I have a number of tracks, especially classical, with no information on the artist or the album.
I still think these have a right to be counted, don't you?

Thanks again though, apart from this little hitch your program just gets better and better!

Bluenote
Jose Hidalgo
QUOTE(Bluenote @ Sep 14 2007, 16:10) *

I realize on this forum a lot of people are obsessive-compulsive about tagging their music tongue.gif but I have a number of tracks, especially classical, with no information on the artist or the album.

Shame on you. Tagging is EVERYTHING ! emot-cop.gif

(just kidding)
~*McoreD*~
Jose,

surely will take that idea into thinking. Cheers. smile.gif

Bluenote,

Interesting theory. I was quite convinced that when you don't have at least Artist, Album and Track tags, the Ratings evaluation would be quite meaningless. The change was done to avoid any complications while validating. May be you are talking about Adjusting Rating? The change affects this part as well. I am making it completely optional so tagless tracks will still be able to pass through.

http://downloads.sourceforge.net/itsfv/iTS...use_mirror=osdn

Bluenote, Please let me know if the ignored files are included again. smile.gif

Version 5.09 - 20071015?

5.9.3.1 Tweak 5.8.4.0 Tracks without at least Artist, Album and Name tags will be ignored by iTSfv is now optional in General > Validate. [Bluenote]
5.9.3.0 Added Tracks statistics to Statistics window which is similar to Top Rated smart playlist in iTunes
5.9.2.0 Statistics increased to Top 10 instead of Top 5. This is user configurable under Advanced.
5.9.1.1 Fixed another [ itsfv-Bugs-1790526 ] Arithmetic operation resulted in an overflow while adjust ratings
5.9.1.0 Parsing iTunes Music Library is now much faster as iTSfv now parses the XML database instead of iTunesLib. 15,000 Tracks under one minute.

IPB Image

Thanks again for the feedback Bluenote. Yes they do have right to be counted for Rating LOL. biggrin.gif
urlwolf
McoreD:

I still get hungups, even when analyizing only parts of my library.
The percentage in the title bar disappears, and the program just freezes.

Also, a new thing: there's a scroll bar that says "itunes: writing tags" on top of every other window, that is pretty distracting (just covering what you are writing smile.gif . Are you guys experiencing this? Is that intentional? Can we get the old behavior?

Thanks
Bluenote
QUOTE(~*McoreD*~ @ Sep 14 2007, 17:37) *

Bluenote, Please let me know if the ignored files are included again. smile.gif


Thanks for that change! Unfortunately, I can't get the tick in the "Include tracks without Name, Artist and Album" to stay sad.gif I click on OK but if I open the options immediately afterwards, the tick is gone again!
Rating works well, but sadly excluding all my non-album tracks...

Nice new stats, by the way!

Thanks again.

Bluenote
~*McoreD*~
QUOTE(Bluenote @ Sep 15 2007, 04:15) *

Thanks for that change! Unfortunately, I can't get the tick in the "Include tracks without Name, Artist and Album" to stay sad.gif I click on OK but if I open the options immediately afterwards, the tick is gone again!
Rating works well, but sadly excluding all my non-album tracks...


Bluenote, thanks for pointing out that. Please replace the iTSfv.exe with this updated one
http://downloads.sourceforge.net/itsfv/iTS...use_mirror=osdn

I knew I was missing something and that was to set that option remembering. ohmy.gif
~*McoreD*~
QUOTE(urlwolf @ Sep 15 2007, 04:07) *

McoreD:

I still get hungups, even when analyizing only parts of my library.
The percentage in the title bar disappears, and the program just freezes.

Also, a new thing: there's a scroll bar that says "itunes: writing tags" on top of every other window, that is pretty distracting (just covering what you are writing smile.gif . Are you guys experiencing this? Is that intentional? Can we get the old behavior?

Thanks


urlwolf, that's really unfortunate in my end not being able to figure out what the error is. Now it comes to the point where I will have to suggest you to run iTSfv in debug mode - via Visual Basic Express or Sharp Develop.
I'd suggest the small download of SharpDevelop http://www.icsharpcode.net/OpenSource/SD/Download/. It would be great to make use of the open source nature of iTSfv if you can.

1. Download http://downloads.sourceforge.net/itsfv/iTS...use_mirror=osdn
2. Install somewhere in My Documents you would like to save the source
3. Open SharpDevelop and browse for the iTSfv.sln
4. Right click References (shown below) and remove all unlinked DLLs
5. Right click References and Add Reference. Go to ".NET Assembly Browser" and Browse for the following DLLs in iTSfv folder: McoreSystem.dll, Interop.iTunesLib.dll, Graphing.V3.dll and taglib-sharp.dll.
IPB Image

6. In frmMain.vb file, line 11:
CODE
    Private mAppInfo As New McoreSystem.AppInfo(Application.ProductName, _
                            Application.ProductVersion, _
                            AppInfo.SoftwareCycle.BETA)

change AppInfo.SoftwareCycle.BETA to AppInfo.SoftwareCycle.ALPHA

7. Now clickthe Play button (in green) or press F5 to debug iTSfv.

iTSfv will start in debug mode and if you can get iTSfv to crash, the IDE will show the relevant link that error was caused. If you could point me out where, that would be splendid.

Thanks,
McoreD

P.S: Sorry about the scroll bar, I am not sure where is this. I think you mean the Status bar? Oh I see what you mean. It is not specific enough. The tags it attempt to write are

1. empty TrackCount
2. empty DiscNumber
3. wrong DiscCount

This is done if the checkBox "Fill TrackCount, DiscNumber and DiscCount" checkBox is checked. I can make it to say "Fill TrackCount / DiscNumber / DiscCount". Thanks for that feedback. smile.gif
Bluenote
QUOTE(~*McoreD*~ @ Sep 15 2007, 01:48) *

Bluenote, thanks for pointing out that. Please replace the iTSfv.exe with this updated one


Works! Thank you!! biggrin.gif

Minor point - the stats look a bit funny now with "Unknown Album" and "Unknown Artist" leading the field. wink.gif I guess this is a consequence of your new implementation? I wonder if these unknowns could simply be ignored for the stats calculations? Back in v5.8, that's how it used to work...

Another challenge for you? tongue.gif

But even if you're now understandably fed up with me and my partially tagged files.... thanks again for the quick fixes!

Bluenote

Sorry...... me again! This doesn't look right, does it?

IPB Image

Why 2871 Unknown Tracks? Every single one of my tracks has a title, even if not an album title or artist.
The saga continues.... huh.gif
~*McoreD*~
QUOTE(Bluenote @ Sep 15 2007, 12:11) *

Minor point - the stats look a bit funny now with "Unknown Album" and "Unknown Artist" leading the field. wink.gif I guess this is a consequence of your new implementation? I wonder if these unknowns could simply be ignored for the stats calculations? Back in v5.8, that's how it used to work...

Another challenge for you? tongue.gif But even if you're now understandably fed up with me and my partially tagged files.... thanks again for the quick fixes!

Sorry...... me again! This doesn't look right, does it? Why 2871 Unknown Tracks? Every single one of my tracks has a title, even if not an album title or artist. The saga continues.... huh.gif


Bluenote, yes right now we are struggling with issues by design. smile.gif

I wonder if these unknowns could simply be ignored for the stats calculations? Back in v5.8, that's how it used to work... ---- Changes are done so that for Top ## Genre, Album Artists, Artist and Album will IGNORE partially tagged tracks. Top ## Tracks will CONSIDER partially tagged tracks. So you will now see Unknown Artist - Fragile for a song "Fragile" if Artist tag is missing. For validation purposes (including Adjusting Rating) you still have the option to INCLUDE partially tagged tracks. Please let me know if that's what you like to see and if it really works as I described.

5.09.3.2 Partially tagged tracks will be accounted for Top # Tracks statistics

http://downloads.sourceforge.net/itsfv/iTS...use_mirror=osdn

I can explain how the 2871 tracks were counted as Unknown. biggrin.gif It was considered as an unknown when both Artist and Album Artist tag were absent. This won't happen again because of the new change described above.

Also the thing with Percentage counting twice (that you mentioned the other day) happens when iTSfv validates the last album, the progress percentage changes from Album progress calculation to Tracks progress calculation.

So iTSfv doesn't seem to crash with your Library? That's great to hear! How many tracks are there in your library? smile.gif

Cheers,
McoreD

P.S: Also it's nice to see your interests in iTunes Statistics have rooted years back smile.gif

QUOTE(Bluenote @ Sep 17 2005, 16:41) *

Hi guys, a while ago I saw a program mentioned (possibly even here) that would generate statistics for the songs (which ones played, for how long etc.) on your iPod/iTunes. Was I dreaming? Tried doing a search but that didn't throw anything up. Would appreciate any pointers, thanks!


For others' interest: changes in src to make Statistics faster: http://itsfv.cvs.sourceforge.net/itsfv/its...=1.7&r2=1.8
Bluenote
QUOTE(~*McoreD*~ @ Sep 15 2007, 06:38) *

5.09.3.2 Partially tagged tracks will be accounted for Top # Tracks statistics


Yay! smile.gif It works again! Now the stats look fine again, and I think the way it displays "Unknown" when the field is blank is an elegant solution.

QUOTE(~*McoreD*~ @ Sep 15 2007, 06:38) *

So iTSfv doesn't seem to crash with your Library? That's great to hear! How many tracks are there in your library? smile.gif


5459 and counting, Sir. Sadly that's about as many as will fit onto my 30GB iPod so it'll probably stay in the vicinity of that too...

QUOTE(~*McoreD*~ @ Sep 15 2007, 06:38) *

P.S: Also it's nice to see your interests in iTunes Statistics have rooted years back smile.gif


*cough* Thanks for being so discrete about my somewhat.... eclectic taste in music. I was too tired when I made my last post, otherwise I might have done a quick Photoshop job. wink.gif

Thanks again! Now there's just that weird message about scripts being active... or is that an iTunes limitation?

Well I'm off to re-rate my tracks! biggrin.gif
Bluenote
Jojo
Is the exporting and importing feature entirely lossless? Could I be exporting all the artwork (regardless whether iTunes downloaded the artwork or if it was already embedded in the file) and then import all the artwork again and there wouldn't be any quality loss or filesize increase of the artwork?

thank you
~*McoreD*~
QUOTE(Jojo @ Sep 17 2007, 01:36) *

Is the exporting and importing feature entirely lossless? Could I be exporting all the artwork (regardless whether iTunes downloaded the artwork or if it was already embedded in the file) and then import all the artwork again and there wouldn't be any quality loss or filesize increase of the artwork?


Jojo,

Yes the process is entirely lossless. iTSfv merely uses only the copy command to export and import JPG artwork using iTunes SDK with one exception while exporting PNG artwork as Folder.jpg. It is not proper to just rename a PNG artwork as folder.jpg so iTSfv converts any non-JPG artwork before saving as Folder.jpg. To import artwork you alway s have the flexibility to specify the file pattern and file type in iTSfv Options.

QUOTE(Bluenote @ Sep 16 2007, 01:07) *

Thanks again! Now there's just that weird message about scripts being active... or is that an iTunes limitation?


Bluenote,

iTunes gives that message before quitting after 10-15 seconds of closing iTSfv? I've been releasing Debug builds as BETA versions so that could take a bit more time to finalize calls to DLLs. This is not something personally I have always experienced but I will try destroying the iTunesApp object on iTSfv close.


All,

Released last night was a new feature that might come handy. Basically you can select all tracks in a Playlist in iTunes and export (copy) the tracks to a folder you specify with a customized file pattern.

http://downloads.sourceforge.net/itsfv/iTS...mp;big_mirror=0

5.10.0.0 Support exporting selected tracks to another directory specified
5.09.4.1 Incorrectly identified folder with most music, if the iTunes music folder was within that folder
5.09.4.0 Support for dragging more music albums while iTSfv is already adding music to iTunes

5.09.3.3 Backup Ratings XML file save path defaulted to Logs Directory
5.09.3.2 Partially tagged tracks will be accounted for Top # Tracks statistics

Cheers,
McoreD
urlwolf
Thanks McoreD,

I don't think I'll be able to compile the code and debug it... too much time.
Actually, I don't understand the new features in sychroclean, and how it intereacts with the folders in the 'explorer' section (this has changed in 5.10 I guess). the manual I have for 5.9 has old pictures.

This is getting too messy for simply getting covers. That's all I need. I think I'll try using mp3toys, which is pretty automatic, although pic quality is a lot lower.

I'll keep cheking this thread to see if the problems have been solved.

Thanks!
Jose Hidalgo
blink.gif blink.gif

Well, I guess everybody has the right to make his own choices (even if they're not the best ones tongue.gif ). See you urlwolf ! wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.