LinuxMCE Forums

General => Developers => Topic started by: phenigma on August 03, 2013, 03:51:04 am

Title: Raspberry Pi Media Director
Post by: phenigma on August 03, 2013, 03:51:04 am
For developers who are currently getting their feet wet on 1204 alpha you can now (soon) create Media Directors with a Raspberry Pi Model B 512MB.  There are quirks and there is a lot that doesn't work.  Enough functionality exists for me to call this an 'alpha' version.

So that people do not have to sort through endless forum posts to figure things out I will use the wiki for most relevant information.

MD creation instructions are available in the wiki - http://wiki.linuxmce.org/index.php/RaspberryPi

Development status can be checked/followed on the Porting Raspbian wiki page - http://wiki.linuxmce.org/index.php/Porting_Raspbian

Bug reports should be made by filing trac tickets against the component "Raspbian/RPi MD" at http://svn.linuxmce.org/

I'll do my best to answer questions and help people out.  Find me on irc.

Jason

(and thanks to posde, tschak, golgo, l3, hari, merk, and everyone else for continuing to encourage me!)
Title: Re: Raspberry Pi Media Director
Post by: RayBe on August 03, 2013, 11:02:12 am
Hi Jason,

Great news!
Thanks you very much for developing this.
When i get my system up and running again, i will help you test.

br,
Raymond
Title: Re: Raspberry Pi Media Director
Post by: golgoj4 on August 08, 2013, 05:45:29 am
For developers who are currently getting their feet wet on 1204 alpha you can now (soon) create Media Directors with a Raspberry Pi Model B 512MB.  There are quirks and there is a lot that doesn't work.  Enough functionality exists for me to call this an 'alpha' version.

So that people do not have to sort through endless forum posts to figure things out I will use the wiki for most relevant information.

MD creation instructions are available in the wiki - http://wiki.linuxmce.org/index.php/RaspberryPi

Development status can be checked/followed on the Porting Raspbian wiki page - http://wiki.linuxmce.org/index.php/Porting_Raspbian

Bug reports should be made by filing trac tickets against the component "Raspbian/RPi MD" at http://svn.linuxmce.org/

I'll do my best to answer questions and help people out.  Find me on irc.

Jason

(and thanks to posde, tschak, golgo, l3, hari, merk, and everyone else for continuing to encourage me!)

You sir are awesome! Thank you for this!

golgoj4
Title: Re: Raspberry Pi Media Director
Post by: phenigma on August 13, 2013, 03:36:38 am
:)  I'll keep on playin'!

J.
Title: Re: Raspberry Pi Media Director
Post by: cfernandes on June 13, 2014, 03:52:18 pm
hello friends,

 I have just set up the raspberry pi md, no problem. however the omx_player is dying in any video,

Has anyone had success playing video.

if i use omxplayer  in command line the video play correct. 

Carlos
Title: Re: Raspberry Pi Media Director
Post by: SBCC on June 13, 2014, 09:43:04 pm
hello friends,

 I have just set up the raspberry pi md, no problem. however the omx_player is dying in any video,

Has anyone had success playing video.

if i use omxplayer  in command line the video play correct. 

Carlos

Hi Carlos

I ran video for a short while and it worked ok. I can check again when I have a chance.

Take care

Jim
Title: Re: Raspberry Pi Media Director
Post by: cfernandes on June 14, 2014, 12:27:18 am
thank you,

other issue  is not mounting discs,
on storagedevices.log show "CALLED TO MOUNT DEVICE 33"

but the mount point not show

carlos
Title: Re: Raspberry Pi Media Director
Post by: phenigma on June 28, 2014, 06:38:42 am
Wow.  I've been really busy.  There are certainly some known issues with lmce and the rpi.  The integrated OMX_Player is not functioning at the moment.  I know what I need to do to get it working it's just finding the time to make it happen.  Mounts are working to NAS devices but there seems to be a bug with accessing shares located on HDs that are on the Core or other MDs.  Use a NAS if you want access to media.  Please file extremely detailed bugs in trac with me as the owner for any bugs that you do not see in trac already.  Thank you so much for testing!  I will try to get some more work done here very soon.

J.
Title: Re: Raspberry Pi Media Director
Post by: cfernandes on June 28, 2014, 03:20:41 pm
Hi J.

after  i rebuild  raspberry pi MD  mount point is working.

Carlos.

Title: Re: Raspberry Pi Media Director
Post by: coley on February 02, 2015, 01:43:28 pm
Moar power :)
http://www.raspberrypi.org/raspberry-pi-2-on-sale/

-Coley.
Title: Re: Raspberry Pi Media Director
Post by: phenigma on February 02, 2015, 04:08:46 pm
Mhm.  That'll take a bit of work to support.  Great news though!

J.
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 03, 2015, 08:32:21 pm
Hi

I found a bug in "SetupAudioVideo.sh". When running SetupAudioVideo.sh I get;
Code: [Select]
root@moon226:/usr/pluto/bin# ./SetupAudioVideo.sh
./SetupAudioVideo.sh: line 49: Video_settings: command not found

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
1 02/03/15 14:17:05 SetupAudioVideo (server) Starting
1 02/03/15 14:17:06 SetupAudioVideo (server) '
1 02/03/15 14:17:07 SetupAudioVideo (server) DBSetting: M Reboot:  Script Path: /usr/pluto/bin/

Line 49 says
Code: [Select]
Video_settings = GetDeviceData "$PK_Device" "$DEVICEDATA_Video_settings"
Should be
Code: [Select]
Video_settings=$(GetDeviceData "$PK_Device" "$DEVICEDATA_Video_settings")After this change it works fine.

Title: Re: Raspberry Pi Media Director
Post by: phenigma on February 03, 2015, 09:28:14 pm
Damn the little things!  :D  Thanks SBCC!

J.
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 04, 2015, 02:19:57 am
Pesky little bugs!
Thanks again for your efforts.

One other note... not sure if I should start another thread for this but after the last update the RPi orbiter video remote is not controlling the video. I have not looked into it much. I was going to trouble shoot a little 1st.

I will say that I just installed on a RPi B+ and it went very smooth. These things are so cool. Great job! Thanks Jason!

Jim
Title: Re: Raspberry Pi Media Director
Post by: phenigma on February 04, 2015, 02:41:13 am
Here is as good a place as any for now.  If you pastebin the log I may be able to help interpret what is happening.  There are a few bugs that I am well aware of but have not documented in tickets.  OMX_Player and the omxplayer interface are big experiments for me.

J.
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 04, 2015, 02:48:48 am
Do you want the DCERouter.log?
Title: Re: Raspberry Pi Media Director
Post by: phenigma on February 04, 2015, 03:01:17 am
Sorry.  heh.  The OMX_Player log should be enough initially.  But feel free to pastebin the DCERouter.log as well.  I can xref if I see anything weird.

J.
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 04, 2015, 03:05:35 am
Here is the DCERouter.
http://paste.ubuntu.com/10044978/

give me a minute for the OMX log
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 04, 2015, 03:44:42 am
Here is the OMX log.
http://paste.ubuntu.com/10045518/

I will say the playback quality is quite good. Is this a new player for the RPi?
Title: Re: Raspberry Pi Media Director
Post by: phenigma on February 04, 2015, 03:49:46 am
So, it can't find the dbus session address file.  This can happen occasionally with my builds, or it will happen continously with a 3rd party ppa that I used to use.  I'd like to verify the source of your omxplayer package.

Can you run:
Code: [Select]
apt-cache policy omxplayer | pastebinit

The OMX_Player controls the rpi media software omxplayer.  It is a new player that is on the rpi only.

J.
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 04, 2015, 03:53:54 am
This is what I get
Code: [Select]
root@moon234:/var/log/pluto# apt-cache policy omxplayer | pastebinit
Bad API request, invalid api_dev_key
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 04, 2015, 03:55:11 am
Here it is
Code: [Select]
omxplayer:
  Installed: 0.git20140814-4
  Candidate: 0.git20140814-4
  Version table:
 *** 0.git20140814-4 0
        500 file:/usr/pluto/deb-cache/raspbian-wheezy-armhf/ ./ Packages
        500 http://deb.linuxmce.org/raspbian/ wheezy/main armhf Packages
        100 /var/lib/dpkg/status
     0.3.6~git20141024~98982df 0
        500 http://archive.raspberrypi.org/debian/ wheezy/main armhf Packages
Title: Re: Raspberry Pi Media Director
Post by: phenigma on February 04, 2015, 04:02:08 am
Hmm.  That's correct.  I can tell you that I occasionally get the dbus issue the first time I play something after a reboot, but not again after that until a new reboot.  Otherwise nothing has changed in regards to how that is handled at all and it is working for me (except as noted above).

J.
Title: Re: Raspberry Pi Media Director
Post by: SBCC on February 04, 2015, 02:41:35 pm
I will check that. I know I have been stopping the video by rebooting so... I will stop doing that.

Thanks again!
Title: Re: Raspberry Pi Media Director
Post by: phenigma on February 04, 2015, 05:18:24 pm
And I will endeavour to fix that issue sooner rather than later.  I usually play a short music track at first.  If you want more control you can 'kill omxplayer' from the command line.

J.