View Poll Results: Have you tried new 1.9.2.7 audio features?

Voters
142. You may not vote on this poll
  • They're useless

    47 33.10%
  • They never worked for me, but I would like to use them

    12 8.45%
  • Works fine for me

    32 22.54%
  • Have no idea about these features

    51 35.92%
Page 4 of 4 FirstFirst ... 234
Results 46 to 50 of 50

Thread: 1.9.2.7 Audio features

  1. #46
    Join Date
    Jan 2006
    Location
    Stockholm, Sweden
    Posts
    9
    I'm also trying to use the wl-500gx + attached usb-hd as a silent musicmachine... I installed rmdijkman php-script, and it kind of works... i can see my mp3's listed by the php-page, but nothing happens when i press the little playbutton... very frustrating...

    As i mentioned in another post, i installed madplayer and it works when executed directly...

    Has anyone had any luck with this and are willing to help me out?

    Thanks in advance/
    Erik

  2. #47
    Join Date
    Jan 2006
    Location
    Stockholm, Sweden
    Posts
    9
    Quote Originally Posted by Reflex
    Hi rmdijkman!
    I tried it today (it took some time to find out about waveserver and that he is blocking the audio device) and its working fine!
    I will try to add a changer mode: That will play all directories in order and 2 more buttons to go forward and back in directories. For audiobooks this is easier then the playlist mode.
    Thank you very much!
    c ya
    Reflex
    Sorry for bring old threads back to life, but i tried everything to get the phpscript to work, but, im to damn lousy at linux .

    Could you, if possible, please type a small guide for installing the script and also how to set the rights to files and such...
    I'm getting a bit desperate here...

  3. #48
    Hello Reflex , I read that you want to modify the php script to remote control madplay.
    Did you already made some progress ?
    Thanks

  4. #49

    Nice script but.....

    Quote Originally Posted by xopr View Post
    I received a list of shoutcast servers and thought: "it would come in handy if I have a webpage where I can choose which station I want to listen."
    So I made another script some of you might be interested in.
    Just put this file into your cgi-bin directory of your secondary webserver and browse to the name of this script.

    There's still only one problem: if I start a stream, there won't be any page output.
    Maybe someone has a solution for this.
    Code:
    #!/bin/sh
    # WEBRADIO SCRIPT V1.1
    echo "Content-type: text/html;"
    echo
    
    # SERVER FILE FORMAT:
    #    
    SERVERFILE=stations
    
    # EXTRACT PARAMETER, IF PRESENT
    # THIS CAN BE script?param=value&param2=value2...
    # OR CAN BE   script/param=value&param2=value2...
    ESC_SCRIPT_NAME=`echo $SCRIPT_NAME | sed -r 's/\//\\\\\//g'`
    PARAM=`echo $REQUEST_URI | sed -e "s/$ESC_SCRIPT_NAME.//g"`
    
    if [ "$SCRIPT_NAME" != "$REQUEST_URI" ]; then
     # MAKE VARIABLES OUT OF THE PARAMETER
     `echo -e export "$PARAM" | sed -e "s/&/\nexport /g"`
    
     # NO HOST GIVEN, PROBABLY WANTS TO STOP THE STREAM
     if [ -z "$host" ]; then
      ./stream stop
      exit 0;
     fi
    
     # STARTING STREAM, USES THE STREAM SCRIPT
     ./stream stop > /dev/null
     ./stream start $host $port $urlpath
    else
     # DEFAULT: NO PARAMS GIVEN
     # PRINT THE SERVER LIST
     cat $SERVERFILE | sed -r "s/([^ ]*) ([^ ]*) ([^ ]+) (.*)/< a. h.r.å.f=\"$ESC_SCRIPT_NAME?host=\1\&port=\2\&urlpath=\3\">\1:\2\3 \"\4\"<\/a>
    \n/g" fi
    Also, it is likely, you have to kill the waveserver and waveservermain processes, otherwise you can't access your soundblaster device

    Update:
    I improved the script a little to play streams which contain paths in their url (Like Digitally Imported does: 64.236.34.67 80 /stream/1017 DI DJ mixes 96k)
    You have to use the updated stream script posted earlier.
    To show an example stations file:
    Code:
    radio.bmj.net 8000 / Bash.org radio (trance)
    rs1.radiostreamer.com / 8370 70's
    classical.music4free.no-ip.org 8000 / Classic
    radioprank.com 8000 / Comic
    www.media4fun.com 8004 / Music Hq
    native.screaminghost.com 8010 / Mixed
    64.236.34.67 80 /stream/1017 DI DJ mixes 96k
      / Stop stream
    i'm not good in english but about php,pl i know nothing.....ad i try and try this script from xopr so i find out that there is the "!" between if "$SCRIPT_NAME" != "$REQUEST_URI" ; then" not correct o.k. but i think thats not the only error .The script dont work and i dont know why.....
    i made one script called webradio in the cgi-bin directory it shows all the servers i put in the stations file.One script the stream script called "stream" that works when i go to telnet and write /opt/share/www/stream start "host" "port".Can someone help me to get this to work?
    Last edited by Omega; 19-06-2017 at 15:26.

  5. #50
    Hi!

    I tried to use the script from rmdijkman on my WL-HDD with lighttpd+php+fcgi!
    Everything looks fine: I can see my mp3-directories and it's also possible to add files to the playlist. But when I press the play button, nothing happens!?!
    Playing songs with maplay over telnet works fine.

    What's the problem? I've spent a lot or time, but I didn't find a solution!
    Can anybody help me to solve this problem?

    Thanks a lot!!!

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Features or stability???
    By i-beast-a in forum WL-500g Q&A
    Replies: 152
    Last Post: 01-09-2005, 16:59
  2. Replies: 6
    Last Post: 19-04-2005, 10:59
  3. Witch features are implemented in Samba?
    By Ikke in forum WL-500g Q&A
    Replies: 1
    Last Post: 20-08-2004, 09:18
  4. Replies: 2
    Last Post: 20-04-2004, 21:49
  5. New Features
    By njs in forum WL-500g Q&A
    Replies: 0
    Last Post: 02-01-2004, 16:49

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •