Author Topic: Raspberry Pi as UPnP player under Dianemo  (Read 5807 times)

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Raspberry Pi as UPnP player under Dianemo
« on: February 10, 2014, 11:26:06 pm »
Hello,

I'm trying to setup RPi with raspbmc as UPnP player that can be controlled  from Dianemo.

Have three short questions :

1. What do I put into /etc/pluto/media_config.conf for RPi ? Is this right ?
Code: [Select]
#XBMC RPi
Room=12:        AudioDev=412; VideoDev=412; KeepScreenOnForOSD=no

2. How to troubleshoot setup it it isn't working ?

3. If I want to start media from XBMC GUI - what is the proper way to get media from Dianemo ? UPnP server LS doesn't provide video files, also music files are not working for me, should Samba be used for this ?

Thanks in advance,
regards,
Bulek.


« Last Edit: February 10, 2014, 11:32:29 pm by bulek »
Thanks in advance,

regards,

Bulek.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Raspberry Pi as UPnP player under Dianemo
« Reply #1 on: May 12, 2014, 01:03:56 pm »
Hello,

I'm trying to setup RPi with raspbmc as UPnP player that can be controlled  from Dianemo.

Have three short questions :

1. What do I put into /etc/pluto/media_config.conf for RPi ? Is this right ?
Code: [Select]
#XBMC RPi
Room=12:        AudioDev=412; VideoDev=412; KeepScreenOnForOSD=no

2. How to troubleshoot setup it it isn't working ?

3. If I want to start media from XBMC GUI - what is the proper way to get media from Dianemo ? UPnP server LS doesn't provide video files, also music files are not working for me, should Samba be used for this ?

Thanks in advance,
regards,
Bulek.

See http://wiki.linuxmce.org/index.php/Dianemo_S#Configuring_Media_Config for details of media_config. If the Rpi is attached to a TV and the audio will come from the TV's onboard speakers then the AudioDev would be the TV device as you will want the audio commands to be sent to the TV (ie CEC or IP control of TV). If the TV is not controllable then you can use the AppServer device in the room that the Rpi/TV is located as this has a facility to react to audio commands and route those to Alsa. If the audio will be routed via an amplifier, and the amplifier has rs-232 or IP control then you would use the dev ID of the Amplifier as the audio control commands would need to be routed to the Amp. In all cases the VideoDev would be the the Rpi.

In most cases any problems can be resolved by double checking that you are routing the appropriate commands to the correct devices.

To pull media from XBMC's GUI you would use either UPnP mode (set this in Web Admin) or you could use Samba. UPnP is usually better because the UPnP server will organise your media for you. When you pull media from XBMC Dianemo will not know that media is 'playing' so you will not get any indication of this on your Orbiters. However if you set your Orbiter to the room where media playback has been started via XBMC's UI you should be able to control the playback from your Orbiter still.

If you use our Rpi firmware you also get CEC control integration to from Dianemo.

All the best

Andy
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Homeboy

  • Regular Poster
  • **
  • Posts: 19
    • View Profile
Re: Raspberry Pi as UPnP player under Dianemo
« Reply #2 on: June 06, 2014, 03:19:46 pm »
Hi Andrew,

How can I get the firmware of Dianemo for my Rpi.

Thanks,

Heinz

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Raspberry Pi as UPnP player under Dianemo
« Reply #3 on: August 23, 2014, 04:05:51 am »
Hi,

I'm back to this problem. I intend to replace my MD with RPi and rasbmc image.

I've followed instructions on Wiki page closely, but I must be doing something wrong. I've added upnp plugin and upnp device...

Situation is like this:
- if I start media from within XBMC then I can pause it from Orbiter (if in correct room)
- but if I start media from Orbiter it won't start on RPi (nothing happens)

What I didn't clearly seen is that option of choosing upnp or samba mode when first going into Video or Audio browser. Also I don't know how to do this "... you would use either UPnP mode (set this in Web Admin)...".

There is something still missing here - please can you help me ? Media config is written above - is it right to setup upnp player device for both Audio and Video commands ?

Also another question: from inside XBMC - will it find media from Dianemo as upnp server or should I access media via samba server ?

Thanks in advance,
regards,
Bulek.
« Last Edit: August 23, 2014, 04:18:12 am by bulek »
Thanks in advance,

regards,

Bulek.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Raspberry Pi as UPnP player under Dianemo
« Reply #4 on: August 23, 2014, 04:18:25 pm »
Hi,

I'm back to this problem. I intend to replace my MD with RPi and rasbmc image.

I've followed instructions on Wiki page closely, but I must be doing something wrong. I've added upnp plugin and upnp device...

Situation is like this:
- if I start media from within XBMC then I can pause it from Orbiter (if in correct room)
- but if I start media from Orbiter it won't start on RPi (nothing happens)

What I didn't clearly seen is that option of choosing upnp or samba mode when first going into Video or Audio browser. Also I don't know how to do this "... you would use either UPnP mode (set this in Web Admin)...".

There is something still missing here - please can you help me ? Media config is written above - is it right to setup upnp player device for both Audio and Video commands ?

Also another question: from inside XBMC - will it find media from Dianemo as upnp server or should I access media via samba server ?

Thanks in advance,
regards,
Bulek.

To set upnp mode from web admin;

Wizards->Basic Info->Installation->'enable upnp media browsing'

Make sure there is no MM in the room your RPi is in.

Yes Rpi can be set for video/audio commands if no controlled amplifier is in use in the room.

Andy

Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Raspberry Pi as UPnP player under Dianemo
« Reply #5 on: September 23, 2014, 12:38:22 pm »
Hi Andrew,

How can I get the firmware of Dianemo for my Rpi.

Thanks,

Heinz

Hi Heinz,

You can download Raspbmc for Rpi for free from here; http://www.raspbmc.com/download/

If you'd like integrated HDMI-CEC control from Dianemo of the TV attached to your Rpi then we offer a Dianemo Raspbmc-CEC package that adds our CEC control software. See here for details of Offer-4; http://forum.linuxmce.org/index.php?topic=8880.msg99946#msg99946

Or PM or email me if you have any questions.

All the best

Andy
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk