home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Talk
Any way to programmatically play a playlist? Command line, WiFi Remote, MPExtended?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mrceolla" data-source="post: 1180585" data-attributes="member: 109048"><p>Thank you for your reply. I did find how to list the available providers. I am now typing this URL into Firefox:</p><p></p><p><a href="http://ipaddress:4322/MPExtended/MediaAccessService/json/GetPlaylists?provider=4" target="_blank">http://ipaddress:4322/MPExtended/MediaAccessService/json/GetPlaylists?provider=4</a></p><p></p><p>and receive the following error:</p><p></p><p>{"ExceptionType":"System.Collections.Generic.KeyNotFoundException","Message":"The given key was not present in the dictionary.","StackTrace":" at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\u000d\u000a at MPExtended.PlugIns.MAS.MPMusic.MPMusic.GetPlaylists() in C:\\Users\\Oxan\\Documents\\Projects\\MPExtended\\PlugIns\\MPExtended.PlugIns.MAS.MPMusic\\MPMusic.cs:line 504\u000d\u000a at MPExtended.Services.MediaAccessService.MediaAccessService.GetPlaylists(Nullable`1 provider) in C:\\Users\\Oxan\\Documents\\Projects\\MPExtended\\Services\\MPExtended.Services.MediaAccessService\\MediaAccessService.cs:line 820\u000d\u000a at SyncInvokeGetPlaylists(Object , Object[] , Object[] )\u000d\u000a at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"}</p><p></p><p>Any idea why I am getting this error?</p><p></p><p>I am trying to use this command to get the IDs of my playlists since I don't know what they are. I'm hoping once I have that information that I'll be able to load this playlist via MPExtended or WiFi remote. Is this possible? I can trigger play via IR if needed so I'm not worried about that right now. I'm just trying to programmatically load a playlist.</p><p></p><p>Are simple HTTP GET commands enough to accomplish this or will I need to write my own application? I'm trying to interface HomeSeer 3 with MediaPortal for a few simple tasks, such as this one. I can run VB.NET, vbScript and Perl within HomeSeer if needed.</p></blockquote><p></p>
[QUOTE="mrceolla, post: 1180585, member: 109048"] Thank you for your reply. I did find how to list the available providers. I am now typing this URL into Firefox: [URL]http://ipaddress:4322/MPExtended/MediaAccessService/json/GetPlaylists?provider=4[/URL] and receive the following error: {"ExceptionType":"System.Collections.Generic.KeyNotFoundException","Message":"The given key was not present in the dictionary.","StackTrace":" at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\u000d\u000a at MPExtended.PlugIns.MAS.MPMusic.MPMusic.GetPlaylists() in C:\\Users\\Oxan\\Documents\\Projects\\MPExtended\\PlugIns\\MPExtended.PlugIns.MAS.MPMusic\\MPMusic.cs:line 504\u000d\u000a at MPExtended.Services.MediaAccessService.MediaAccessService.GetPlaylists(Nullable`1 provider) in C:\\Users\\Oxan\\Documents\\Projects\\MPExtended\\Services\\MPExtended.Services.MediaAccessService\\MediaAccessService.cs:line 820\u000d\u000a at SyncInvokeGetPlaylists(Object , Object[] , Object[] )\u000d\u000a at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage41(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)"} Any idea why I am getting this error? I am trying to use this command to get the IDs of my playlists since I don't know what they are. I'm hoping once I have that information that I'll be able to load this playlist via MPExtended or WiFi remote. Is this possible? I can trigger play via IR if needed so I'm not worried about that right now. I'm just trying to programmatically load a playlist. Are simple HTTP GET commands enough to accomplish this or will I need to write my own application? I'm trying to interface HomeSeer 3 with MediaPortal for a few simple tasks, such as this one. I can run VB.NET, vbScript and Perl within HomeSeer if needed. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Talk
Any way to programmatically play a playlist? Command line, WiFi Remote, MPExtended?
Contact us
RSS
Top
Bottom