Unable to load custom plugin on DVDpedia 6
Posted: Mon May 31, 2021 1:12 pm
Is there a trick to compiling plugins to work with DVDpedia 6?
I recently got into collecting Laserdiscs and decided I'd try using DVDpedia to catalog them. I took the sample plugin source and modified it to query lddb.com (currently just retrieves the title based on the UPC, but I plan to add all other fields later), and I spent a fair amount of time trying to figure out why isn't it working at all in DVDpedia 6 (tried both in 6.1.0 release and 6.1.0beta190) - the plugin doesn't appear in the Sites prefpane at all (and there's nothing logged in /var/log/system.log). I almost gave up, but then I tried it in DVDpedia 5.7 and it works fine (appears in the Sites prefpane and successfully retrieves the disc data).
To make sure I'm not messing anything with my code, I reproduced this on a clean copy of the sample plugin - it too compiles and works (well, appears in the Sites prefpane) on 5.7 but not on 6.
I'm using Xcode Version 12.5 (12E262) on OSX 11.4, running on a M1 Mac. The only change I had to make to the sample project to get it to compile is to change the target arch from $(ARCHS_STANDARD_32_64_BIT) to x86_64.
Any hints of what could be wrong, or how can I debug this further? (I know approximately nothing about Objective C, but happy to learn more if needed.)
Bob
I recently got into collecting Laserdiscs and decided I'd try using DVDpedia to catalog them. I took the sample plugin source and modified it to query lddb.com (currently just retrieves the title based on the UPC, but I plan to add all other fields later), and I spent a fair amount of time trying to figure out why isn't it working at all in DVDpedia 6 (tried both in 6.1.0 release and 6.1.0beta190) - the plugin doesn't appear in the Sites prefpane at all (and there's nothing logged in /var/log/system.log). I almost gave up, but then I tried it in DVDpedia 5.7 and it works fine (appears in the Sites prefpane and successfully retrieves the disc data).
To make sure I'm not messing anything with my code, I reproduced this on a clean copy of the sample plugin - it too compiles and works (well, appears in the Sites prefpane) on 5.7 but not on 6.
I'm using Xcode Version 12.5 (12E262) on OSX 11.4, running on a M1 Mac. The only change I had to make to the sample project to get it to compile is to change the target arch from $(ARCHS_STANDARD_32_64_BIT) to x86_64.
Any hints of what could be wrong, or how can I debug this further? (I know approximately nothing about Objective C, but happy to learn more if needed.)
Bob