UPNP client script 0.5 [MM3]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

theshawn
Posts: 14
Joined: Thu Feb 28, 2008 12:41 pm

Synology Cubestation CS407e

Post by theshawn »

I am able to see my Synology Cubestation CS407e NAS, browse music by various ways...and play music too. Nice script!
Image
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Post by botijo »

Hi, theshawn, GuHu,
thanks for testing and reporting it is working. Unfortunately, there has been no progress on the script. The video card in the laptop died, so I moved to a whole new computer. I am running Vista Home Premium right now instead of old XP, something I installed this weekend. And I can confirm that the script works with WMP11 in vista too.
Anyhow, the only thing left in my "things I want to do" is Album Art, and I am not sure it can be done. I am not following any more to fix any client/server communication - nobody can assure me that the servers are following the UPNP spec, or even explain why Windows rules out some of the servers out.
Believe it or not, I am not using the script I wrote, so I do not see any improvements that could be made: the script does what it is suppose to be doing. Maybe you can tell me anything you miss? Or even you could try to edit the script yourself. Comments inside the file were given for that purpouse.
By the way, thanks for testing the script!
macrbest
Posts: 26
Joined: Thu Apr 24, 2008 6:47 am

Re: UPNP client script 0.5 [MM3]

Post by macrbest »

great script!

I'm just discovering Upnp Servers... but I'm wondering why:
- the search box of MM do nothing in the list of the script (except re-scanning everything) after click in the tree
- album art in ID3 tags are not shown
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Re: UPNP client script 0.5 [MM3]

Post by botijo »

Hi, Macbrst,
The way the script works makes it impossible for MM to know how to search the server. I will be out for some weeks, so I cannot look at this. As for AlbumArt, I wish I found a way to do that. Unfortunately, the way it is done at this moment, you cannot assign an URL as an AlbumArt. And I am not sure I can download AlbumArt and assign it to non-library songs. The script is yours to make any modifications.
Regards.
JBDive

Re: Dead Links

Post by JBDive »

Can the author get an active host for the script location? Link to .5 is dead, .4 doesn't work correctly at least for me.
GuHu wrote:..
just tested it with Fritz!Box 7270, worked up to now perfectly!

Is there any progress on this script?

With regards and thanks,

GuHu
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Re: UPNP client script 0.5 [MM3]

Post by botijo »

Thanks for trying to download the script. Somehow, the link does not work on Opera, but it does on Internet Explorer? WTF! I do not know how to resolve this except for moving the website to another place.
If you really want to get the UPNP client script, please download it via Internet Explorer. I will fix it whenever I am back at home in two weeks time.
And thanks for reporting the problem!
M1ke
Posts: 8
Joined: Wed May 14, 2008 3:41 pm
Location: Durham, UK
Contact:

Re: UPNP client script 0.5 [MM3]

Post by M1ke »

Hey, I posted some thanks in the Server thread and echo them here. I have two errors with this script, other than that it works perfectly.

Firstly on the same machine that is running the servers (XP running WMP 11 and MM3 UPnP) I get an "Error Executing Script" when I try to browse "Albums" on the MM3 UPnP server.

I also get this error on my XP laptop, and on that I also get an error when trying to access the "Music" node on the WMP share. I can play music fine if I view it in playlists, but I am told there is an error on line 171 if I try and view the "Music" node.
M1ke
Posts: 8
Joined: Wed May 14, 2008 3:41 pm
Location: Durham, UK
Contact:

Re: UPNP client script 0.5 [MM3]

Post by M1ke »

As an addendum to my previous problem - looking through the playlists there is one which produces the same error as attempting to view the "Music" node on the WMP server. Could there be something about a file in this playlist that is causing the problem? What errors could there be with the file and why do they only show when it is viewed from a different computer to the one running the server? Anyone got any ideas?
M1ke
Posts: 8
Joined: Wed May 14, 2008 3:41 pm
Location: Durham, UK
Contact:

Re: UPNP client script 0.5 [MM3]

Post by M1ke »

I've been reading up on MM scripting and have been trying to debug the code myself. The error that occurs only occurs on the Music node of a WMP11 server, giving error code 2147220975. However this code does not have any articles relating it to UPnP on MSDN. The error can occur occasionally when browsing playlists. Reading other forums suggests that this is a problem with the timeout of the Browse method (though I've been unable to find any list of InvokeAction methods for the UPnP API). As far as I can see there is no way to change this, but I will test it by clearing the library I am viewing and seeing if it will work then. It is worth mentioning that the function did work when I first started the server and installed the script, and I can't remember changing anything between then and a few hours later when it began failing.

A new error has become apparent today - that even when I can get at the Playlists on either the WMP11 server or the MM3 UPnP server I can't actually play anything. MediaMonkey adds the song to the Now Playing list, and can access the metadata. If I view properties the file name is in the form of the IP of the server, a port number (10284 for WMP11, 5050 for MM3 UPnP server) but the song won't play, and if another song is after it in the playlist it skips on after a few seconds. Opening the address in a browser has no result when using the WMP11 address, but prompts me to download the mp3 file when using the MM3 UPnP server.

If anyone has any experiene here or can use what I've said to work out the problems I'd like to hear it.
orkaowen

Re: UPNP client script 0.5 [MM3]

Post by orkaowen »

Hi,

Sorry if this is a stupid question.

I've downloaded and installed 0.5, and their is a uPnP node showing up in MM. However, I don't see my device listed there.

I have a Streamium WAC75000 and was hoping that I could connect to it with MM.

Am I doing something wrong?

Thanks
Maaspuck
Posts: 156
Joined: Thu Dec 28, 2006 4:41 am
Location: Hamburg, Germany

Re: UPNP client script 0.5 [MM3]

Post by Maaspuck »

Hello,

i have the same problem like orkaowen.

I installed version 0.5 but don't get any Server listed. I have a router (DGL 4300) and a NAS (Buffalo Linkstation Pro Duo including Twonky Media Server).

Any suggestions what could be wrong. I had a short look at the script itself but am not sure whether i have to change it for my purposes. I didn't get any error messages and also found upnp.dll in the system32 directory of the system.

Regards

Maaspuck
wolle
Posts: 6
Joined: Sun Aug 16, 2009 7:14 am

Re: UPNP client script 0.5 [MM3]

Post by wolle »

Hi,

all worked fine until I updated to iTunes 9.0 and MM 3.1.2.1267 beta. I'm able to browse my TwonkeyServer on my Qnap SS-439 but I'm not able to play any song. This worked fine before.

Cheers Wolle
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Re: UPNP client script 0.5 [MM3]

Post by botijo »

Well, as if you do not know already, I stopped development on this script some time ago. I might help you debug your problems, but first, you need to do something first:
http://www.mediamonkey.com/wiki/index.p ... _DebugView
With DebugView (and probably a debug version of MM) you can view extra information coming from MediaMonkey. In the case of my script, if I remember correctly, it reports some extra info.
About the problem wolle has explained, I can reproduce the same issue with WMP11. The thing is, my script is not getting the proper URL for the songs for some strange reason. Wolle, can you double check this for me? Just browse a song, go to properties, and copy and paste the URL (http://) into a webbrowser. If this does not work, then the script is not interpreting the paths correctly.
Regards.
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Re: UPNP client script 0.5 [MM3]

Post by botijo »

Alright,
I have been looking at the script. Somehow, following method stopped working:

Code: Select all

NewSong.Path = "http://127.0.0.1:5050/song/1"
I am not sure why it stopped working. Using the same URI in the Add File or URL in MM makes this work. I will probably report a bug. Until then, I do not know how to fix this client script.
Regards.
botijo
Posts: 415
Joined: Fri Dec 07, 2007 3:20 am
Location: Ireland

Re: UPNP client script 0.5 [MM3]

Post by botijo »

Good news,
with the new MM beta build (1270), the issues with this script have been resolved. That does not mean there might be other problems, though.
Thanks for the developers for looking into this issue into such brief period of time. Special thanks go to Ludek.
Post Reply