MediaMonkey Web Interface (MMWI)

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

Moderators: Peke, Gurus

madmital
Posts: 9
Joined: Fri Oct 28, 2011 2:18 am
Location: Denmark

MediaMonkey Web Interface (MMWI)

Post by madmital »

Hi all,

I recently started developing my own web app for controlling MediaMonkey remotely.

I've tried various solutions for controlling MM from a smartphone, but none came close to what I want.
So I wrote one myself. It started out being mostly for poops and giggles, but then I thought that others may find it useful too.

It's still in early development and needs more features and further testing.
But it's free :-)
Anyone interested can get it at http://mmwi.monosolutions.dk
Last edited by Lowlander on Thu Aug 30, 2012 11:51 am, edited 1 time in total.
Reason: Moved to correct Forum
Lowlander
Posts: 56465
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: MediaMonkey Web Interface (MMWI)

Post by Lowlander »

Looks very promising.

1 bug is that it fails to run when port is in use. Changing it in settings.xml fixed the issue. I personally also like the idea of Album Art, but speed may be of concern, thus it should be user option.

I'd also like to suggest renaming Playlist to Now Playing and adding the Player to this screen too (could be a user option). Another feature would be a password so not everybody can access it (especially if one decides to open it up through the internet).
Lowlander
Posts: 56465
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: MediaMonkey Web Interface (MMWI)

Post by Lowlander »

I also find that using the Volume bar (nice feature) doesn't work when lowering the volume (Volume buttons do work though). When lowering through the button it does increase using the Volume bar.
madmital
Posts: 9
Joined: Fri Oct 28, 2011 2:18 am
Location: Denmark

Re: MediaMonkey Web Interface (MMWI)

Post by madmital »

Thanks so much for taking the time to test MMWI. It's greatly appreciated!

Good catch about the port number being in use. I didn't test for that.
I've implemented a simple incrementation checking for an available port number.

"Now playing" is now called "now playing" :-) Reason I named it "playlist" to begin with was that I wanted the top menu item to be of equal size and "now playing" took up too much space.

As for the volume I havn't had problems lowering the volume :-/
May I ask what type of device are you using?

I have uploadet a new version with the above changes
http://mmwi.forum.monosolutions.dk/topic4-0930.aspx
gpzbc
Posts: 1226
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: MediaMonkey Web Interface (MMWI)

Post by gpzbc »

Cool! Thanks for working on this. I plan to give it a try soon.

I love the MM community.
--
The gpzbc
Lowlander
Posts: 56465
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: MediaMonkey Web Interface (MMWI)

Post by Lowlander »

I'm using it on Windows Server 2003 and Firefox 15 on the same machine as where MediaMonkey is running.
madmital
Posts: 9
Joined: Fri Oct 28, 2011 2:18 am
Location: Denmark

Re: MediaMonkey Web Interface (MMWI)

Post by madmital »

@gpzbc:
Please give a try. I'd love some feedback from more users.
And I agress with you completely; the MM community is great ;-)

@Lowlander:
Thanks a lot.
I'll be sure to test it myself on an couple of Windows Servers over the weekend.
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: MediaMonkey Web Interface (MMWI)

Post by MMuser2011 »

Nice idea!

Where can I report errors?
I get this one, when I click on any entry in the 'Browse' section:

Code: Select all

System.BadImageFormatException: Die Datei oder Assembly "System.Data.SQLite" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
Dateiname: "System.Data.SQLite"
   bei System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
   bei System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   bei System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
   bei System.Type.GetType(String typeName)
   bei System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow)
   bei System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName)
   bei System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
   bei System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
   bei System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName)
   bei MediaMonkeyWebInterface.MMEntities..ctor(String connectionString)
   bei MediaMonkeyWebInterface.DataGenerator.Browse(String searchby, Int32 pagenumber)
   bei MediaMonkeyWebInterface.MmRequestHandler.Process()
   bei MediaMonkeyWebInterface.Manager.OnResponse(HTTPRequestParams& rq, HTTPResponse& rp)

WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.
System: (German) Win7 Ultimate, 64bit, FireFox 15
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
madmital
Posts: 9
Joined: Fri Oct 28, 2011 2:18 am
Location: Denmark

Re: MediaMonkey Web Interface (MMWI)

Post by madmital »

MMuser2011 wrote:Nice idea!

Where can I report errors?
I get this one, when I click on any entry in the 'Browse' section:
System: (German) Win7 Ultimate, 64bit, FireFox 15
Thanks for the feedback.
Bug reports can be submitted to the forum at http://mmwi.forum.monosolutions.dk
I'm guessing the problem you experience is related to your OS being 64-bit. I'll try to test it on a 64-bit system too and report back.
madmital
Posts: 9
Joined: Fri Oct 28, 2011 2:18 am
Location: Denmark

Re: MediaMonkey Web Interface (MMWI)

Post by madmital »

I'm able to reproduce and confirm the exception on a Win7 64-bit.
Will report back when a 64-bit version is ready.
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: MediaMonkey Web Interface (MMWI)

Post by MMuser2011 »

Thank you for the very fast response!
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
gpzbc
Posts: 1226
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: MediaMonkey Web Interface (MMWI)

Post by gpzbc »

madmital wrote:@gpzbc:
Please give a try. I'd love some feedback from more users.
And I agress with you completely; the MM community is great ;-)
I will. I am actually on 64 bit OS, so I think I might wait for your next fix.
Looking forward to it.
--
The gpzbc
madmital
Posts: 9
Joined: Fri Oct 28, 2011 2:18 am
Location: Denmark

Re: MediaMonkey Web Interface (MMWI)

Post by madmital »

@gpzbc: ;-)

64-bit version available now:
http://mmwi.forum.monosolutions.dk/topic5-0931.aspx
MMuser2011
Posts: 1308
Joined: Mon Oct 17, 2011 8:28 am
Location: Central Europe

Re: MediaMonkey Web Interface (MMWI)

Post by MMuser2011 »

Yep, the search works now.
I have another error, but have to wait for my activation mail for the forum...

Code: Select all

System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.InvalidCastException: Die angegebene Umwandlung ist ungültig.
   bei System.Data.SQLite.SQLiteDataReader.VerifyType(Int32 i, DbType typ)
   bei System.Data.SQLite.SQLiteDataReader.GetInt64(Int32 i)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   bei System.Data.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)
   bei System.Data.Common.Internal.Materialization.Shaper.GetPropertyValueWithErrorHandling[TProperty](Int32 ordinal, String propertyName, String typeName)
   bei lambda_method(ExecutionScope , Shaper )
   bei System.Data.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly[TEntity](Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)
   bei lambda_method(ExecutionScope , Shaper )
   bei System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
   bei System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
   bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   bei MediaMonkeyWebInterface.DataGenerator.ListAlbumTracks(Int32 AlbumId)
   bei MediaMonkeyWebInterface.MmRequestHandler.Process()
   bei MediaMonkeyWebInterface.Manager.OnResponse(HTTPRequestParams& rq, HTTPResponse& rp)
occures, if I click on a returned (matching) album and artist (URL like http://localhost:8080/?action=list&album=3798).

As soon I get my activation link for your forum, I will post my other findings there. :wink:
Magic Nodes v4.3.3 (2018-10-03) last free version SQL Viewer v2.4 (2009-10-25)
ExternalTools v1.4 (2011-05-09) iTunesMonkey 1.0 + Acoustid
Calculate Cover Size v1.7 (2012-10-23) RegExp Find & Replace v4.4.9 (2018-10-03) last free version
gpzbc
Posts: 1226
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: MediaMonkey Web Interface (MMWI)

Post by gpzbc »

I just got it setup on my 64-bit machines, but I am getting an exception message. I will post it to the forum.
Thanks again.
--
The gpzbc
Post Reply