Needs Pictures: 0
Picture(s) thanks: 0
Results 16 to 22 of 22
Thread: iTunes scripts
-
1st January 2019, 07:22 AM #16
Some screenshots that may give you an understanding of how iTunes stores lyrics.
1. Right lick in the tune you want to find info on.
Lyrics 1.jpg
2. Select Song Info.
Lyrics 2.jpg
3. Click on Lyrics Tab.
Lyrics 3.jpgTo grow old is inevitable.... To grow up is optional
Confidence, the feeling you have before you fully understand the situation.
What could possibly go wrong.
-
1st January 2019 07:22 AM # ADSGoogle Adsense Advertisement
- Join Date
- Always
- Location
- Advertising world
- Age
- 2010
- Posts
- Many
-
1st January 2019, 09:05 AM #17GOLD MEMBER
- Join Date
- Mar 2018
- Location
- Sydney
- Posts
- 1,166
ok, so then the only thing that's really needed is to know what you think did or didn't happen when you ran the script that Ian suggested. Did your new playlist get created? Did any tunes get added to it? Did those ones have Lyrics or not, or were they mixed?
-
1st January 2019, 07:32 PM #18
I ran the original (unedited) script:
StartTimer
Select Case R
Case vbYes
C=True
Case vbNo
C=False
S=S+1 ' Increment skipped tracks
Case Else
Quit=True
Exit For
End Select
Else
C=True
End If
If C Then ' We have a valid track, now do something with it
Action T
And found 23028 songs with lyrics.
Has Lyrics orig output.jpg
and two edited versions:
#1
StartTimer
Select Case R
Case vbYes
C=False
Case vbNo
C=True
S=S+1 ' Increment skipped tracks
Case Else
Quit=False
Exit For
End Select
Else
C=False
End If
If C Then ' We have a valid track, now do something with it
Action T
And found no songs, either with, or, without lyrics
#2
Select Case R
Case vbYes
C=False
Case vbNo
C=True
S=S+1 ' Increment skipped tracks
Case Else
Quit=True
Exit For
End Select
Else
C=True
End If
If C Then ' We have a valid track, now do something with it
Action T
This script came up with the same results as the original unedited script
Has No Lyrics Ver 2 Output.jpgTo grow old is inevitable.... To grow up is optional
Confidence, the feeling you have before you fully understand the situation.
What could possibly go wrong.
-
1st January 2019, 10:06 PM #19GOLD MEMBER
- Join Date
- Mar 2018
- Location
- Sydney
- Posts
- 1,166
Please do the change that was suggested last. The change in the "Updateable=" line will invert the selection (it used to be a not-equal-to Empty, ie had text, and the change will only include those where it is empty)
Else ' No updating values which won't change
Updateable=(T.Lyrics & "")<>""
End If
End Function
Try changing the line near the end to:
Updateable=(T.Lyrics & "") = ""
Also, the lines near the top like
Playlist="Has Lyrics"
Title="Has Lyrics To Playlist"
Summary="Check for files with lyrics and, if found, create/refresh a playlist called" & vbCrLf & Playlist & " into which to place the results."
-
2nd January 2019, 06:30 AM #20
Thank you so much guys, this edit has seemed to work. I tried it on a small selection of songs and it returned a playlist containing only songs with no lyrics.
I will now run it on the whole library.
Has No Lyrics.jpgTo grow old is inevitable.... To grow up is optional
Confidence, the feeling you have before you fully understand the situation.
What could possibly go wrong.
-
2nd January 2019, 08:05 AM #21
I ran the script of the complete collection and it worked perfectly.
Once again, thank you so much to everyone who replied and offered suggestions, they were all appreciated.
Has No Lyrics.jpgTo grow old is inevitable.... To grow up is optional
Confidence, the feeling you have before you fully understand the situation.
What could possibly go wrong.
-
3rd January 2019, 04:52 PM #22
Funny thing I'm noticing is that as I fill more of the songs with lyrics it takes less time for the script to run. I didn't think the run time would change as it still has to scan all the tracks to see which ones have lyrics. Not complaining, just an observation.
To grow old is inevitable.... To grow up is optional
Confidence, the feeling you have before you fully understand the situation.
What could possibly go wrong.
Similar Threads
-
iTunes Scriots
By Grumpy John in forum COMPUTERSReplies: 0Last Post: 22nd November 2017, 12:03 PM -
iTunes doesn't understand classical music
By Big Shed in forum COMPUTERSReplies: 14Last Post: 7th September 2012, 11:08 PM -
iTunes Gift Certificate... SCAM!
By Woodwould in forum NOTHING AT ALL TO DO WITH WOODWORKReplies: 3Last Post: 29th May 2010, 12:14 AM