Thank You for your continued support and contributions!
you could use the playcount to create a playlist and then delete all files in that playlist using a PC.
That sounds like a decent solution. Can you point me in the right direction towards creating a playlist based on playcount? I tried and didn't get very far.
You may need to restart your player (or at least wait until a re-buffer has happened), in order to ensure that the data has been committed to the database.
;Delete already played files by using playlist generated by Rockbox;$message="Choose playlist file containing tracks to be deleted"$var = FileOpenDialog($message,@ScriptDir,"All (*.*)", 1)If @error Then MsgBox(4096,"","No File(s) chosen") ExitEndIf$file = FileOpen($var, 0); Check if file opened for reading OKIf $file = -1 Then MsgBox(0, "Error", "Unable to open file.") ExitEndIfGlobal $microdir = ""While 1 $line = FileReadLine($file) If @error = -1 Then ExitLoop $line = StringReplace($line, "/", "\") $microchk = StringLeft($line,12) if StringCompare($microchk,"\<microSD1>\")=0 then $line = StringTrimLeft($line,12) if StringLen($microdir)=0 then $microdir=FileSelectFolder("Choose drive folder containing microSD1 card.","") endif $line = $microdir & $line endif If FileExists($line) then FileDelete($line) else MsgBox(4096,"",$line & " does not exist") endif WendFileClose($file)$answer = MsgBox(4,"Delete?","Delete playlist file?",20)if $answer=6 then FileDelete($var)endif
Page created in 0.076 seconds with 15 queries.