You are here: Home » Topic » Crossfire (webbased/iPhone/iPodtouch) streaming clientpage 2

Crossfire (webbased/iPhone/iPodtouch) streaming client

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server Add-on Software Crossfire (webbased/iPhone/iPodtouch) streaming client

This topic contains 40 replies, has 13 voices, and was last updated by  Anonymous 8 years, 10 months ago.

Viewing 15 posts - 16 through 30 (of 41 total)
  • Author
    Posts
  • #16283

    wizzofoz
    Participant

    Well, I’ve finaly got it running. The problem for me was caused by the configuration of IIS on my Win2k3Srv. By default IIS on Win2k3Srv has disabled all extentions, after installing PHP this extention has been enabled automaticly but there is another that should be enabled: “All unknown CGI extentions”. After enabling this and configuring the config.xml of Crossfire to the correct port of my Firefly server things work fine, browsing, searching and playimg mp3 files.

    #16284

    Anonymous

    @ChesneyChrist wrote:

    I’ve got this up and running now, but I’m having problems with the streaming.

    I’m not able to play a song all the way through on the ipod. The songs start streaming, but the stream never loads in full – the progress bar reaches about 95% and stops. The songs never get that far anyway, they restart at the beginning of the track, part way through, long before it catches up with the end of the stream.

    Has anyone experienced similar problems?

    BTW, the firefly server is not hosted on my NAS disk, it’s on my computer. If I connect to crossfire using this computer the streams work ok, the problem only occurs on the ipod.

    Hi Chris,

    Can you send me please send me some configuration details of your setup? Things I am very keen to know are the versions of Apache or IIS/PHP and iPod.

    Cheers,
    Tony

    #16285

    Anonymous

    I’m running Firefly on a Powerbook – OS 10.4.11. Firefly version is svn-1586. iPod is Version 1.1.4. As for Apache/PHP, I stumbled upon MAMP (mamp.info/en/index.php) which seemed the easiest way for me to get things started. It’s running Apache 2.0.59 and PHP 4.4.7 & 5.2.5. I’ve tried switching between 4.4.7 & 5.2.5, but the problem occurs in both versions.

    When streaming to the iPod I get this continuous message in the console:

    Session 0: Streaming file ’08 Birds.mp3′ to 127.0.0.1 (offset 0)
    Write error: Broken pipe

    This message appears in the PHP log:

    PHP Warning: fseek() [function.fseek]: stream does not support seeking in /Users/myusename/Documents/Webserver/crossfire/binairyproxy.php on line 137

    When I listen to a stream on the Powerbook the Broken pipe error occurs, but only happens once, not continually as on the iPod. The “stream does not support seeking” PHP error does not occur at all when streaming on the Powerbook.

    I hope some of this helps.

    Cheers.

    #16286

    Anonymous

    @ChesneyChrist wrote:

    I’m running Firefly on a Powerbook – OS 10.4.11. Firefly version is svn-1586. iPod is Version 1.1.4. As for Apache/PHP, I stumbled upon MAMP (mamp.info/en/index.php) which seemed the easiest way for me to get things started. It’s running Apache 2.0.59 and PHP 4.4.7 & 5.2.5. I’ve tried switching between 4.4.7 & 5.2.5, but the problem occurs in both versions.

    When streaming to the iPod I get this continuous message in the console:

    Session 0: Streaming file ’08 Birds.mp3′ to 127.0.0.1 (offset 0)
    Write error: Broken pipe

    This message appears in the PHP log:

    PHP Warning: fseek() [function.fseek]: stream does not support seeking in /Users/myusename/Documents/Webserver/crossfire/binairyproxy.php on line 137

    When I listen to a stream on the Powerbook the Broken pipe error occurs, but only happens once, not continually as on the iPod. The “stream does not support seeking” PHP error does not occur at all when streaming on the Powerbook.

    I hope some of this helps.

    Cheers.

    I filed a #bugreport for your error and tried to solve the problem, however i can not reproduce the error using XAMP on linux :*(. Will try downloading MAMP and see if it does behave different.
    Q1) Is your problem solved with version 0.5.0 ?
    Q2) Could you check if Apache has the filetypes for mov=>video/quicktime and mp3 audio/mpeg.

    Cheers,
    Tony

    #16287

    Anonymous

    I’ll give version 0.5.0 a go when I get back from work tonight.

    Thanks.

    Edit: I’ve downloaded the latest version and the same problem is happening.

    There’s seems to be something weird going on with crossfire, though. When I click the question mark in crossfire, the version number comes up as 0.01. Also, what I’m looking at doesn’t match the screenshots on the sourceforge page – should it?

    Here’s a screenshot: http://i30.tinypic.com/21kfp93.jpg

    #16288

    Anonymous

    Update:

    Up until now I’ve only tested Crossfire with Safari and Camino on the Powerbook and Safari on the iPod touch. I’ve just tested it with Firefox and everything looks at it does in the screenshots and youtube video for ver 0.5.0.

    #16289

    Anonymous

    I’ve managed to reproduce the PHP error when using my iPhone:
    PHP Warning: fseek() [function.fseek]: stream does not support seeking in /Users/myusename/Documents/Webserver/crossfire/binairyproxy.php on line 137

    It seem to occur when i installed Crossfire on lightHttpd webserver+php (fgci), and browsing with Mobile Safari on the iPhone.

    @ChesneyChrist wrote:

    Update:
    Up until now I’ve only tested Crossfire with Safari and Camino on the Powerbook and Safari on the iPod touch. I’ve just tested it with Firefox and everything looks at it does in the screenshots and youtube video for ver 0.5.0.

    If you get a blank-page using Safari and/or Camino, this is probarbly due to the fact I’ve didnt add specific Safari and Camino templates yet.

    However Safari and Camino support should work fine.
    Edit the config.xml file and add the Safari and Camino user-agent identifiers as below.









    If the default.xml template works, try the jpint_tiger_firefox.xml (this also should work fine on Safari.)

    PS: I am going to install both Safari for Win after work, and see if this works 😉

    Cheers,
    Tony

    #16290

    Anonymous

    I edited the config file and at first, nothing changed. I then added the jpint_tiger_firefox.xml line with the identifier for Safari, and everything looks and works ok on Safari on the laptop. On the ipod, everything looked ok but none of the files would load, I got the crossed out play icon. I did a bit of googling and found that the identifier for the touch is “iPod”. I added a line for that and it’s all good now.

    As for the streaming problem , it’s all a bit over my head. 😕 Does it look like it’s a limitation of MAMP?

    Thanks.

    #16291

    Anonymous

    Did you ever get the issue with lighttpd resolved? I have been trying to get this to work on my FreeNAS machine using the lighttpd binaries that come with it, but certain cases actually cause the server to crash.

    Oddly enough, I see the iPhone-friendly interface in Firefox, but I see the same white/blue tabular interface on my iPhone and in IE. Have you ever run across this?

    One more question: I see that there are certain variables that are duplicated between config.xml and index.html – to change the behavior, should both be modified?

    #16292

    Anonymous

    @mynnx wrote:

    Did you ever get the issue with lighttpd resolved? I have been trying to get this to work on my FreeNAS machine using the lighttpd binaries that come with it, but certain cases actually cause the server to crash.

    Oddly enough, I see the iPhone-friendly interface in Firefox, but I see the same white/blue tabular interface on my iPhone and in IE. Have you ever run across this?

    One more question: I see that there are certain variables that are duplicated between config.xml and index.html – to change the behavior, should both be modified?

    1. I’ve been working on the LightHTTPD problem for some time, but it does seem like a problem with the fast-cgi PHP binairy (and the way Byte-content is served through PHP). The only way to get around this is by using the internal_cache (which first copies the file from Firelfly, to the internal directory). This is an older workaround and can only be used in combination with the default.xml template

    2. To change the default skin for your iPhone, edit the config.xml and specify the correct template. (if you like the jpint interface, you can use jpint_tiger.xml for instance).

    3. The 0.5.0 index.html file should have a comment saying:
    // use the config.xml file to change the application settions
    The application variables in the index.html are overwritten by the values of the config.xml file. the Javascript currently located in the index.html file might be replaced in future versions, altough the config.xml will stay consistent and opts for backward compatibility (ignoring new features).
    There are some cases where people want to edit the index.html file for adding their own features but generally, this can be done using the template scripts.

    Cheers,
    Tony

    #16293

    Anonymous

    edge –

    If it helps, I am running apache2+PHP5 and am encountering the “stream does not support seeking” error as well. I scrapped my box with LigHTTPD.

    You’re right, turning on internal_cache and using the default.xml template solves the problem. What aspect of jpint_tiger.xml causes it not to work with the workaround? I really like that UI.

    Thanks for everything!
    ~Mynnx

    #16294

    Anonymous

    I’ve the JB-iTouch with Lighthttp&Apache and i wanted to listen to the Server on my Server.
    I’ve read so far and tried so far, but i’m a nOOb (no, not a totaly new one) and crossfire isn’t working.
    The only mssg i get is “There was a Prob with the Request)
    and i already looked after the MIME-Types, they’re there.
    So, what the heck?
    Is it possible that php is missing? (i couldn’t load it today)
    could load it now, but it still won’t work and gives the same error
    greeze
    Koenig

    #16295

    Anonymous

    @koenig wrote:

    I’ve the JB-iTouch with Lighthttp&Apache and i wanted to listen to the Server on my Server.
    I’ve read so far and tried so far, but i’m a nOOb (no, not a totaly new one) and crossfire isn’t working.
    The only mssg i get is “There was a Prob with the Request)
    and i already looked after the MIME-Types, they’re there.
    So, what the heck?
    Is it possible that php is missing? (i couldn’t load it today)
    could load it now, but it still won’t work and gives the same error
    greeze
    Koenig

    Its quiete possible that PHP isnt installed.
    You can run Crossfire on either Lighttpd or Apache, but those webservers will need to have access to a php module (fast_cgi php or mod_php).
    Check http://www.php.net to install php, and the Apache or Lighttpd manuals to configure them.

    Also when using a iPod, you will need to add the line:

    to your config.xml file (within the gui_templates section).

    Cheers,
    Tony

    #16296

    Anonymous

    thanks for helping, but after entering the line u suggested, the same error occurred: “there was a prob with the request.”
    ( i had the “config.xml” twice; one’s in my /Lib/WebServer/Docs/Crossfire an one’s in ~/Sites/Crossfire)
    Second Prob is, that there is no PHP-Module else than PHP,Apache & Lighthttp for the iTouch, so what else can i do, where could lie the “dead body” from which this shitty error occurs….

    I am a nOOb in php and so on, so please be patient 🙂

    I read the O’Reilly docs, but i’m shure, that i forgot sth.

    #16297

    Anonymous

    you dont need Apache or Lighttpd for the iTouch in order to stream music from your server. On your server (PC) install PHP/Apache. You can test if its running by creating a simple test page with the following content:
    <?php
    phpinfo();
    ?>


    [EOF]
    If you point your browser to it, it should return all kinds of PHP and Apache information.

    Hope this helps,
    else just send me an email with some more details (on the installation) at tony.tromp(at)gmail.com.

    Cheers,
    Tony

Viewing 15 posts - 16 through 30 (of 41 total)

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