Old 10th January 2011, 15:04   #1
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
ml_dlna

I know that there ist already an upnp plugin (ml_upnp), but this is not really helpful. ml_upnp is a good plugin, but I can't understand the frensh text and I don't want that endless searching process.

Now, I created my own plugin ml_dlna to list my music from a Buffalo LinkStation Live. Feel free to test it.

Name: ml_dlna
Version: 1.0.0.1

Required: Microsoft Visual C++ 2010 Redistributable Package (x86)
Attached Files
File Type: zip ml_dlna.zip (154.8 KB, 2881 views)
Mr. S is offline   Reply With Quote
Old 18th February 2011, 20:13   #2
human705
Junior Member
 
Join Date: Feb 2011
Posts: 1
ml_dlna

Hello Mr S.

I tried your plugin but it doesn't load . I'm running winamp 5.601 on a windows 7 x64 DELL. I'd like to have the "play to" functionality as in WMP 12. I can help with testing if you'd like

Thanks
human705 is offline   Reply With Quote
Old 19th February 2011, 16:34   #3
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
Hello human705.

Did you install the Microsoft Visual C++ 2010 Redistributable Package (x86)? Even if you have a x64 system you need the x86 package. I have no problems with my own plugin on Win7 x64. Btw, the plugin is a UPnP client and not a streaming server (play to).
Mr. S is offline   Reply With Quote
Old 24th September 2011, 11:59   #4
Magister7
Junior Member
 
Join Date: Sep 2011
Posts: 3
You plugin is good, but it does not handle utf-8 correctly.
DLNA (at least miniDLNA) sends all text utf-8 encoded. With Latin characters it's no problem, as their utf-8 representation is equal to ASCII, but for Cyrillic or other non-Latin characters it matters. Now they are showing with broken encoding.
Please, fix it or release a source so I can do this.

Thanks.
Magister7 is offline   Reply With Quote
Old 24th September 2011, 12:45   #5
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
Thanks for your comment. I'll fix it asap. Can you do me a favour and upload a testfile somewhere? You can use a one-click-hoster for example. Please send me the link in a private message. I'll implement a few code improvements, too.
Mr. S is offline   Reply With Quote
Old 25th September 2011, 00:46   #6
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
Name: ml_dlna
Version: 1.0.1.1

Changes:
  • correction in unicode support
  • security fix (buffer overflow)

Required: Microsoft Visual C++ 2010 Redistributable Package (x86)

Info: I'm not able to upload the new plugin version as an attachment.
Quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@winamp.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
You can download it from http://uploaded.to/file/l8ozb15r
Mr. S is offline   Reply With Quote
Old 26th September 2011, 19:50   #7
Magister7
Junior Member
 
Join Date: Sep 2011
Posts: 3
Wow, you fast. I even have not managed to reply.
Thanks, new version is better, but not 100% correct.
It shows unicode properly, but items, added to Winamp's playlist, still have wrong encoding.
Here is a screenshot: http://magister.ipsys.net/files/ml_d...g_encoding.jpg

P.S. Do you still need a test file?

And one more question. Is it possible to add items to current playlist, not replacing it?
Magister7 is offline   Reply With Quote
Old 27th September 2011, 22:32   #8
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
I have a few points on my TODO list:
  • Database to cache the slow search
  • Language API to localize the ui
  • Context menue to "add" the tracks to the current playlist or "replace" the current playlist
  • Different lists for video, audio and pictures
  • Unicode correction for the playlist

And yes, I still need a test file, because I don't have cyrillic keys on my latin keyboard.
Mr. S is offline   Reply With Quote
Old 28th September 2011, 09:46   #9
Magister7
Junior Member
 
Join Date: Sep 2011
Posts: 3
Sent a link in a PM
Magister7 is offline   Reply With Quote
Old 13th December 2011, 17:06   #10
lukost
Junior Member
 
Join Date: Dec 2011
Posts: 1
Thanks man!

Your work is much appreciated.

Btw utf8 cyrlic files work for me both in ML and playlist.

Cheers:
lukost
lukost is offline   Reply With Quote
Old 23rd February 2012, 15:30   #11
Stema
Junior Member
 
Join Date: Feb 2012
Posts: 1
No album art?

Great plugin to my favorite music player :-), just found it, tested it and it works.

Just one minor shortfall or am I missing some setting in Winamp here?
I am not able to get the album art for any music (mp3 with folder.jpg in each folder).

I tested it with WMP in the same setup and it works - it does work as well with my
old WM6 phone but it does not show any album art with Winamp 5.622 the
ml_dnla plugin and bento skin. Now it is either the plugin I guess or I am missing
some setting I have not yet found.

Any comment ?

Stema
Stema is offline   Reply With Quote
Old 2nd August 2012, 12:19   #12
mez68
Junior Member
 
Join Date: Aug 2012
Posts: 1
Quote:
Originally Posted by You can download it from [url
http://uploaded.to/file/l8ozb15r[/url]
Unfortunately the link never works. Message is always "All of our free-download capacities are exhausted currently" (i.e. pay for a premium account if you want to download!)
mez68 is offline   Reply With Quote
Old 3rd September 2012, 05:49   #13
Ehaboof
Junior Member
 
Join Date: Sep 2012
Posts: 1
I registered in this forum just to say thank you..

There is a couple of things that I wish to see in the next update:
1-Artwork view
2-A context menu for the browser to customize a column view and to add more options for sorting the content.

Thank you, again.
Ehaboof is offline   Reply With Quote
Old 28th September 2012, 11:15   #14
kilves76
Junior Member
 
Join Date: Jun 2010
Posts: 4
Please upload this plugin somewhere that it can actually be downloaded from. uploaded.to claims to be always free downloads exhausted and wants paid registration.

You attached the original file to the post so could you or someone please do it again.
kilves76 is offline   Reply With Quote
Old 6th October 2012, 20:22   #15
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
Quote:
Originally Posted by kilves76 View Post
Please upload this plugin somewhere that it can actually be downloaded from. uploaded.to claims to be always free downloads exhausted and wants paid registration.

You attached the original file to the post so could you or someone please do it again.
I don't have problems with upload, maybe you should stop filesharing But I attached the file for you.
Attached Files
File Type: zip ml_dlna-v1.0.1.1.zip (154.7 KB, 716 views)
Mr. S is offline   Reply With Quote
Old 22nd October 2012, 13:22   #16
memgir
Junior Member
 
Join Date: Oct 2012
Posts: 4
I have a dlna server storing flac files. It seems that using your plugin flac files can not be played, tough winamp can play local flac files. Is this something that can be fixed?
memgir is offline   Reply With Quote
Old 22nd October 2012, 16:42   #17
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
Quote:
Originally Posted by memgir View Post
I have a dlna server storing flac files. It seems that using your plugin flac files can not be played, tough winamp can play local flac files. Is this something that can be fixed?
No, FLAC is not part of the DLNA specification. You need a DLNA server which supports FLAC as an optional format. And winamp musst support streaming FLAC (I don't know if winamp can play streaming FLAC). An other possibility is to use a server which includes a MP3 transcoder.


The plugin is only searching and listing all files from DLNA devices. To play a file, the plugin sends the streaming url to winamp player.
Mr. S is offline   Reply With Quote
Old 22nd October 2012, 22:59   #18
memgir
Junior Member
 
Join Date: Oct 2012
Posts: 4
Thank you for your answer.

Well, rygel supports flac as a format. I can already play them using dlna with rhythmbox on linux clients. But perhaps it is winamp that is lacking the flac streaming capabilities...
memgir is offline   Reply With Quote
Old 22nd October 2012, 23:54   #19
memgir
Junior Member
 
Join Date: Oct 2012
Posts: 4
And I just checked to see that rygel also has transcoding support for mp3. But I couldn't figure out how to use it with your plugin. How can I request the mp3 transcoding of a flac file?
memgir is offline   Reply With Quote
Old 23rd October 2012, 16:57   #20
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
I'm sorry, but I don't know how to configure rygel to use MP3 transcoding.

Quote:
Originally Posted by Mr. S View Post
The plugin is only searching and listing all files from DLNA devices. To play a file, the plugin sends the streaming url to winamp player.
rygel has to exchange the FLAC-stream-urls with MP3-transcoding-stream-urls in its DLNA publishing service.
Mr. S is offline   Reply With Quote
Old 28th October 2012, 08:01   #21
memgir
Junior Member
 
Join Date: Oct 2012
Posts: 4
Quote:
Originally Posted by Mr. S View Post
I'm sorry, but I don't know how to configure rygel to use MP3 transcoding.


rygel has to exchange the FLAC-stream-urls with MP3-transcoding-stream-urls in its DLNA publishing service.
I wrote to the rygel mailing list about this and to quote:

"In DLNA/UPnP-AV, the _controlling_ party (in
this case ml_dlna) is responsible for choosing the most compatible
stream and not the server for working around broken implementations.
It's not our task to present any random renderer with just one
compatible stream, we would need to implement half a controller for
that. Instead we offer a list of streams in various formats."

https://mail.gnome.org/archives/ryge.../msg00032.html

So, do you think this can be actually implemented in ml_dlna?

Thanks.
memgir is offline   Reply With Quote
Old 1st November 2012, 15:22   #22
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
Name: ml_dlna
Version: 1.0.1.2

Changes:
  • Add duration column to list
  • Update DLNA Media Control Point to receive URIs for transcoded streams
  • Prefere original file or MP3 if file format is not supported by Winamp
  • Add context menu with all available streams

Required: Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)

I also checked a few file formats to play with Winamp from rygel DLNA server. MP3, OGG, AAC, WMA and WAV are supported out of the box (this files will be played directly). FLAC, ADTS and LPCM are not supported by Winamp (ml_dlna looks for an MP3 stream).
Attached Files
File Type: zip ml_dlna-v1.0.1.2.zip (296.8 KB, 1912 views)
Mr. S is offline   Reply With Quote
Old 3rd February 2013, 17:48   #23
PatHW
Junior Member
 
Join Date: Feb 2013
Posts: 3
How can I play DLNA music to my hifi system ?

Hi all

I have a dummy's question : Can I use this plugin to have my DLNA wifi hifi system play my PC files with winamp control ? (ie : start play, stop, change volume, etc from winamp)

I installed the ml_dlna.dll, I can now see my dlna server files, but I could not figure out how to have the music played on my DLNA wifi hifi system.

(If this cannot be done with this plugin, do you know an any that can do it ?)

Thanks for your help !
PatHW is offline   Reply With Quote
Old 3rd February 2013, 20:00   #24
Mr. S
Junior Member
 
Join Date: Oct 2007
Posts: 14
Quote:
Originally Posted by PatHW View Post
Can I use this plugin to have my DLNA wifi hifi system play my PC files with winamp control ? (ie : start play, stop, change volume, etc from winamp)
No!

This plugin is only for finding media on DLNA server and adding them to the playlist of . It's a media library plugin. To stream music to an DLNA render device, you need an output plugin.

Maybe this is working for you.
Mr. S is offline   Reply With Quote
Old 3rd February 2013, 20:50   #25
PatHW
Junior Member
 
Join Date: Feb 2013
Posts: 3
Thanks for your quick answer ! I tried the link you posted, it works well ! (Remote Speakers output v4.0 - Stream audio from Winamp to AirPlay/AirTunes devices (AirPort Express, Apple TV, etc.))

But it looks like I only have a 14-day trial with it... I will post if this is confirmed and if I find a free one.
PatHW is offline   Reply With Quote
Old 3rd February 2013, 21:03   #26
DrO
Winamp Team
 
DrO's Avatar
 
Join Date: Sep 2003
Posts: 26,313
that is the only Winamp plug-in which i'm aware off which will do what you're wanting for the output side of things - and considering the work most plug-in developers put into making plug-ins, it might just be simpler for you to pay for it if it's something you're going to heavily use.

-daz

If you have issues with Winamp or still want to get it, ensure
you get v5.666 build 3516 and the required plug-in updates
DrO is offline   Reply With Quote
Old 20th April 2014, 06:57   #27
pimjoosten
Junior Member
 
Join Date: Apr 2014
Posts: 1
Thanks Mr. S for your plug-in! I registered especially to let you know that I appreciate your work!
pimjoosten is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Tags
dlna, ml_dlna, plugin, upnp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump