Hi,

which OS did you use?

Do you have any winblows in the near? 
(sorry didnt wrote a *ux Version)
You need these two files: And your computer some Time.

picturesize.vbs

Code:
--------------------
    
  dim myPicture
  set myPicture=loadpicture(Wscript.Arguments(0))
  msgbox myPicture.width/26.458 & "-"& myPicture.height/26.458 
  
--------------------


And a Wrapper:
smallcover.cmd
* (The Var musicfolder should pointed to your Musiclib)
* if %%a lss 500 (find cover smaller than 500 px) 
* if not "%%a"=="%%b" (this line is only needed if you want to find
nonquadrat Covers)


Code:
--------------------
    
  :para
  set "musicfolder=\\192.168.199.11\muzzigbox"
  
  :prepare
  if exist %musicfolder%\smallcover.ini del %musicfolder%\smallcover.ini
  :do all the folders with mp3 and .jpg
  for /f "delims=" %%a in ('dir /b /S /ad %musicfolder%\') do if exist 
"%%a\*.mp3" if exist "%%a\cover.jpg" call :picturesize "%%a\cover.jpg"
  goto :end
  
  :picturesize
  for /f "tokens=1,2 delims=-" %%a in ('cscript /nologo 
C:\script\picturesize.vbs %1') do (
        if %%a lss 500 echo %1;%%a>>%musicfolder%\smallcover.ini
        if not "%%a"=="%%b" echo %1;%%ax%%b>>\\%musicfolder%\noquadrat.ini
        )
  
  :end
--------------------

place them together in a folder and run the cmd



Gruss

Jan
------------------------------------------------------------------------
DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
View this thread: http://forums.slimdevices.com/showthread.php?t=101932

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to