notor99
30 Mars 2010, 17:08
30 Mars 2010, 17:08
Index du forum
» Rechercher
j'ai mit la source pour simplement te permettre d'installer ffmpeg car je n'était pas sûr que tout était en place sur ta bécanne

script o
property Les_tracks : missing value
end script
set i to 1
tell application "iTunes"
set o's Les_tracks to selection
if o's Les_tracks is {} then return -- aucune selection, quitte le script
set total to (count o's Les_tracks)
repeat while i < total
tell item i of o's Les_tracks to set {titre, Lartiste} to {name, artist}
repeat with k from (i + 1) to total --ceci va enlever tous les doublons à la suite ayant le même titre, sauf le premier
tell item k of o's Les_tracks to set {titre2, Lartiste2, T_ID} to {name, artist, database ID}
if titre2 is titre and Lartiste is Lartiste2 then
tell (get first track of library playlist 1 whose database ID is T_ID)
set the_path to location
delete -- enleve de la bibliotheque
my delete_file(the_path) --mets le fichier dans la corbeille
end tell
else
exit repeat
end if
end repeat
set i to k -- mets la variable (i) à l'index de l'élément dont le titre est différent
end repeat
end tell
on delete_file(t_file)
try
tell application "Finder" to delete t_file -- mets le fichier à la corbeille.
end try
end delete_file#include <stdio.h>
int main(void){
printf("Bonjour Mac4ever !\n");
}11 40 64 79 6c 64 5f 73 74 75 62 5f 62 69 6e 64 65 72 00 51 72 00 90 00 72 10 11 40 5f 65 78 69 74 00 90 00 72 18 11 40 5f 70 75 74 73 00 90 00 00 02 5f 00 0c 73 74 61 72 74 00 4b 00 04 5f 00 27 6d 61 69 6e 00 50 4e 58 41 72 67 00 55 65 6e 76 69 72 6f 6e 00 67 00 02 6d 68 5f 65 78 65 63 75 74 65 5f 68 65 61 64 65 72 00 47 5f 70 72 6f 67 6e 61 6d 65 00 6c 02 00 00 00 03 00 cc 1d 00
.cstring LC0: .ascii "Bonjour Mac4ever !\0" .text .globl _main _main: LFB3: pushq %rbp LCFI0: movq %rsp, %rbp LCFI1: leaq LC0(%rip), %rdi call _puts leave ret LFE3: .section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support EH_frame1: .set L$set$0,LECIE1-LSCIE1 .long L$set$0 LSCIE1: .long 0x0 .byte 0x1 .ascii "zR\0" .byte 0x1 .byte 0x78 .byte 0x10 .byte 0x1 .byte 0x10 .byte 0xc .byte 0x7 .byte 0x8 .byte 0x90 .byte 0x1 .align 3 LECIE1: .globl _main.eh _main.eh: LSFDE1: .set L$set$1,LEFDE1-LASFDE1 .long L$set$1 LASFDE1: .long LASFDE1-EH_frame1 .quad LFB3-. .set L$set$2,LFE3-LFB3 .quad L$set$2 .byte 0x0 .byte 0x4 .set L$set$3,LCFI0-LFB3 .long L$set$3 .byte 0xe .byte 0x10 .byte 0x86 .byte 0x2 .byte 0x4 .set L$set$4,LCFI1-LCFI0 .long L$set$4 .byte 0xd .byte 0x6 .align 3 LEFDE1: .subsections_via_symbols

