Posts: 9
Joined: Jul 2012
tbh if you want this running on a nas then xbmc is probably too big of a beast to strip down.
I think the best way would be to write a wrapper around the library code files and compile for that environment.
so all the app would do is watch for changes in the source directories and call the add to library function.
the library would be a MySQL db so all clients have access
Posts: 9
Joined: Jul 2012
I guess anyone with a nas and is looking for a better experience...
I've just moved my setup away from a MySQL db as it was really slow but something like this will make me consider it again.
I'm just started to play with the code but could attempt to tackle this for a qnap arm nas once I've done what im trying to.
No promises though as I've never done any c++ ... wish me luck
Posts: 9
Joined: Jul 2012
(2012-07-22, 09:59)pecinko Wrote: (2012-07-21, 23:36)vishalm Wrote: I've just moved my setup away from a MySQL db as it was really slow but something like this will make me consider it again.
I'm just started to play with the code but could attempt to tackle this for a qnap arm nas once I've done what im trying to.
No promises though as I've never done any c++ ... wish me luck
There's a Google summer of code UPnP project going on which will, probably use XMLs/JSON for communication between devices. Would it make sense to use faster SQLite and send XMLs/JSON to clients instead? Benefits are that a server could then be used by any device, not just by those capable of MySQL communication.
Should be a lot faster as long as the client isn't constantly pulling data from the server.
ideally data should be pulled at the beginning of the session to a local store, then notifications to and from the server will keep both local and remote db in sync only when data is updated.
This way browsing through menus is only pulling data from the local store which is a lot faster.
Posts: 328
Joined: Jul 2011
Reputation:
7
2012-07-24, 18:18
(This post was last modified: 2012-07-24, 18:20 by edrikk.)
I guess your setup is exactly how the rest of the world's setup is...
Oh no, wait... Others have things like PS3s, WD Lives, etc etc hooked up to their big screens.... And maybe DLNA capable small TVs in work areas.... or maybe an iPad in the kitchen while cooking... But I'm sure they wouldn't want to get served to on all their various devices from one central box...
Who knows... but yeah, let's install HTPCs everywhere... that makes more sense... sigh.
PS. I use Plex just for that reason. Plex server serves to all my devices. Sony TV or PS3 via DLNA, to iPad and iPhone via DLNA or the Plex App (used more often, and usable while remote), etc. etc. There's a lot to be said for Client / Server architecture, and use of techs which are Standards based (at least mostly) usable across all devices that one has.
Posts: 1,483
Joined: Aug 2010
Looks like things are getting even better:
https://github.com/xbmc/xbmc/pull/1212
Posts: 16,946
Joined: Feb 2011
Reputation:
256
That doesn't have anything to do with standalone xbmc server ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 88
Joined: Apr 2010
Reputation:
0
Hi,
anyone has success with xbmc-server apps and NFS source scanning ? I can't scan NFS on my server side client and I can't easily test with complete XBMC.bin.