I've been working on it for a couple days now. As i'm learning as I go, I haven't gotten anywhere lol. I'm thinking someone will have an easier implementation before I get it figured out, but it doesn't hurt learning something new.
EDIT:
Hope I shouldn't have posted this elsewhere. I have finally come to the point that I am stumped. When I try to compile xbmc-server.cpp I get the following, http://pastebin.com/XJtD8rkc
You may laugh but it has taken me over 24 hours to get to this point. I had some errors early on about some missing .h files, i managed to find those at various websites, don't know if that could be the issue. Any thoughts greatly appreciated.
kungfudriveby
Junior Member Posts: 15 Joined: Nov 2010 Reputation: 0 |
2012-07-21 04:56
Post: #61
(This post was last modified: 2012-07-21 21:08 by kungfudriveby.)
|
| find quote |
vishalm
Junior Member Posts: 9 Joined: Jul 2012 Reputation: 0 |
2012-07-21 23:22
Post: #62
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 |
| find quote |
schumi2004
Fan Posts: 637 Joined: Aug 2011 Reputation: 4 |
2012-07-21 23:32
Post: #63
(2012-07-21 23:22)vishalm Wrote: tbh if you want this running on a nas then xbmc is probably too big of a beast to strip down. That would be the best thing but who is skilled enough to create such thing? |
| find quote |
vishalm
Junior Member Posts: 9 Joined: Jul 2012 Reputation: 0 |
2012-07-21 23:36
Post: #64
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
|
| find quote |
vicbitter
Donor Posts: 239 Joined: Jan 2011 Reputation: 3 |
2012-07-21 23:38
Post: #65
(2012-07-21 04:56)kungfudriveby Wrote: I've been working on it for a couple days now. As i'm learning as I go, I haven't gotten anywhere lol. I'm thinking someone will have an easier implementation before I get it figured out, but it doesn't hurt learning something new. Did you follow my instructions in post #19? |
| find quote |
kungfudriveby
Junior Member Posts: 15 Joined: Nov 2010 Reputation: 0 |
2012-07-22 01:45
Post: #66
(2012-07-21 23:38)vicbitter Wrote: Did you follow my instructions in post #19? ::slams head against desk:: I will when I get home. I have no clue why I didn't. I have read this entire thread about 20 times I'm sure, lol. Thanks for your help vicbitter! |
| find quote |
pecinko
Donor Joined: Dec 2008 Reputation: 26 Location: Prague / Belgrade |
2012-07-22 09:59
Post: #67
(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. 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.
(This post was last modified: 2012-07-22 09:59 by pecinko.)
|
| find quote |
vishalm
Junior Member Posts: 9 Joined: Jul 2012 Reputation: 0 |
2012-07-22 17:32
Post: #68
(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. 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. |
| find quote |
pecinko
Donor Joined: Dec 2008 Reputation: 26 Location: Prague / Belgrade |
2012-07-23 18:46
Post: #69
Synology is preparing video streaming of it's own http://blog.synology.com/blog/?p=1267 and as I predicted a couple of posts above is porting alternative media server solution to ARM.
I hope devs would consider XBMC server app in addition to HTPC all in one solution. We already have official iOS and Android native clients (3rd party Windows metro in developement). |
| find quote |
aptalca
The Dude Posts: 827 Joined: Sep 2009 Reputation: 17 |
2012-07-23 23:59
Post: #70
(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 honestly don't understand the push for upnp in xbmc. It is LAN only and in reality, if I'm on the same lan, I'd rather watch the media on one of my big tvs hooked up to one of my htpcs. The only reason I would need upnp is if I wanted to watch media on a device that doesn't support xbmc like a tablet. But like I said, if I am on the LAN, I will always prefer watching on TV. Tablet is only needed for media when I am away from home, and that's when upnp is useless. Anyway, that was my little rant :-) |
| find quote |


![[Image: watched-clearlogo.jpg]](http://trakt.tv/user/schumi2004/widget/watched-clearlogo.jpg)
Search
Help