-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate mediaindexer to com.webos.service.mediaindexer #33
Comments
What about all the apps available via MuseumApp ? |
That's a good question. I guess we'd need to grep their source code for "com.palm.media." and see how often it's used. @codepoet80 Do you have this available somewhere to grep around in? |
Hmm, not easily. The full archive of rescued IPKs is here https://archive.org/details/webOSAppCatalogArchive-Complete but, we'd need to recurse the folder, unpack each package, grep its contents (then probably clean-up.) Question: would it be possible/easy to "wrap" the new indexer in an implementation of the legacy service calls, so that old apps don't know the original functionality has been replaced? For third-party apps, I think only FilePicker would need to be preserved. |
I don't think the mediaindexer had any API calls available to be honest. What is what doing was running in the background populating db8 kinds, but my memory might be wrong here as well. |
That's my understanding as well. As long as FilePicker works, I think legacy stuff should be fine. |
I checked the source code of Media Player Remix and that does seem to query the db8 kinds directly. So I guess for any compatibility we'd need to keep them. |
That one might be an edge case... |
Agreed, but located my unpacked IPK directory with almost 600.000 files to grep around in, so we'll find out sound enough |
I checked 4500 IPK's I had unpacked, seems the following apps use the db8 kinds directly: Seeing we have 10.000+ IPK's I would expect it to be a dozen or more in the total Museum. com.epik.audiophilehd |
Currently we have our own mediaindexer service which is mainly used by FilePicker currently. (https://github.com/webOS-ports/luna-systemui/tree/webOS-ports/master/app/FilePicker) and some alerts.
In legacy webOS these were used by the various media players (audio, video and images).
https://github.com/webOS-ports/luna-systemui/blob/webOS-ports/master/app/SystemManagerAlerts/SystemManagerAlerts.js#L1030
In general we don't need these kinds anymore in LuneOS, since we don't have these legacy apps available anyway (unless we want to get some legacy app working/ported).
We need to see how we want to proceed with this going forward, seeing OSE provides it's own MediaIndexer service (which is used by the OSE media apps).
The text was updated successfully, but these errors were encountered: