You are here: Home » Topic » A standalone Java client: FireflyClientpage 3

A standalone Java client: FireflyClient

This topic contains 186 replies, has 37 voices, and was last updated by  Anonymous 8 years, 9 months ago.

Viewing 15 posts - 31 through 45 (of 187 total)
  • Author
    Posts
  • #15541

    Anonymous

    Hey,

    Glad to see it is working!

    @onecaibou wrote:

    Any chance we could get a volume control in the client?

    Thanks for the remark, I add it to my todo list. It’ll be in one of the next releases.

    @wwaren wrote:

    Is there a way to have it update a library once its done a scan, or do I just redo the library from scratch?

    For the moment, to take advantage of remote library update, you have to reopen the library and reload the entire updated remote list. I’ll try to think of a smart update in a future release but it might be tricky, especially for the removed tracks (new one should be easy to detect)

    @wwaren wrote:

    Where does a saved library get stored?

    The library and global configuration get stored in the directory .firefly-client in your home directory. You can copy this directory on your flash drive to later copy it on your home directory on the other computer.

    #15542

    Anonymous

    I have just released a new version of FireflyClient : 0.5b

    See: https://sourceforge.net/project/showfiles.php?group_id=212642

    Added playlist support (readonly) and incremental update functionality.


    Changelog:
    - Playlists management (readonly)
    - Playlists names are loaded remotely whenever loading a library (local/remote/update)
    - Playlists songs are lazily loaded when clicking on the playlist item
    - Smart playlists are displayed first, then static ones (all sorted alphabetically)
    - Playlists items are not cached locally when quitting the application (always remotely loaded)

    - Smart library update, just request new songs present on the server
    - removed songs are not detected while the update which may lead to invalid songs in the current playlist
    -> So, when the player tries to open an invalid song (HTTP status 404), it is automatically removed from the list

    - Modifiy search box to search on the current playlist
    - Made left panel resizable (size persisted)
    - Change window title to display song played
    - Now closes current open library if any before opening new one (without confirmation)
    - Exit confirmation popup opens only if changes are detected (new songs, removed songs, password changed)
    - Added the firefly client store directory in about dialog (beside/below the client version)
    - Bug fix about sorting with unknown artists (when loading remote songlist)
    - Minor improvement on dialogs sizing/navigation
    - Improved cover management (for all size/ratio)
    - Minor bugs fixes

    Any remark, bug report, feature request is welcome,

    — caribou

    #15543

    richo132
    Participant

    @caribou wrote:

    I have just released a new version of FireflyClient : 0.5b

    Any remark, bug report, feature request is welcome,

    — caribou

    Excellent – easy to use, looks good and faast (for 13,000 song library)
    3 bug reports for you:
    1. track time displayed with spurious leading “3” eg 35:08 instead of 5:08
    2. switch to ibarthemepack and back to normal – lose page header
    3. Player Error: Connection timed out (proxy= / port=) – after about 4 songs
    Pls keep up the good work!
    Cheers, Alan G.

    #15544

    Anonymous

    @richo132 wrote:

    Excellent – easy to use, looks good and faast (for 13,000 song library)

    Thank you very much !!: Let’s look at your bug reports…

    1. track time displayed with spurious leading “3” eg 35:08 instead of 5:08

    This must be related to your default timezone. I will correct it in the next release for this to work with all timezones (easy fix).

    2. switch to ibarthemepack and back to normal – lose page header

    This is a known bug as I wrote in the 0.4b changelog. Restart is needed if you switch with the Normal (native) look and feel.

    3. Player Error: Connection timed out (proxy= / port=) – after about 4 songs

    This seems more awkward ! Does it crash every time ? Is your server still up after error? Does it happen on different/same song ? What type of song (mp3, ??) What is the stacktrace (error details) ? What is your configuration (java version, os, firefly server version + os) ?

    I’ll try to have a closer look at it if you provide me details and a song ?

    For an in depth diagnosis, you could open me a temporary access to your server ? (you can write me at: vcariven [at] users.sourceforge.net – i’ll make no bad use of it 😉 ) It may be the connection/read timeouts which are too small for some songs and/or connection bandwidth.

    Thank you again for your feedback!

    –caribou

    #15545

    fizze
    Participant

    Heh, I finally got around to trying this, very nice UI 🙂

    I, however, hit a brickwall with 0.5b:

    [FireflyClientException] class com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException - IOException while unmarshalling the database (during parsing).
    at net.firefly.client.controller.request.RSPRequestManager.getDatabase(RSPRequestManager.java:344)
    at net.firefly.client.gui.swing.dialog.NewHostDialog$OKButtonActionListener$1.run(NewHostDialog.java:308)
    at java.lang.Thread.run(Unknown Source)

    Ok, that Xerces-Parser I know from a couple of other projects. I am using svn-1696 with sqlite3 on a NSLU2, that is currently hard-pressed doing lots of other stuff.

    But as my soundbridge can access it, I guess so should firefly client?

    I guess the XML parser just chokes on some malformed input, probably special characters, umlauts, etc? I can provide you that XML, if that would help.

    #15546

    Anonymous

    @fizze wrote:

    Heh, I finally got around to trying this, very nice UI 🙂

    Thank you very much….. but it seems that it is not enough 😥 to get it work !

    I, however, hit a brickwall with 0.5b:

    [FireflyClientException] class com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException - IOException while unmarshalling the database (during parsing).
    at net.firefly.client.controller.request.RSPRequestManager.getDatabase(RSPRequestManager.java:344)
    at net.firefly.client.gui.swing.dialog.NewHostDialog$OKButtonActionListener$1.run(NewHostDialog.java:308)
    at java.lang.Thread.run(Unknown Source)

    It is very strange because regarding the trace, the error does not occur while loading the song list (which may contains strange character) but just asking the database (which should not be a complex xml):

    http://server:port/rsp/db

    Have you tried several times, because I had a similar error that occured sometimes when testing HTTP compression support (see your preferences), but I couldn’t reproduce it always. This made this bug hard to correct! I’d be glad if you could provide me with the xml to have a closer look at it. You can retry to see if you can reproduce it always or disable HTTP compression to see if it still happens.

    I am using svn-1696 with sqlite3 on a NSLU2

    Nothing to do with it but i’m trying too migrate from svn-1376 to svn-1696 but with debian etch and it seems that there is no sqlite3 database support. I found sqlite much more slow than sqlite3. Do you know where I can find a .deb package 1696 with sqlite3 database support enabled ?
    –caribou

    #15547

    fizze
    Participant

    It’s not a compression issue, since I disabled that from the start. I don’t want to heighten the load on the poor slug if I dont have to 😉

    here’s the rsp/db XML:

    *snip*
    removed the code again coz of layout breakage*
    *snip*

    #15548

    Anonymous

    @fizze wrote:

    here’s the rsp/db XML

    Thank you very much, i’m gonna have a look at it. Indeed, it seems that there are some marfolmed characters (iso instead claimed UTF-8 ?) I’m gonna see what I can do about it. What kind of playlist is “Saint-Germain des Pr�s Caf� I” ? m3u ? I’m afraid that the best I can do would be to display question marks (?) as in this forum if possible at all. To go further you can rename the three “guilty” playlists “Saint-Germain des Pr�s Caf�” I, II and III (and make firefly aware of that change)
    — caribou

    #15549

    fizze
    Participant

    It’s an m3u, yes.
    Yeah, its not in UTF-8, its some windows codepage.
    It should be “St. Germain des Prés Café” really.

    I hope I have an hour or two this weekend to fiddle with a DB sanitization script, that would obviously also take care of such malformed strings. Now thats where REGEXP_INSTR would come in handy on sqlite 😉

    #15550

    Anonymous

    Indeed, it is windows (CP1252) or some ISO encoding. I think I can make a correction so that the parsing don’t fail anymore on those characters (i’d better say “degrade gently”). It would then display, I think, question marks instead which would not prevent the library loading failure. Where can I email you a patched version to test the correction before you sanitize you db? You can email me at “vcariven [ at] users.sourceforge.net” to communicate me your address if you dont want to let it on the forum. I think I can send you that today.
    Thank for your collaboration,
    –caribou

    #15551

    fizze
    Participant

    Well, now I’ve had a chance to play around a little with 0.6.
    Awesome work, and here are a few bugs that I found:

    -) When you pause a song, and unpause, it plays the selected song, and doesn’t continue the previous song.
    -) Playlists (including smart one’s) are being loaded correctly, however browsing them is broken. It always selects ALL songs from a given artist or album, and not only those in the playlist. I have a smart playlist that contains all songs added within the last 2 weeks. Say I’ve added a new Elvis album yesterday, firefly client would still present me ALL albums by the King in that playlist.
    -) The notification popup when a song is changed is a brilliant idea. However the buttons to skip to the next/previous song don’t work at all, or take a very long time until they do something.

    #15552

    Anonymous

    @fizze wrote:

    Well, now I’ve had a chance to play around a little with 0.6.
    Awesome work

    Thank you!

    and here are a few bugs that I found:
    -) When you pause a song, and unpause, it plays the selected song, and doesn’t continue the previous song.

    That was a choice at a the beginning, I think you are right that that’s not the more intuitive, I’ll change it in the next release.

    -) Playlists (including smart one’s) are being loaded correctly, however browsing them is broken. It always selects ALL songs from a given artist or album, and not only those in the playlist. I have a smart playlist that contains all songs added within the last 2 weeks. Say I’ve added a new Elvis album yesterday, firefly client would still present me ALL albums by the King in that playlist.

    I’ve not done a lot of testing for that ’cause I don’t really use playlists for myself. I think it’ll be easy to correct (certainly available in the next release).

    -) The notification popup when a song is changed is a brilliant idea. However the buttons to skip to the next/previous song don’t work at all, or take a very long time until they do something.

    I don’t really understand this one as this functionnality works well for me for a long time. Don’t see what to do to solve that!
    Thank you again for furthering this app!
    — caribou

    #15553

    fizze
    Participant

    Yeah, the play/pause issue isn’t really a bug, but more like a usability thing. But as far as I remember, iTunes handles it differently.

    Well, the notification next/prev issue might be related to other bugs.
    Since its just an option, I wouldn’t treat it with high priority. Not unless it’s clear and reproducible.

    edit:
    Wow, its an incredibly busy week.
    Finally got a chance to checkout the CVS trunk from sf.

    Its complaining about skins, and skin look and feel stuff missing.

    import com.l2fprod.gui.plaf.skin.Skin;
    import com.l2fprod.gui.plaf.skin.SkinLookAndFeel;

    Can you add that to the CVS or do I have to grab that elsewhere?
    My java IDE is jdeveloper, which is Oracle-focused, but I found its working nicely for other projects, too. 🙂

    #15554

    Anonymous

    @fizze wrote:

    Its complaining about skins, and skin look and feel stuff missing.

    import com.l2fprod.gui.plaf.skin.Skin;
    import com.l2fprod.gui.plaf.skin.SkinLookAndFeel;

    It seems that it’s just a problem of classpath configuration. Classes are present in the jar skinlf.jar in the “lib” subdirectory. Do you have the same error when build the app with ant (using build.xml) ? To avoid those kinds of problem, add all the jar files contained in the lib subdirectory to your classpath.

    I don’t know if you received the mail about translating Firefly Client to german ? Would you be interested in it ? So that I could add German support to next version (maybe in a week with full static playlists management support, I hope 🙂 ) If you agree, you’d just have to send me a translated version of the translation file: http://fireflyclient.cvs.sourceforge.net/*checkout*/fireflyclient/fireflyclient/src/net/firefly/client/resources/translations/translations_en_GB.properties
    to vcariven [ at] users.sourceforge.net

    If other are interested in translating it into other languages, I’m quite demanding …

    Thanks in advance

    — caribou

    #15555

    fizze
    Participant

    Yeah, I got your mail. But works doing an awful good job of keeping me from even wanting to go near a PC when I’m home these days. 😕

    Of course I’ll translate. Im afraid it might take a little while, though 😉

Viewing 15 posts - 31 through 45 (of 187 total)

The forum ‘Add-on Software’ is closed to new topics and replies.