AIMP Forum

AIMP for Windows => Дополнения / Addons => Плагины / Plugins => Topic started by: Moshi0 on August 29, 2016, 02:37:13

Title: DLNA plugin proof of concept
Post by: Moshi0 on August 29, 2016, 02:37:13
Current version of plugin can be found here:
https://www.aimp.ru/forum/index.php?topic=55370.0 (https://www.aimp.ru/forum/index.php?topic=55370.0)

I wanted to switch from foobar to aimp for quite a while now but aimp is still missing dlna support so I made a demo plugin.

It uses aimp_dotnet sdk (MusicLibrary branch) because all cpp upnp/dlna libraries are just terrible.
But aimp_dotnet project is awesome, nice to see it being worked on still.

I attached a screenshot of the plugin but as you can see its not fully done yet, I spent few hours today on this.

Also it seems like aimp does not stream remote content and just downloads the whole file before playback.

Thoughts?
Title: Re: DLNA plugin proof of concept
Post by: on August 29, 2016, 06:56:45
Moshi0,

Hi there! I like your idea. I'm a fan of the DLNA technology and it's in fact a feature I miss in AIMP as well. Whenever you got a quite stable beta of your plugin, I'd like to test it.

it seems like aimp does not stream remote content and just downloads the whole file before playback.

The AIMP Podcasts plugin (https://www.aimp.ru/index.php?do=catalog&rec_id=828) streams the audio in real time. Download it, install it, and subscribe to any podcast, like this one for instance:
Quote
http://podcast.hernancattaneo.com/feed/
If you measure your downloading bandwidth while playing any of that podcast's episodes, you will note AIMP plays the stream after buffering a few seconds and it continues to play and stream the audio.

Wish I could try your DLNA plugin any time soon!  :) Keep the good work up!
Title: Re: DLNA plugin proof of concept
Post by: Moshi0 on August 29, 2016, 21:52:40
Moshi0,

Hi there! I like your idea. I'm a fan of the DLNA technology and it's in fact a feature I miss in AIMP as well. Whenever you got a quite stable beta of your plugin, I'd like to test it.

The AIMP Podcasts plugin (https://www.aimp.ru/index.php?do=catalog&rec_id=828) streams the audio in real time. Download it, install it, and subscribe to any podcast, like this one for instance:If you measure your downloading bandwidth while playing any of that podcast's episodes, you will note AIMP plays the stream after buffering a few seconds and it continues to play and stream the audio.

Wish I could try your DLNA plugin any time soon!  :) Keep the good work up!

I attached the current version of the plugin.
It is in aimp_dotnet folder because I had to compile AIMP.SDK.dll and aimp_dotnet.dll for music libraries to work. You wont find those anywhere yet as music library support is in developement. I hope the aimp_dotnet author wont mind, I included the license.

To install put the aimp_dotnet folder in aimp's plugin folder.

Changes since last time include much faster load/refresh times of dlna folders/items and nicer item view.
Still dont know how to make it stream and not buffer the whole song.

edit: Forgot to say that you have to manually refresh the "DLNA" music library for devices to show.
Title: Re: DLNA plugin proof of concept
Post by: Soolo on August 31, 2016, 09:18:35
I attached the current version of the plugin.
AIMP does not see this plugin
v4.10 and v3.60
Title: Re: DLNA plugin proof of concept
Post by: Moshi0 on September 08, 2016, 18:06:10
AIMP does not see this plugin
v4.10 and v3.60

You probably need .NET Framework 4.5.1 or higher.
Other than that I don't know why it would not work.
I'll add debug log for troubleshooting.
Title: Re: DLNA plugin proof of concept
Post by: Soolo on September 08, 2016, 18:15:11
You probably need .NET Framework 4.5.1 or higher.
yes, I have
Title: Re: DLNA plugin proof of concept
Post by: on April 12, 2018, 03:24:01
Hello,

I know it has been a long time since last activity on this plugin, but I want to contribute with the Spanish (Argentina) locale for this plugin anyway, which is attached below.

Best regards.
Title: Re: DLNA plugin proof of concept
Post by: Moshi0 on September 19, 2018, 01:11:58
FYI I have rewritten the plugin in c++. You can find it here:
https://www.aimp.ru/forum/index.php?topic=55370.0 (https://www.aimp.ru/forum/index.php?topic=55370.0)
Title: Re: DLNA plugin proof of concept
Post by: Echable on April 06, 2019, 17:49:09
Great idea, would love to see further development of this

Have a look at foobar and the fooupnp plugin, via a bubbleupnp server installed on home network where upnp/dlna servers are, this gives *remote access* to any home network upnp servers from anywhere

Bubbleupnp and fooupnp is what you need to look up, if similar functionality could be incorporated into AIMP it would crush foobar as best music player :)

Bubbleguum is the developer of bubbleupnp and fooupnp plugin but he is not developing foobarupnp anymore, he is very helpful and responsive so I'm sure he could help you do this. All the DLNA plugin would need is the ability to enter a remote https address as source where the BubbleUPnp "superserver" is

Also delighted to see built- in WebDAV support with full media library integration in new AIMP beta. Hope this will support Synology NAS WebDAV, I talked to another WebDAV developer who managed to fix Synology WebDAV support, he said problem was that Synology NAS WebDAV lacks HEADER support. Hopefully AIMP developers will consider this, I can provide a test account if necessary
Title: Re: DLNA plugin proof of concept
Post by: Moshi0 on April 09, 2019, 00:01:46
Great idea, would love to see further development of this

Hi, this plugin has been released already.
Look here: https://www.aimp.ru/forum/index.php?topic=55370.0