Skip to content
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

Reuse of UPnP Model Classes impossible outside of Android #77

Open
triplem opened this issue Jun 11, 2021 · 1 comment
Open

Reuse of UPnP Model Classes impossible outside of Android #77

triplem opened this issue Jun 11, 2021 · 1 comment

Comments

@triplem
Copy link

triplem commented Jun 11, 2021

Me is currently in the process of re-using your mmUpnp-library for a small project of me, unfortunately there is no code to see right now. You have already implemented quite some additional logic concerning the parsing of DIDL-Lite Elements in the DMS-Explorer (CdsObject). This is rather nice, and I would definitly like to re-use this functionality. Only thing which hinders me, is its dependency on Android (mainly Parcle).
May I suggest to put the CdsObject and Tags also into the mmupnp-lib without any dependency on Android? This could be possible by using the @parcelize annotation (basically by using an own annotation, I guess, to abstract away the dependency on Android), but other approaches could work as well.

What do you think?

BTW, love your project.

@ohmae
Copy link
Owner

ohmae commented Jun 11, 2021

Thanks. I agree with your opinion. I also wanted to implement DLNA in Pure Java, and I've wondered if it's better to create an Android-independent library. I have a desire to create such a library, but I don't have enough time so far to get started right away...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants