Page 1 of 1
iTunes... come trovo le tracce con i testi...
Posted: Sat Jun 24, 2006 6:45 am
by rwm59
Hola,
dopo aver usati ( kingo avevi ragione tu , vale proprio la pena..) MPfreaker, che ricerca tutti i lyrics delle tracce automaticamente ( shareware sepso bene per chi ha un grande libreria) sto cercando di fare una playlist smart con i brani SENZA LYRICS (eh, libreria di 25 gb..);
ma non riesco perchè no se como cercare la condicione ( il campo ) relativo ai testi...
Alcuno sa come aiutarmi?
Grazie en anticipo....
Posted: Sun Jul 23, 2006 8:51 am
by kingofgames
mmmm non ho capito molto bene cosa vuoi fare
ma perchè vuoi togliere i testi?

??:
Posted: Sun Jul 23, 2006 1:59 pm
by rwm59
kingofgames wrote:mmmm non ho capito molto bene cosa vuoi fare
ma perchè vuoi togliere i testi?

??:
No... vorrei creare una smart playlist che raccolga tutti i brani con i testi. O il contrario....
Posted: Mon Jul 24, 2006 1:41 am
by kingofgames
il testo di una canzone lo visualizzi premendo mela+I sulla canzone evidenziata
ma non ho capito lo scopo della tua playlist
che ipod hai?

??:
Posted: Mon Jul 24, 2006 7:43 am
by rwm59
kingofgames wrote:il testo di una canzone lo visualizzi premendo mela+I sulla canzone evidenziata
ma non ho capito lo scopo della tua playlist
che ipod hai?

??:
.. mi spiego malissimo.. allora , su molti brani, ho inserito i testi ( anche dopo l'uso di mpFreaker, grazie!) ma, ne rimangono parecchi senza]
www.http://www.dougscripts.com/itunes/index.php[/url] ( sito grande per chi smanetta su iTunes)...
Ed anche su smartplaylist.com non ho trovato granchè....
Hai qualche idea ?

??:
Posted: Mon Jul 24, 2006 8:01 am
by avrobay
rwm59 wrote:Per le cover, ad esempio, uso uno script
Mi dai l'indirizzo di quello specifico script per favore?
Posted: Mon Jul 24, 2006 11:46 am
by pierino
Quest'idea della playlist era venuta anche a me;non si può fare richiesta direttamente alla Apple?

??:
Posted: Mon Jul 24, 2006 12:28 pm
by rwm59
avrobay wrote:rwm59 wrote:Per le cover, ad esempio, uso uno script
Mi dai l'indirizzo di quello specifico script per favore?
Ok,
dovrebbe essere questo...
http://www.dougscripts.com/itunes/scrip ... outartwork
io l'ho rinominato, in italiano...

:
Se sapessi modificare uno script si potrebbe provare a fargli cercare lyrics o no lyrics....
PS : è tutto free naturalmente!
Posted: Mon Jul 24, 2006 1:24 pm
by avrobay
rwm59 wrote:Se sapessi modificare uno script si potrebbe provare a fargli cercare lyrics o no lyrics....
PS : è tutto free naturalmente!
Credo che non sia impossibile. Andrebbe aperto un topic nell'area dedicata questo nel nostro forum.
Intanto incollo il codice magari a qualcuno viene voglia di ragionarci...
per stasera io invece vado a dormire!
Code: Select all
global newContents
tell application "iTunes"
set theP to library playlist 1
set checked_these to {}
set List_With_No_Art to {}
set List_With_Partial_Art to {}
display dialog "The process of wrangling each album and its tracks may take some time." & return & return & "If for some reason you wish to cancel this process you must Force Quit \"Albums Without Artwork\" by pressing" & return & " Option + Command + Escape." buttons {"Cancel", "Proceed..."} default button 2 with icon 1
-- get filename
set file_name to (choose file name with prompt "Enter a name for the text file that will be created:" default name "Albums Without Artwork")
if file_name is false then error number -128 -- cancel
if file_name as string does not end with ".txt" then set file_name to ((file_name as string) & ".txt")
set mylimit to my get_input("", 4)
with timeout of 3000 seconds
set ev to (get album of tracks of theP)
set every_album to {}
repeat with a in ev
set a to a as string
considering case
if every_album does not contain a and a is not "" then
copy a to the end of every_album
end if
end considering
end repeat
end timeout
repeat with t from 1 to count of items of every_album
set theArt to ""
with timeout of 60000 seconds
set thisAlbum to item t of every_album
set all_albums_tracks to (get tracks of theP whose album is thisAlbum)
set nmtrks to (count of items of all_albums_tracks) -- used below also
if nmtrks is greater than mylimit then
set c to 0 -- counter
repeat with a from 1 to count of items of all_albums_tracks
try
if (exists artworks of item a of all_albums_tracks) then set c to c + 1
if theArt is "" then set theArt to (get artist of item a of all_albums_tracks)
end try
end repeat
if c = 0 then
copy ("\"" & thisAlbum & "\" - " & theArt & return) to the end of List_With_No_Art
else
if c is less than nmtrks then copy ("\"" & thisAlbum & "\" - " & theArt & return) to the end of List_With_Partial_Art
end if
end if -- my limit
end timeout
end repeat
set preamb to "Albums "
if mylimit is not 0 then
set s to "s"
if mylimit is 1 then set s to ""
set preamb to preamb & "[of " & (mylimit as string) & " track" & s & " or more] "
end if
set newContents to preamb & ("Without Artwork" & return & return)
if List_With_Partial_Art is not {} then
set newContents to newContents & "These albums contain SOME tracks with artwork:" & return & return & (List_With_Partial_Art as text) & return & return
end if
if List_With_No_Art is not {} then
set newContents to newContents & "These albums have NO tracks with artwork:" & return & return & (List_With_No_Art as text) & return & return
end if
try
copy (a reference to (open for access file_name with write permission)) to fileRef
write newContents to fileRef
close access fileRef
on error errx number errNum
close access fileRef
display dialog "There has been an error creating the file:" & return & return & errx & return & "error number: " & errNum buttons {"Cancel"}
end try
tell me to activate
beep
beep
delay 1
beep
set dMes to return & return & "Would you like to open the text file with TextEdit?"
set myEnding to (display dialog "Done!" & dMes buttons {"Done", "Yes"} default button 2 with icon 1 giving up after 16)
if gave up of myEnding is true or button returned of myEnding is "Yes" then
tell application "TextEdit"
activate
try
open (file_name as alias)
on error errMs
display dialog errMs buttons {"Cancel"}
end try
end tell
end if -- button is "Done"
end tell
to get_input(addenda, defval)
tell me to activate
copy (display dialog "" & addenda & ¬
"Ignore albums that contain this many tracks or fewer:" default answer ¬
defval buttons {"No! Every album counts!", "Limit to my number"} default button 1) to result_of_dd
if button returned of result_of_dd starts with "No" then return 0
copy text returned of result_of_dd to text_returned
--check for a whole number
try
(text_returned as integer)
on error
tell me to get_input("Enter only numbers..." & return & return)
end try
return text_returned as integer
end get_input