Open-home and upmpdcli

General discussion about RuneAudio. Do not post any support or feature requests here.

Open-home and upmpdcli

Postby Dukobpa3 » 16 Sep 2014, 23:14

I've done some investigation of open-home and UPnP.

It's working ok but there is some comments.
Good:
  • playlist have stored to mpd and can play after control point is disconnected. This behaviour is as explain by OhMedia.

Bad:
  • mp3-tags can't be parsed, it's looking like:
    xc3HFdz0u0yJaRqtG5aEMA[1].jpg
    xc3HFdz0u0yJaRqtG5aEMA[1].jpg (71.18 KiB) Viewed 3554 times

    I've seen the same picture in the RuneUI.
  • mpd can't play next files if UPnP library is disconnected. (I think the few next next files should be stored to PC on which mpd is running on. For now just current one is stored and playing also if lib is disconnected)
  • if I send new file to upmpdcli through UPnP control (BubbleUPnP) - the current playlist will be replaced with this new one. (This behaviour is based on BubbleUPnP settings)
User avatar
Dukobpa3
 
Posts: 29
Joined: 04 Sep 2014, 21:33
Location: Kyiv, Ukraine

Re: Open-home and upmpdcli

Postby Dukobpa3 » 17 Sep 2014, 00:40

UPD:
- mp3-tags and cover is parsing for current track. Playlist stay with ugly numbered names only.
User avatar
Dukobpa3
 
Posts: 29
Joined: 04 Sep 2014, 21:33
Location: Kyiv, Ukraine

Re: Open-home and upmpdcli

Postby ACX » 17 Sep 2014, 00:51

Dukobpa3 wrote:mp3-tags can't be parsed, it's looking like:
-IMG-
I've seen the same picture in the RuneUI.

Uhm, I see correct tags in the RuneUI when feeding music from foobar2000, BubbleUPnP and Jamcast. What are you using as source?
User avatar
ACX
RuneAudio co-founder
 
Posts: 1693
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Open-home and upmpdcli

Postby Dukobpa3 » 17 Sep 2014, 00:56

ACX wrote:What are you using as source?

I'm using BubbleUPnP as control point and have tried minidlna and BubbleUPnP-local libraries.
User avatar
Dukobpa3
 
Posts: 29
Joined: 04 Sep 2014, 21:33
Location: Kyiv, Ukraine

Re: Open-home and upmpdcli

Postby ACX » 17 Sep 2014, 01:19

I'm currently starting the process as daemon with this command:
Code: Select all
upmpdcli -D -f RuneAudio


These are the available options:
Code: Select all
[root@runeaudio ~]# upmpdcli -h
upmpdcli: usage:
-c configfile    configuration file to use
-h host          specify host MPD is running on
-p port          specify MPD port
-d logfilename   debug messages to
-l loglevel       log level (0-6)
-D       run as a daemon
-f friendlyname  define device displayed name
-q 0|1   if set, we own the mpd queue, else avoid clearing it whenever we feel like it
-i iface         specify network interface name to be used for UPnP
-P upport        specify port number to be used for UPnP
-O 0|1   decide if we run and export the OpenHome services

Are you also using the -q and -O options?
User avatar
ACX
RuneAudio co-founder
 
Posts: 1693
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Open-home and upmpdcli

Postby Dukobpa3 » 17 Sep 2014, 01:29

Code: Select all
$ ps aux | grep mpd
mpd       2243 10.1  2.3  67252 11716 ?        Rsl  Sep16   6:05 /usr/bin/mpd /etc/mpd.conf
upmpdcli  2425  1.5  0.4  96132  2476 ?        Ssl  Sep16   0:57 /usr/bin/upmpdcli -D -c /etc/upmpdcli.conf


Code: Select all
$ vim /etc/upmpdcli.conf

# Configuration file for upmpdcli, the UPnP Media Renderer front-end to MPD

# Host MPD runs on. Defaults to localhost. This can also be specified as -h host
mpdhost = localhost

# Port for MPD. Can also be specified as -p port
mpdport = 6600

# Displayed "Friendly Name" for the UPnP Media Renderer
friendlyname = ColtPC-player

# Decide if we offer the OpenHome services. 0 or 1.
# The default is 'yes' in the configuration file, and 'no' in the code, so
# that people don't get surprised during a software update.
openhome = 1
User avatar
Dukobpa3
 
Posts: 29
Joined: 04 Sep 2014, 21:33
Location: Kyiv, Ukraine

support RuneAudio Donate with PayPal


Return to General discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest