Raspberry Pi - $35 Linux computer

  • Thread starter Thread starter daz
  • Start date Start date
You don't need that step - that was him finding out what buttons were which. What TV do you have? You just write your remote.xml and put it in the keymaps folder. e.g. mine for samsung that I just got off someone on the internet - i was only really bothered about having access to home, movies and tv shows by one button as everything else I wanted worked straight away.

Code:
<keymap>
    <global>
        <remote>
              <teletext>XBMC.ActivateWindow(Home)</teletext> <!--PRE-CH -->
              <red>ContextMenu</red>
              <green>Info</green>
              <yellow>XBMC.ActivateWindow(VideoLibrary,MovieTitles)</yellow>
              <blue>XBMC.ActivateWindow(VideoLibrary,TvShowTitles)</blue>
              <title>XBMC.ActivateWindow(Favourites)</title> <!--FAV.CH-->
        </remote>
    </global>
    <FullscreenVideo>
        <remote>
              <pageplus>NextSubtitle</pageplus><!--channelup-->
              <pageminus>AudioNextLanguage</pageminus><!--channeldown-->
              <select>OSD</select>
              <red>OSD</red>
              <green>Info</green>
              <yellow>CodecInfo</yellow>
              <blue>OSD</blue>
              <teletext>AspectRatio</teletext> <!--PRE-CH -->
              <back>XBMC.ActivateWindow(Home)</back> <!--exit-->
        </remote>
    </FullscreenVideo>
</keymap>
 
Try this

PHP:
watch -n 1 tail -n 20 ~/.kodi/temp/kodi.log

That'll get the last 20 lines of the log and refresh once per second

Yeah all the paths are changed now as its kodi rather than xbmc - if you use winscp and show hidden files you can see the file structure.

izkPAjw.jpg
 
Last edited:
32lg3000

That's the TV model, however I think I've worked out how to find the button code and how to add it into the key.xml file, it seems to be working for the left button I added so far :D

One problem is the "return" button on the remote doesn't seem to be registering, so I'm going to have to use another button to go back

Otherwise I should be okay
 
Started playing around with my Pi again, have set it up with OpenMediaVault to see how it works as a NAS. Quite impressed with how effortless it was :)

Is there any reason why I couldn't get a Pi to run as a basic NAS (pretty much just storing docs and providing a share for music) whilst also working as a media centre with whatever XMBC style setup is the one to use these days?
 
Started playing around with my Pi again, have set it up with OpenMediaVault to see how it works as a NAS. Quite impressed with how effortless it was :)

Is there any reason why I couldn't get a Pi to run as a basic NAS (pretty much just storing docs and providing a share for music) whilst also working as a media centre with whatever XMBC style setup is the one to use these days?

There's a few reasons (imo):

1. The pi doesn't have any proper connectors for drives (i.e. SATA), so your limited to running USB drives which aren't as good throughput and prevents you doing useful things like RAID etc

2. The pi only has your basic 100/10 Ethernet... meaning for multiple hosts accessing it as a NAS it won't be able to support the same bandwidth as a "proper" NAS with proper Gigabit Ethernet

3. Adding to the problems of both of the above - the pi shares the bandwidth of the ethernet port and all the USB ports, so you can't even really "max out" any of them at the same time... So even the "lower" speeds mentioned above aren't achievable.

If you can live with those drawbacks (i.e. it's a pretty slow NAS) then no reason at all you can't run some NAS stuff in the background while also having it act as a media center
 
Most things work well on mine, but airplay on OSMC seems to stutter when playing music and trying to run MusicBox keeps stopping when it tries to connect to network because of Wifi power management problems (8B2C).

It's a USB Wi-Fi adapter, an Edimax ew-7811un.
 
If you can live with those drawbacks (i.e. it's a pretty slow NAS) then no reason at all you can't run some NAS stuff in the background while also having it act as a media center

Thanks for the reply. :) Sounds perfect for what I want to try and do. It won't be doing any heavy work, just sharing of music and extra backups of docs
I just thought with it's low power usage I may as well leave it on all the time and give it something to do!
 
can anyone tell me why recently my Rpi 2 has been turning itself off, or going in to standby or something? just goes black screen and cant do anything.
 
The same as you.. Need to check the settings properly but It never used to turn off.. To be honest mine seems to play up quite a bit and I still can't get the buffering issue fixed even with messing around with advancedsettings.xml and with a 152mb WIRED connection.
 
Hmm, mine's been flawless, (besides a DHCP bug in Openelec which has now been fixed).

I see some people having issues with different SD cards, I just sick to the PSU and SD card that thepihut sell. Tried and tested.

What OS are you running ? I've never touched any buffer settings
 
Can anyone point me in the right direction for a simple setup guide to setup my model b pi as a upnp music server? I've had it sitting around doing nothing for ages and would like to hook it up to an external harddrive be useful.

I've done some searching and found a few things but nothing that seems quite what I want, or expects me to know all about Linux, which I don't so could really use a 'for dumbies' type tutorial!! lol
 
Can anyone point me in the right direction for a simple setup guide to setup my model b pi as a upnp music server? I've had it sitting around doing nothing for ages and would like to hook it up to an external harddrive be useful.

I've done some searching and found a few things but nothing that seems quite what I want, or expects me to know all about Linux, which I don't so could really use a 'for dumbies' type tutorial!! lol

Im sure you can set openelec to be a upnp server. Might be overkill though.
 
Can anyone point me in the right direction for a simple setup guide to setup my model b pi as a upnp music server? I've had it sitting around doing nothing for ages and would like to hook it up to an external harddrive be useful.

I've done some searching and found a few things but nothing that seems quite what I want, or expects me to know all about Linux, which I don't so could really use a 'for dumbies' type tutorial!! lol


If your plugging your Pi into a amp you could try https://volumio.org/ been using for about a week now and it really good
 
Not quite what I'm looking for, I just want it to be a server to serve up my music via upnp.

My amp acts as a upnp renderer and using bubble upnp I can browse my collection and set up playlists etc, but at present my music is all on my main pc so it has to be switched on for me to access my music, I'd much rather it was just the pi and an external hard drive switched on all the time as it would use a lot less power.
 
is there a simple way to make my Pi have a static IP?

Two ways..

DHCP reservation (static DHCP)

Find our the MAC address of your network card / usb wireless on your Pi.

On your router, tell it to always give a certain IP to that MAC address. Not all routers have this feature, any decent one will. What model router do you have?

--

Other way is to edit your connection settings on the Pi, type in the static address that you want. Best to pick one outside the DHCP range.
 
Hmm, mine's been flawless, (besides a DHCP bug in Openelec which has now been fixed).

I see some people having issues with different SD cards, I just sick to the PSU and SD card that thepihut sell. Tried and tested.

What OS are you running ? I've never touched any buffer settings

Just seen this mate, I run openelec on a official psu with a class 10 Kingston sd card and jet flash 3 usb 3 stick. It's hard wired with a ridiculously fast ethernet cable and connection, and I know run buffer mode 1, read factor 4, cache 0 settings and I'm certain it used to work fine with my Pi B.. It's driving me insane.
 
Back
Top Bottom