Multi-os, library version, mysql
#1
Hi guys,

I run into a strange problem after upgrading to eden.

Context :
1 - media box that run ubuntu precise beta (mysql server as well). I used xbmc from here
2 - laptop running OSX

Variable :
database name in advancedsettings.xml : xbmc_video
database user xbmc got all the grants he needs to do the job Wink

Issue :
I'm not able to have the two xbmc working on the same database.

Description of the issue :
The media box creates, by default, database xbmc_video58 -> so far so good.
When laptop is connecting, it finds that the video database, but upgrades to xbmc_video60

Code:
21:33:06 T:2957651968   ERROR: Unable to open database: xbmc_video60 [1049](Unknown database 'xbmc_video60')
21:33:06 T:2957651968   ERROR: Unable to open database: xbmc_video59 [1049](Unknown database 'xbmc_video59')
21:33:07 T:2957651968  NOTICE: Old database found - updating from version 58 to 60
21:33:14 T:2957651968  NOTICE: Attempting to update the database xbmc_video60 from version 58 to 60

Things I've tried :
remove 58's database to force ubuntu xbmc to use 60 -> doesnt work
using the nightly version for ubuntu (here) -> doesnt work

Interesting thing I've notice :
Even using sqlite, the database created are different :
MyVideos58 on Ubuntu
MyVideos60 on OSX

Anyone can confirm ?
Anyone got a solution ?

Thx
Reply
#2
Your Ubuntu version needs to be updated to XBMC v11 (not a beta or RC, but the final release of XBMC v11). For MySQL sharing to work all XBMC devices must use the same version of XBMC.
Reply
#3
Thanks for your answer.
Unfortunately, I have to llok for something else, because the XBMC version i'm using is the final release of xbmc. Only my release of ubuntu is beta but that should not be an issue here.
Reply
#4
You are not running XBMC 11.0 final release on you Ubuntu machine - you need to upgrade xbmc on this machine.
Reply
#5
Correct me if i'm wrong, but I think it's ok :

apt-show-versions xbmc
xbmc/precise uptodate 2:11.0~git201204102210~41eca18-0~ppa1~precise

I know it's not coming from the official ppa, but there is not version for ubuntu precise yet ...
Reply
#6
Beta3 uses a different library DB version than final, so it simply won't work unless the other machines are also on beta 3.
Reply
#7
ubuntu precise ppa are now available, so i used them.

apt-show-versions xbmc
xbmc/precise uptodate 2:11.0~git20120403.ec33f1f+repack1-4

but still the same issue ... The version is the official one, so I'm sure it's not beta3 Wink

next thing i'm going to do : compile from source ....
Reply
#8
fixed using source

xbmc/video/VideoDatabase.h

virtual int GetMinVersion() const { return 60; };

Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Multi-os, library version, mysql0