Possible to share a library to multiple machines?
Re: Possible to share a library to multiple machines?
If it's only you on both computers then it's impossible for you to be using two DVDpedia's simultaneously, and there is no conflict. With two users, what I meant by one user being a read only user was more about using DVDpedia and not strictly enforced via permissions. Of course permissions would be excellent since it would lock one user from doing changes accidentally. For example say you have an office computer and a living room computer. If you know that you will be adding all the movies in the living room then the office computer would be for browsing only. As long as you don't add, edit or borrow movies at the office there would never be a conflict.
Re: Possible to share a library to multiple machines?
Do you mean I could simply use the share folder functionality from OS X to make a all database and images available to two users on two computers on the same network ?Conor wrote:If it's only you on both computers then it's impossible for you to be using two DVDpedia's simultaneously, and there is no conflict.
I have never try this. Should be simple.
Re: Possible to share a library to multiple machines?
You can place the data folder in a shared location and use it simultaneously. Depending on OS X version, the share type and the architectures Core Data will even try to merge changes if both DVDpedia's are running. If merging is not possible then one DVDpedia will be locked out if it tries to make a change until the other DVDpedia quits. Has to do with locking mechanisms available on the systems to Core Data. For example PowerPC based systems lock the file as long as DVDpedia is running and simultaneous writing is not possible.Do you mean I could simply use the share folder functionality from OS X to make a all database and images available to two users on two computers on the same network?
The possibilities and options are many. Best to try different setups and find out what works best for your workflow. As with all tests, and even in regular situations, be sure to backup often and to a separate location.
Re: Possible to share a library to multiple machines?
I tried sharing following the instructions. Om my MacBook it works like a charm. I then transferred the DVDpedia folder to my networkdrive. I opened DVDpedia on my iMac and I miss out on the following:
-adjusted field names (first tab of the preferences)
-field lay out of the add / change window (third tab of the preferences)
They just haven't been transferred. Not only are they missing on the preference tabs but also on the actual windows lay out.
I noticed that the auto fill values for my customized fields have been transferred to my iMac.
Can anyone help me out on this issue?
-adjusted field names (first tab of the preferences)
-field lay out of the add / change window (third tab of the preferences)
They just haven't been transferred. Not only are they missing on the preference tabs but also on the actual windows lay out.
I noticed that the auto fill values for my customized fields have been transferred to my iMac.
Can anyone help me out on this issue?
Re: Possible to share a library to multiple machines?
Can't help you but I would like to post my tests with DropBox
I have moved the all Bookpedia'lib folder in my drop box.
This includes those files and folders :
Covers
Database.pediadata
backup1Month.pediadata
backup2Months.pediadata
backup3Months.pediadata
autofill.xml
tempPage.html
Plug-ins
Templates
This workflow works fine with my two Macs : we never work on the "same" lib at the same time. If it would be a conflict of modified date DropBox would tell me.
I have moved the all Bookpedia'lib folder in my drop box.
This includes those files and folders :
Covers
Database.pediadata
backup1Month.pediadata
backup2Months.pediadata
backup3Months.pediadata
autofill.xml
tempPage.html
Plug-ins
Templates
This workflow works fine with my two Macs : we never work on the "same" lib at the same time. If it would be a conflict of modified date DropBox would tell me.
Re: Possible to share a library to multiple machines?
The preference for those settings are stored in the preference file of DVDpedia. You can copy this file to bring the settings over (in the future we might include custom field names with the database instead of in the preference to make that easier). The file is located in your home folder at ~/Library/Preferences/com.brtuji.dvdpedia.plist.
Re: Possible to share a library to multiple machines?
Glad to know that's still a possibility. I'm curious the reason for choosing to save them in the preferences file; forgot if you mentioned that during previous discussion of the issue.Conor wrote:(in the future we might include custom field names with the database instead of in the preference to make that easier)
Re: Possible to share a library to multiple machines?
The name of the custom fields is used for the column headers and these are loaded early on by the Mac OS X system, with the built in preferences one can be assured that the data would be available for that. Core Data (the database) is one of the last loaded resources, but it does have a metadata area that could be read early in order store the custom fields with the database, but would require additional code. When using the prebuilt functions it makes maintenance easier. Also everything else in that window was part of the preference file it so it made some sense to store those values there.I'm curious the reason for choosing to save them in the preferences file
Re: Possible to share a library to multiple machines?
I'd like to merge the smaller DVDpedia library on my MBP into the primary one on my mini, then share it.Conor wrote:You can place the data folder in a shared location and use it simultaneously. Depending on OS X version, the share type and the architectures Core Data will even try to merge changes if both DVDpedia's are running.
Would it work to do .dvdpedia exports of each independent collection on the MBP, import them on the mini, then run Show Duplicates and manually resolve conflicts? Or can you recommend a better way to do the merging?
Thanks!
Re: Possible to share a library to multiple machines?
Since DVDpedia not built to merge two databases automatically you are correct that a .dvdpedia export file would be the way to merge two distinct libraries.
Re: Possible to share a library to multiple machines?
Thanks, Conor. Mission accomplished.