MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2006-07-18, 22:51   #21 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Riverside, CA
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via AIM to jlewalle
Default

Yes
__________________
jacob
jlewalle is offline   Reply With Quote
Old 2006-07-20, 07:35   #22 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Ok I got it working. The interface is a bit sparse, but I'll live with it. The speed of it also makes firefox show 'script unresponsive' errors too occasionally, usually when I'm adding a song to the playlist.

Also, it conflicts with other plugins that use socket communication, e.g. my ECP2 Plugin, and likely also the MPBlue plugin. I get an error like this:
Code:
ExceptionType: System.Net.Sockets.SocketException
Message: An existing connection was forcibly closed by the remote host
Source: System

Stack trace:
   at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.Socket.Send(Byte[] buffer)
   at WebPlaylistManager.Web.Cassini.Connection.WriteEntireResponseFromString(Int32 statusCode, String extraHeaders, String body, Boolean keepAlive)
   at WebPlaylistManager.Web.Cassini.Connection.WriteErrorAndClose(Int32 statusCode, String message)
   at WebPlaylistManager.Web.Cassini.Connection.WriteErrorAndClose(Int32 statusCode)
   at WebPlaylistManager.Web.Cassini.Connection.ProcessOneRequest()
   at WebPlaylistManager.Web.Cassini.Host.OnSocketAccept(Object acceptedSocket)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
They do not use the same ports though I don't think. My plugin uses TCP 3334 IIRC.

Any ideas?

Other than that, it looks good - now hopefully using your interfaces it will be possible to have the music viewed in a structured form, rather than a file listing.

Sam
samuel337 is offline   Reply With Quote
Old 2006-07-20, 09:39   #23 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Riverside, CA
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts


Send a message via AIM to jlewalle
Default

Interesting. I didn't write any of the socket code in the web server portion, it's all borrowed from Cassini so I can't comment to how the problems might be arrising. I tested using firefox and have never seen that error...

How exactly does it conflict with the other plugins that employ sockets?
__________________
jacob
jlewalle is offline   Reply With Quote
Old 2006-07-20, 10:10   #24 (permalink)
Portal Member
 
Smirnuff's Avatar
 
Join Date: Dec 2004
Location: United Kingdom
Posts: 630
Thanks: 0
Thanked 2 Times in 1 Post

My System

Default

Hi guys -

Possibly not relevant but I thought I'd mention it, another very nice C# implementation of a threaded HTTP server that can host ASP pages can be found in the Razor Framework. Very clean code and well tested. I'm too lazy to re-read the thread but I seem to remember some question over Cassini's licensing, Razor is GPL.

I know the initial plans for this plugin are as per title and the following comments aren't necessarily aimed at this specific plugin but would love to see MP offering web based features such as tag review with suggestions on how to improve. By this I mean it offering a number of review strategies that would find those tedious little issues like one album from the same band has the artist name as 'The Stone Roses', while another album has 'Stone Roses', list all tracks with missing titles etc. Probably missing the point with existing tagging software but have so far found nothing that would allow me to spend a couple of hours going through a list of suggested changes rather than being sat in front of the TV browsing my music and finding yet another missing The or a 90% similar album name when it should be the same!

Cheers,
Smirnuff.
Smirnuff is offline   Reply With Quote
Old 2006-07-21, 08:07   #25 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by jlewalle
Interesting. I didn't write any of the socket code in the web server portion, it's all borrowed from Cassini so I can't comment to how the problems might be arrising. I tested using firefox and have never seen that error...

How exactly does it conflict with the other plugins that employ sockets?
When I try to access the web playlist manager, the initial page loads ok, but when I try to access my Music folder, if I don't disable my plugin MP crashes. If it is disabled, I get the firefox error but everything still works if I press continue. I guess it might be because I don't have all my songs organised into folders - I only put albums in folders, everything else is in my My Music folder.

Its not the first time this problem has occurred though - there were problems between my plugin and the MPBlue one too; not sure if they still exist. Anyway, I'll have a nose around and see what I can find.

Sam
samuel337 is offline   Reply With Quote
Old 2006-07-26, 20:00   #26 (permalink)
Retired Team Member
 
Join Date: Sep 2004
Location: Canada
Posts: 215
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by Smirnuff
Hi guys -

Possibly not relevant but I thought I'd mention it, another very nice C# implementation of a threaded HTTP server that can host ASP pages can be found in the Razor Framework. Very clean code and well tested. I'm too lazy to re-read the thread but I seem to remember some question over Cassini's licensing, Razor is GPL.

Cheers,
Smirnuff.
Cassini is shared source license and there should be no problems using it:
http://www.microsoft.com/resources/s...Developer.mspx

Here is a free spin off:
http://ultidev.com/products/Cassini/index.htm

and another:
http://www.systemex.net/CassiniEx/

Wrapping the latter in a process plug-in would not be that difficult or using either one in their current form.

Cheers.
__________________
Silverstone LC11M
AMD 64 3000+
MSI RS480M2-IL
512MB DDR400
Maxtor DiamondMax 10 300GB
devo is offline   Reply With Quote
Old 2006-07-27, 00:38   #27 (permalink)
Portal Member
 
Join Date: Apr 2004
Posts: 157
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Great plugin, thanks !

And now, how do you save a playlist ? :)
Molokoids is offline   Reply With Quote
Old 2006-07-27, 16:44   #28 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Germany
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default Installation/Configuration

Hi together,

I tried to install this plugin - unfortunateley without success. Step 1 and 2 - no problem as soon as I realized that it's mediaportal.exe.config and not mediaplayer.exe.conf ....

After step 2 I tried to connect with IE over http://MPIP:8080/ without any success.

Anyhow I does not work - do I have to copy / install some additional things? :?:

Thanks for your help!
ManOnMoon is offline   Reply With Quote
Old 2006-07-28, 07:51   #29 (permalink)
Portal Member
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 773
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: Installation/Configuration

Quote:
Originally Posted by ManOnMoon
Hi together,

I tried to install this plugin - unfortunateley without success. Step 1 and 2 - no problem as soon as I realized that it's mediaportal.exe.config and not mediaplayer.exe.conf ....

After step 2 I tried to connect with IE over http://MPIP:8080/ without any success.

Anyhow I does not work - do I have to copy / install some additional things? :?:

Thanks for your help!
Check that the WebPlaylistManager plugin is enabled in MP configration, and also that you have opened port 8080 on your MP computer's firewall if any (remember that often Windows Firewall is on by default).

Sam
samuel337 is offline   Reply With Quote
Old 2006-07-29, 11:55   #30 (permalink)
Portal Member
 
Join Date: Jul 2006
Location: Germany
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts


Default Re: Installation/Configuration

I disabled the windows firewall for testing. The plugin is also running. Any other ideas?

Thanks
ManOnMoon is offline   Reply With Quote
Reply

Bookmarks

Tags
based, manager, music, playlist, web

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
My Music - need your thoughts on how to improve and enhance SteveV Listen Music 588 2006-12-07 11:07
RC3: TV not working after resume from standby wewe The old Bugreport Forum 80 2006-08-15 23:19
MP crashing after viewing 21 videos endeneu The old Bugreport Forum 27 2006-06-07 22:58
MP detects Radio Channels (AutoRadioTune) but crash at end Gibus General Support 0 2006-05-07 12:28
Minimise radio stops stream johnmb The old Bugreport Forum 0 2006-04-25 11:42


All times are GMT +1. The time now is 05:58.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden