You are here: Home » Topic » A standalone Java client: FireflyClient

A standalone Java client: FireflyClient

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

Viewing 15 posts - 1 through 15 (of 187 total)
  • Author
    Posts
  • #2093

    Anonymous

    I have just published on sourceforge.net a java client that i’ve been using for a year now to connect to my home firefly media server from my work.

    Link: http://sourceforge.net/projects/fireflyclient
    Screenshots: http://sourceforge.net/project/screenshots.php?group_id=212642

    The client is a swing java client delivered as an auto-executable jar) with the following features :


    Features:
    - platform-independant (as soon as a java runtime is installed)
    - Can connect to a Firefly Media Server wherever on the network/internet given the host name and the port
    - Optional proxy configuration
    - Use of DAAP XML request
    - Authentication management for password protected libraries
    - MP3 + WAV playback support (thanks to Javazoom MP3 SPI, Tritonus and JLayer)
    - Cover display through ID3v2 MP3 tags if any (thanks to JAudioTagger)
    - Shuffle mode
    - Seeking is supported for MP3
    - Loads the whole bunch of songs at startup and display them
    - artist panel + album panel + songs pannel
    - Compilation grouping
    - Songs are sorted by: artist > album > disk number > track number > song title
    - Search feature (search in artist+album+title)
    - Sublists are displayed by selecting either artist, albums, or to display a search result
    - Possibility to save the library locally to load it later (much faster)
    - Warning when remote songlist does not have the same number of songs as locally cached one
    - Different languages managed: english and french
    - Skin support (thanks to SkinLF)
    - Application settings are automatically saved locally (language, proxy, skin, window position)
    - As songlists, app parameters are saved in ${user.home}/.firefly-client
    - When application does not have the focus and a song changes, a notification popup fires with new song info (optional)

    More features can come…

    #15512

    sonichouse
    Participant

    Unfortunately does not work with my firefly 1696 πŸ™

    Killed it when retrieving items …

    2008-01-02 16:55:18 (00000400): Firefly Version svn-1696: Starting with debuglevel 5
    2008-01-02 16:55:18 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/rsp.so (rsp/svn-1696)
    2008-01-02 16:55:18 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/out-daap.so (daap/svn-1696)
    2008-01-02 16:55:18 (00000400): Loaded plugin /opt/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1696)
    2008-01-02 16:55:18 (00000400): Plugin loaded: ssc-script/svn-1696
    2008-01-02 16:55:18 (00000400): Plugin loaded: daap/svn-1696
    2008-01-02 16:55:18 (00000400): Plugin loaded: rsp/svn-1696
    2008-01-02 16:55:18 (00000400): Starting rendezvous daemon
    2008-01-02 16:55:18 (00000400): Starting signal handler
    2008-01-02 16:55:18 (00000400): Initializing database
    2008-01-02 16:55:25 (00000400): Starting web server from /opt/share/mt-daapd/admin-root on port 3689
    2008-01-02 16:55:25 (00000400): Listening on port 3689
    2008-01-02 16:55:25 (00000400): Starting server thread
    2008-01-02 16:55:25 (00000400): Registering rendezvous names
    2008-01-02 16:55:25 (00000400): Serving 3046 songs. Startup complete in 8 seconds
    2008-01-02 16:55:38 (00000c03): malloc error in vasprintf
    2008-01-02 16:55:38: Aborting
    2008-01-02 16:55:38 (00000400): Rendezvous socket closed (daap server crashed?) Aborting.
    2008-01-02 16:55:38: Aborting

    #15513

    blamm
    Participant

    Hi.

    I got an error on loading the library

    Cause: SAXException while unmarshalling the song list (during parsing)

    #15514

    Anonymous

    I run my server on a slug too (debian slug) but with version svn-1376. I got the same message when trying to upgrade to svn-1696 (so I got back to svn-1376).
    I saw a similar post on the forum but it didn’t get any positive answer: http://forums.fireflymediaserver.org/viewtopic.php?p=16062
    I saw other similar posts too around FirePlay

    What is strange is that it works fine on FireflyMediaServer on Windows. (svn-1696)

    It may be linked to the arm version for the slug.

    FireflyClient is based on the xml version of the protocol. It crashes too when requesting the songlist from a web browser. I don’t understand why.

    I will try to implement a rsp based version. Indeed, RSP requests for songs list seems to work well.

    #15515

    sonichouse
    Participant

    Thanks for the quick reply, RSP works for me with fireplay.

    It might be worth getting the server version, and reporting if it is not compatible.

    #15516

    Anonymous

    @blamm wrote:

    Hi.

    I got an error on loading the library

    Cause: SAXException while unmarshalling the song list (during parsing)

    Could you please tell me which server version you use (and on which platform). To be able to investigate, i’d need the library xml file generated when requesting the following url on your server: http://www.yourserver.com:3689/databases/1/items?output=xml.

    If it is not possible to attach a file on this forum, you can open a bug on the sourceforge bug tracker:

    http://sourceforge.net/tracker/?atid=1022553&group_id=212642&func=browse

    or paste xml fragment on this forum (the beginning, though the full one would be better)

    Thanks for summiting bugs…

    If you have any questions, details…

    #15517

    sonichouse
    Participant

    @caribou wrote:

    @blamm wrote:

    Hi.

    I got an error on loading the library

    Cause: SAXException while unmarshalling the song list (during parsing)

    Could you please tell me which server version you use (and on which platform). To be able to investigate, i’d need the library xml file generated when requesting the following url on your server: http://www.yourserver.com:3689/databases/1/items?output=xml.

    If it is not possible to attach a file on this forum, you can open a bug on the sourceforge bug tracker:

    http://sourceforge.net/tracker/?atid=1022553&group_id=212642&func=browse

    or paste xml fragment on this forum (the beginning, though the full one would be better)

    Thanks for summiting bugs…

    If you have any questions, details…

    I get the same error with 1696 on NSLU2.

    My xml file is here

    #15518

    blamm
    Participant

    @caribou wrote:

    @blamm wrote:

    Hi.

    I got an error on loading the library

    Cause: SAXException while unmarshalling the song list (during parsing)

    Could you please tell me which server version you use (and on which platform). To be able to investigate, i’d need the library xml file generated when requesting the following url on your server: http://www.yourserver.com:3689/databases/1/items?output=xml.

    If it is not possible to attach a file on this forum, you can open a bug on the sourceforge bug tracker:

    http://sourceforge.net/tracker/?atid=1022553&group_id=212642&func=browse

    or paste xml fragment on this forum (the beginning, though the full one would be better)

    Thanks for summiting bugs…

    If you have any questions, details…

    Hi, the query returns an error. I think it has an issues with some of the comments in my files. I will investigate.

    FYI for the small amount of dev I have done I have had much better success (and performance) using RSP.

    #15519

    Anonymous

    As written previously, I will try to provide an RSP support in the coming weeks.

    Any other comments welcome.

    #15520

    EVILRipper
    Participant

    H’okay. Looks pretty damn shiny.
    It’s just that, it kills my server. πŸ˜›

    svn1696, chrooted into debian etch on a Conceptronic CH3SNAS (not very known)

    As noted by all others, the same error:

    2008-01-02 22:27:23 (45cff4e0): Session 0: Streaming file ’08-rise_against-the_approaching_curve.mp3′ to 192.168.1.2 (offset 0)
    2008-01-02 22:28:47 (46cff4e0): malloc error in vasprintf
    2008-01-02 22:28:47: Aborting

    And poof, no more music. hehe.

    #15521

    Osik
    Participant

    hi caribou,

    well done.

    I haven’t installed it this on my server but running it on my Windows Vista and openSUSE standalone. Which works quite good.

    Although i don’t like, java apps, because i think there are slow, yours indeed isn’t, this app seems a very good alternative to FirePlay which is flash based.

    I found it annoying to connect to my music server for my own. And these “neverending” dialogs which tell me to do that or cancel/exit aren’t that good. The keyword is: Keep it simple, keep it stupid πŸ˜‰

    Maybe you can give us, especially me πŸ˜‰ a howto install this on a webserver.

    Thanks for an great app πŸ˜‰ and happy new year.

    Greetz

    Osik

    #15522

    rpedde
    Participant

    @caribou wrote:

    I have just published on sourceforge.net a java client that i’ve been using for a year now to connect to my home firefly media server from my work.

    Wicked cool!

    Do you already have the rsp specs? I need to transcribe those, but I just haven’t gotten the time. If you need them, email me at [email protected], and I’ll make sure I get them to you.

    — Ron

    #15523

    Anonymous

    @rpedde wrote:

    Wicked cool!

    Do you already have the rsp specs? I need to transcribe those, but I just haven’t gotten the time. If you need them, email me, and I’ll make sure I get them to you.

    — Ron

    Many thanks Ron, the mail has been sent.

    #15524

    Anonymous

    @osik wrote:

    hi caribou,
    I haven’t installed it this on my server […]
    Maybe you can give us, especially me πŸ˜‰ a howto install this on a webserver.

    This is, “as is” a standalone client which cannt be installed on a server as FirePlay or the DAAPApplet.

    There are some developments with more priority before trying to implement an applet version of FireflyClient (RSP management, playlists,…)

    Maybe in a future, I will release an applet version which could be installed on the server (which would then need much less configuration). The main problem is that applets cannot directly write files on the client filesystem which is actually the case for caching configuration parameters and mainly the songlist.

    Thanks for your remarks

    –caribou

    #15525

    EVILRipper
    Participant

    @caribou wrote:

    The main problem is that applets cannot directly write files on the client filesystem which is actually the case for caching configuration parameters and mainly the songlist.

    Let me guess, Access Denied?

    If you sign the applet, the user is asked for permission when running the applet. When the user agrees, the applet does have write access to the client filesystem. πŸ™‚

Viewing 15 posts - 1 through 15 (of 187 total)

You must be logged in to reply to this topic.