2013-11-28, 20:55
Hey guys, I hope the headline is descriptive enough 
But of course I'll explain what I mean
I have 3 xbmc setups for two different users that looks the same movies / tv series. We love the bookmark feature - sitting in the living room "oh I'm getting tired, but no problem, I'll watch the rest from bed., xbmc ftw".
But it gets annoying when user 2 'destroys' users 1 bookmarks.
Means: User1 watched a movie until 30 minutes and then pause until the next day. Later on the same day user2 watches the same movie up to the 50th Minute. The next day User1 wants to continue watching from minute 30 - but his bookmark is gone.
It would be cool if there was an setting for profiles that enables/disables to share bookmarks with other profiles. Also it would be cool to not allow profiles of the same name (even if the user directory differs), at least for a MySQL setup.
Currently I'm trying to programm it on my own but until now I did not found the right place for it in the sourcecode - I'll check that at the weekend.
I've created a column 'user' in the table bookmark and edited all select/update/insert calls to the bookmark table in videodatabase.cpp with some where statements etc but this isn't enough. Maybe you have some hints for me where to look.
Best regards bakslash
[EDIT]
Of course I could use two databases. But that's kinda an ugly solution.
After some research I found this thread. But it leads to sql triggers which clones the database without the boomarks.
That is indeed possible but it's kinda hacky and waste of space.

But of course I'll explain what I mean

I have 3 xbmc setups for two different users that looks the same movies / tv series. We love the bookmark feature - sitting in the living room "oh I'm getting tired, but no problem, I'll watch the rest from bed., xbmc ftw".
But it gets annoying when user 2 'destroys' users 1 bookmarks.
Means: User1 watched a movie until 30 minutes and then pause until the next day. Later on the same day user2 watches the same movie up to the 50th Minute. The next day User1 wants to continue watching from minute 30 - but his bookmark is gone.
It would be cool if there was an setting for profiles that enables/disables to share bookmarks with other profiles. Also it would be cool to not allow profiles of the same name (even if the user directory differs), at least for a MySQL setup.
Currently I'm trying to programm it on my own but until now I did not found the right place for it in the sourcecode - I'll check that at the weekend.
I've created a column 'user' in the table bookmark and edited all select/update/insert calls to the bookmark table in videodatabase.cpp with some where statements etc but this isn't enough. Maybe you have some hints for me where to look.
Best regards bakslash

[EDIT]
Of course I could use two databases. But that's kinda an ugly solution.
After some research I found this thread. But it leads to sql triggers which clones the database without the boomarks.
That is indeed possible but it's kinda hacky and waste of space.