itsonlyme
Posts: 129
Joined: Sun Feb 12, 2012 12:43 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 02, 2012 10:39 am

At this time Freeview SD .ts files cannot be played on pi as they contain MPEG2 video. However Freeview HD .ts files can as these contain H264 video.
If you have the facility, and the program is available on an HD Channel then record in HD.

Malcolm

rpi123
Posts: 2
Joined: Thu Aug 02, 2012 7:37 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Thu Aug 02, 2012 1:28 pm

Thanks all. That explains it then.
I can record some stuff in HD, but not all of it.

Instead of streaming it straight off my freeview recorder I guess I will have to encode it on a PC first, and stream it off that. Or is there any windows software that would convert/stream SD ts files on the fly to the pi?

r0nnie
Posts: 49
Joined: Fri Aug 03, 2012 1:53 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 03, 2012 2:01 am

hello and1st thanks for this .deb, but ive got a small problem when exiting xbmc.

so, im booting in to wheezy 1st then running xbmc from terminal.

every time i exit out of xbmc to go back to the desktop it freezes on a command screen but i cant send any cmds (sudo reboot)

is there any way to fix this so i can exit out of xbmc when im done and go back to desktop without rebooting?

thanks, r0n - linux noob

marosg
Posts: 25
Joined: Sat Jul 07, 2012 2:41 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 03, 2012 9:05 am

If it is the same I see, just press alt-f7 and you will be in your desktop.

r0nnie
Posts: 49
Joined: Fri Aug 03, 2012 1:53 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 03, 2012 11:38 am

hey, thanks for the reply, a;t + f4 does work :D

thanks alot

r0nnie
Posts: 49
Joined: Fri Aug 03, 2012 1:53 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 03, 2012 11:40 am

marosg wrote:If it is the same I see, just press alt-f7 and you will be in your desktop.
sorry i meant alt + f7 worked

thanks again

texy
Forum Moderator
Forum Moderator
Posts: 5161
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 03, 2012 12:03 pm

Thanks for the hard work and tutorial on this ;)
There are couple of unanswered questions in this thread that interest me.

1..Screen calibration - are the settings retained after reboot?
2..Airplay - does it work with the latest build? ie can I stream audio only from my iphone correctly. Note I state 'audio only', video with audio was working fine the last time I tried raspbmc/openELEC.

Thanks,

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

fraz0815
Posts: 70
Joined: Fri Jul 20, 2012 1:29 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 03, 2012 1:26 pm

1..Screen calibration - are the settings retained after reboot?
yes

tomaz
Posts: 38
Joined: Thu Jul 12, 2012 9:08 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Fri Aug 03, 2012 8:07 pm

Thanks chochis for this info!!
I will test it next week :)

Others: sorry I'm not so helpfull :(
I see people helping people, that's nice :)

Tomaz.
chochis wrote:Just a suggestion to the usb automounting: http://crunchbanglinux.org/forums/topic ... tomounter/

This tool works great in my raspbian and you will get always the same name for the mounted disk.

Win7ine
Posts: 13
Joined: Fri Aug 03, 2012 10:42 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sat Aug 04, 2012 2:01 pm

What happened to AirPlay in this?

Win7ine
Posts: 13
Joined: Fri Aug 03, 2012 10:42 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sat Aug 04, 2012 2:41 pm

Try to add SMB share freezes machine.

Bobyl
Posts: 1
Joined: Sat Aug 04, 2012 10:55 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sat Aug 04, 2012 10:58 pm

@BrotherJoe:

I'm experiencing the same issue here. Database is correctly populated but XBMC remote gives an empty list of albums or tracks.

I'm going to try:
1. this precompiled version:
http://www.memetic.org/pre-compiled-xbmc-for-raspbian/
2. building it myself

to check if the problem is related to tomaz build or not.

finalduty
Posts: 4
Joined: Sun Aug 05, 2012 2:31 am
Location: New Zealand

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 05, 2012 2:51 am

I have struggled for the last couple of hours trying to get this to run under a separate user as I do not use the 'pi' user myself. I have this set to autologin and start and have finally managed to get this to running how I wanted it to:

I assume you are logged in as your alternate user and in your home directory.

1) Copy the .xbmc dir and automount files into your own home directory

Code: Select all

sudo cp ../pi/.xbmc -R . && sudo cp ../pi.auto* .
2) Enter the following lines into your .bashrc (I only noticed myself but the case/esac helps to stop it from running when you ssh into your RPi)

Code: Select all

nano .bashrc

case "`tty`" in # XBMC - start only for tty1
     *tty1) xbmc-ask;; # XBMC - start XBMC
esac # XBMC - end of case 
3) Set your own user to automatically login. Comment out the 'pi' user and substitute with your own user following the -f switch.

Code: Select all

sudo nano /etc/inittab

#1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1 # XBMC_AUTOSTART
1:2345:respawn:/bin/login -f finalduty tty1 </dev/tty1 >/dev/tty1 2>&1 
4) This was the step I got stuck with, auto login worked and XBMC would prompt properly, but mounting the images kept asking me for the sudo password. I eventually figured out that the pi user was using sudo without a password and added in my own line beneath it:

Code: Select all

sudo nano /etc/sudoers

pi ALL=(ALL) NOPASSWD: ALL
finalduty ALL=(ALL) NOPASSWD: ALL
This then allowed me to boot straight into XBMC without being prompted for anything. It also helped to get my keyboard working with it where it hadn't under the finalduty user previously.

erpomata
Posts: 14
Joined: Thu Jul 19, 2012 11:38 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 05, 2012 9:16 am

erpomata wrote:Thanks for the package!

Is possible to have the xbmc-wiiremote package?
UP!

r0nnie
Posts: 49
Joined: Fri Aug 03, 2012 1:53 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 05, 2012 2:29 pm

can you 'minimize' xbmc so you can get back to your desktop

thanks

feverish
Posts: 486
Joined: Wed Jun 27, 2012 2:29 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 05, 2012 4:18 pm

tomaz wrote: [/code]
Answer question about autostart of XBMC*
*I have to explain little more:
  • - If you select <Yes> XMBC will start when you power your Raspberry Pi, with one exception:
    You will be asked to press any key, if you DON'T want XBMC to start! You will have 5 sec, otherwise it will continue and start XMBC. If you press any key, you will get prompt and you can still manually start xbmc, startx or do whatever you like.
    So you have total control :)
    This will also disable autostart of X, if you have enabled it with raspi-config in 2.)
  • - If you select <No> your /etc/inittab will not be changed!
    You will have to login and start XBMC with command "xbmc".
Tomaz.
It all seemed to go like clockwork but when I rebooted, I was not asked 'yes' or 'no'. and saw the lxde desktop.
The '[email protected] - $' prompt in Xterminal responded to the command 'xbmc' with
'bash: xbmc: command not found'
Not (yet ?) being a linuxgeek, I am, of course, quite lost.
File Manager says there is a folder xbmc-rdp-tomaz.armhf.deb lurking in the /home/pi directory. Its 'properties' data says that is a debian package with total size of files of 31.1 MB, so something has been happening.
Any further instructions will slavishly be followed with intense gratitude.

payneardo
Posts: 18
Joined: Wed Jul 18, 2012 5:28 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 05, 2012 9:40 pm

Thanks very much worked like a dream :)

Just one question did you miss out NFS in the XBMC build is they anyway I can add it afterwards as want to see if it is any better than SMB as my NAS does both :)

davidbaker100
Posts: 3
Joined: Thu Jul 26, 2012 9:17 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Mon Aug 06, 2012 9:58 pm

When I try to run xbmc, it starts up, but right near the end of loading, my raspberry pi crashes.

What is wrong? and/or What am I doing wrong?

Any help is greatly appreciated as I am very frustrated.

Gwyn400
Posts: 34
Joined: Fri Jul 20, 2012 1:49 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 07, 2012 8:31 pm

When I try to play a video my screen goes blue and says "no signal". I have a feeling it has something to do with the screen resolution (same thing happened when I tried playing the Python Games with an old screen until I fixed the resolution) but XBMC changes the screen res every time I start it and doesnt seem to let me change it to the right size for my screen in the settings (640x480)
Complete noob

bonsair
Posts: 9
Joined: Thu Feb 23, 2012 8:40 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Tue Aug 07, 2012 10:15 pm

All is ok, but where is Airplay? It must be in Service but I can't find it.

Rudyv
Posts: 1
Joined: Wed Aug 08, 2012 9:02 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 08, 2012 9:21 pm

Hi Tomaz,

Great job, i had it running quite quickly.
I don't see how i can enable AirPlay, is this in ?
Do i need to setup avahi-daemon in order to let an iPhone see the service ?

Let me know, keep up THE good work.

Rudy

Mertz
Posts: 10
Joined: Wed Jun 06, 2012 1:50 am
Location: Moscow, Russia
Contact: ICQ Website

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 12, 2012 9:31 pm

Hello! Thank you for your excellent work, but I do when receiving channels of MPEG-2 from Tvheadend, only sound no picture. MPEG-4 channels, including HD, works fine. Who knows how to fix this problem?

Goliat
Posts: 1
Joined: Sun Aug 12, 2012 9:43 pm

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Sun Aug 12, 2012 10:03 pm

Thanks for the great guide but it doesn't run that well for me. I added a 720P movie to my SD card and i get the occasional black screen when I play the movie and i think a bit of stutter in the audio.

Could the issue be that I'm playing the movie from the SD card or maybe should i increase the amount of memory for the Videocore in raspi-config? I think I selected 64 Mb but could 128 Mb fix it?

Or maybe my movie just got corrupted while transferring maybe? The SD card is class 10 if it has any meaning.

Cheers

totoone
Posts: 2
Joined: Mon Aug 13, 2012 9:49 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 15, 2012 8:42 am

HI all,
it's possible to read webm files in xbmc????
how?
thanks

tomaz
Posts: 38
Joined: Thu Jul 12, 2012 9:08 am

Re: Two XBMC (.deb) compiled/prepared for users + instructio

Wed Aug 15, 2012 1:33 pm

Hi Mertz,

maybe XBMC doesn't support MPEG-2 ?

Tomaz.
Mertz wrote:Hello! Thank you for your excellent work, but I do when receiving channels of MPEG-2 from Tvheadend, only sound no picture. MPEG-4 channels, including HD, works fine. Who knows how to fix this problem?

Return to “Raspbian”