[7. June 2013] Youporn available now | [19. April 2013] A-400 Advanced Network Setup | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
MPD Web-Radio with NOW PLAYING!!!!
03-06-2010, 04:42 AM
Post: #1
MPD Web-Radio with NOW PLAYING!!!!
Hi everyone!

Since getting my NMT I was looking for a way to listen to webradio and see Now Playing information (without the need to use PC app such as Swisscenter of GB-PVR). Cause playing Guess the tune game isn't was one would expect from radio listening.

And I found a way which given someone with PHP knowledge efforts can turn into a full fledged CSI package... or get integrated into MPDJB...or something else.

I stumbled upon a post from Chompy about getting old phpMP (http://mpd.wikia.com/wiki/Client:PhpMp) webclient for MPD to work on NMT. I did as he said here http://www.networkedmediatank.com/showth...#pid177232 and it worked. yes it ugly and some function don't work. BUT it does the most important thing (for me at least):
If you use PC client for MPD and add radio streams to playlist... then you can use phpMP to play these streams and it shows NOW PLAYING almost realtime (you can set refresh frequency in config.php file.) with not only artist and song names but also bitrate and song length!!!. The downside is that right after start you can see only IP of stations, but when you start one ... it shows station name too.

I made it as Webservice and now can listen to radio (which I couldn't before because of absence of NOW PLAYING info).

I wonder if someone with PHP knowledge could modify phpMP code to turn it into a special package for radio listening. I would expect many to be happy!
Find all posts by this user
03-06-2010, 03:08 PM (This post was last modified: 03-12-2010 04:56 PM by antherion.)
Post: #2
RE: MPD Web-Radio with NOW PLAYING!!!!
Actually, I've made a makeshift one screen Webradio tuner off phpMP myself.
Just deleted from index.php these lines:
Code:
include_once "main_body.php";
    print "</td>\n";
    print "<td width=250>\n";
[/php]
and added some images, so now as I launch it... it shows this screen:
[Image: img123.jpg]

As for MPD playlist edit, I use QMPDClient, which as I already mentioned has Shoutcast directory.
Find all posts by this user
[+] 1 user says Thank You to antherion for this post
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Rainbow Music Player Daemon (MPD) - v0.16.2 shadowcode 120 38,263 05-10-2013 08:42 AM
Last Post: Djiest
  Pure Web Remote Control or Listening Audio with switched off TV pompon 165 70,178 03-27-2013 08:05 PM
Last Post: luciano63
Music MPD installation howto (updated 4 May 2009) gwillem 494 294,692 07-20-2012 09:43 PM
Last Post: krimpenrik
  Music Player Daemon (MPD) 2010-04-04 v0.15.9 shadowcode 245 88,344 03-10-2012 01:05 AM
Last Post: ianny
  Can't watch media on Web Inteface kalma 17 4,450 08-23-2011 07:38 AM
Last Post: gkreidl
  web server manifest support harrykausl 0 1,256 07-20-2011 09:35 AM
Last Post: harrykausl
  [Apps] Qt4 WebKit - Web Browser - A110/100 - Updated 28th June vaidyasr 168 66,280 07-05-2011 10:31 AM
Last Post: gkreidl
  Is it possible to display custom osd messages while playing a movie? gcf 2 1,609 02-12-2011 01:36 PM
Last Post: dc11ab
  Eyecon Troller - Youtube no sound and playing albums stone28 1 1,564 12-25-2010 12:24 AM
Last Post: scorpio67
  music player daemon MPD & PCH Remote control beatnut88 19 10,201 12-22-2010 12:31 AM
Last Post: dooly

Forum Jump: