https://bugs.kde.org/show_bug.cgi?id=509242
--- Comment #3 from Tuomas Nurmi <[email protected]> --- The plugin folder under src/services/ is self contained, yeah, I think so. E.g. Ampache doesn't seem to be referred to anywhere else in code outside that dir except in src/services/CMakeLists.txt I haven't created any plugins myself, and only done some maintenance on the existing ones, and I couldn't find any related documentation resources either, so the existing ones are probably the best guides, Ampache being probably the most simple one, yeah. So copying src/services/ampache as src/services/emby (, stripping out Last.fm related files and any other extra functionality) and renaming Ampache* -> Emby* is probably a feasible starting point. CMakeLists.txt shows there that the actual plugin is built as amarok_service_ampache, and additionally the config page as kcm_amarok_service_ampache library. The json files required by the plugin system are also under src/services/ampache. The various files there implement the boilerplate for the service (AmpacheServiceFactory), collection (AmpacheServiceCollection) and how to access metadata from the specific collection (AmpacheTrack), in addition to config dialog parts. Hopefully you manage to get a hold of all! If there's any specific question, don't hesitate to ask, I'll try to answer as well as I can. -- You are receiving this mail because: You are watching all bug changes.
