Join Date: Feb 2008
Location: Magdeburg, Germany
Play folder with all subfolders: workaround
I mostly browse by folders and rarely use the music library.
Often I want to play a folder with all subfolders in it, i.e. all albums of an artist.
The normal way to do this was to put the folder into the dynamic playlist, which meant clearing the DPL before and was quite a lot of work for just wanting to play the contents of a folder.
I noticed, however, that when you play a file in a folder that contains subfolders, and you have your boundary set to "folder", the D2 will continue playing the subfolders when all the files in the folder have been played.
So here is the workaround to playing all the subfolders in a folder: Put an empty music file into the folder and play it. This will cause the D2 to play the empty file, which only takes a few seconds, and then continue to play all the subfolders.
To make putting all the empty files into the folders easier I wrote a small application:
Unfortunately the application is rather largish because I used Qt to make the user interface. That means I need to deploy QtCore4.dll and QtGui4.dll along with the application. There is one version with source code and one that only contains the files required for running the application. I used NetBeans 6.7.1 and Qt 4.5.3 to create the application. The folder with source code should be usable as a NetBeans project if you want to use it.
If anyone feels like writing a bash script or small console application to perform the same task, we could probably put it here as well, for all people who like it simpler (more minimalistic).
sfPlay for Windows without source code
sfPlay for Windows with soure code (should be easily buildable in linux)
I must warn you, though: Theoretically every executable you downloaded from someone you cannot trust could do about anything to your system or D2 when you start it. Especially when you start it with admin rights.
The most secure way of dealing with the application is probably checking that the source code doesn't do any bad things and then compiling it yourself. Don't ask me for help with this, though.
A little less secure would be using the application from a user account without admin rights.
I myself tested the application on Windows Vista with a Cowon D2 with firmware 3.57. It didn't do any bad things to my system or D2. However, I give NO WARRANTY WHATSOEVER on the application and anything else contained in the download packages. The use of the application is ENTIRELY AT YOUR OWN RISK!
The Program is distributed under the terms of the WTFPL. For more information see http://sam.zoy.org/wtfpl/.