FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Add-on Software › DaapPlaylistGenerator
- This topic has 30 replies, 7 voices, and was last updated 14 years, 8 months ago by EVILRipper.
-
AuthorPosts
-
11/12/2007 at 9:49 PM #15143EVILRipperParticipant
Time to keep track of a changelog..
*********************
** 11-dec-07 - 0.2.1
*********************
** - Fixed XSPF Playlists. (No more %20 instead of spaces)
** - Removed password from output file
** - Fixed bug after generating more than one playlist in a row
**I would really appreciate anyone testing, and especially letting me know if it worked or not.
Also, I would really appreciate any ideas to further improve this application’s functionality.Kind regards,
Erik13/12/2007 at 6:17 PM #15144T-birdParticipantJust DL your program v 0.2.1
Can’t start the prog, get an error messages saying something about “the program configuration is wrong”
20/12/2007 at 11:09 PM #15145EVILRipperParticipantI finally found the time to spend more time improving DPG.
I guess alot of people had trouble running the app, because I forgot to include all libraries for non-developers. (hehe, woops.)
If you find any more difficulties or would like another feature, let me know. ๐*********************
** 20-dec-07 - 0.3.0
*********************
** - Included libraries for non-developers. (Woops!)
** - Multithreaded application. In short, the window won't hang anymore when downloading songlist.
**
** Known Bug(s)
** - Playlist not generated when dragging window when songlist is downloaded.
**20/12/2007 at 11:22 PM #15146csternParticipant@EVILRipper wrote:
I finally found the time to spend more time improving DPG.
I guess alot of people had trouble running the app, because I forgot to include all libraries for non-developers. (hehe, woops.)
If you find any more difficulties or would like another feature, let me know. ๐Still crashes. I can see in the debug dump (Windows standard error info) that the titles actually are being downloaded but at a certain point it crashes. Could it be a buffer overrun? Do you write out the data sequentially or do you retrieve the data to memory? I have about 24000 songs and perhaps that fills the memory you have set aside for the list. If you can make a version which writes after each, say, 100 songs, I’d be happy to test it for you. I understand it will probably be much slower but the other version certainly doesn’t work for me…
20/12/2007 at 11:29 PM #15147EVILRipperParticipantYou’re probably right. The list is currently limited to 500 * 1024 = 512000 bytes.
Could you try downloading the raw DAAP songlist?
Run the following URL and it should show you a download for a xdmap-tagged file. Please check the size of that file. (in bytes ofcourse)Without password:
http://:3689/databases/1/items?type=music&meta=dmap.itemid,dmap.itemname,daap.songartist,daap.songtime,daap.songformatWith password:
http://dummy:But indeed I guess this exceeds the 512000 limit..
[edit]Err. I am 100% thats the one causing it. 4140 songs create a filesize of 413795 bytes. Let alone 24000 songs.[/edit]
[edit2]
*sigh* C++ causes a buffer overflow when trying to allocate more than ~900000 bytes. So I guess I’ll have to do it another way. Could you try a different URL instead:Without password:
http://:3689/databases/1/items?type=music&meta=dmap.itemnameWith password:
http://dummy:And could you tell me how much bytes this URL generates? Thanks!
[/edit2]Kind regards,
Erik21/12/2007 at 7:15 AM #15148csternParticipant870879 bytes
21/12/2007 at 9:19 AM #15149EVILRipperParticipant@cstern wrote:
870879 bytes
Thanks. Will fix this when I have the time. (Which is probably in a day or 2)
29/12/2007 at 7:50 PM #15150EVILRipperParticipantWell there we go, found a way to read the response in chunks, so no more overflow there.
*********************
** 29-dec-07 – 0.3.1
*********************
** – Modified code to read chunks of code in order to support bigger libraries.
**
** Known Bug(s)
** – Playlist not generated when dragging window when songlist is downloaded.
** – Randomly adds garbage to the artist tag.
**30/12/2007 at 1:29 AM #15151csternParticipantStill crashes – but takes much longer before that. Looking in the debug info it doesn’t look like any title data is in the memory dump, so the crash must happen after collection of the data. Do you make some temporary files somewhere during the data collection?
31/12/2007 at 4:15 PM #15152EVILRipperParticipantOk. I copied my whole music database about 6 times which got me to 27.000 songs. After fixing a few bugs (which could have been causing your crash), it now successfully generates a playlist from it.
Hope now it does work? ๐*********************
** 31-dec-07 – 0.3.2
*********************
** – Fixed bug that added random garbage to artist tag.
** – Modified max songtitle size from 100 to 500.
** – Modified max artist size from 100 to 500.
**
** Known Bug(s)
** – Playlist not generated when dragging window when songlist is downloaded.
** -
AuthorPosts
- The forum ‘Add-on Software’ is closed to new topics and replies.