INTERACT FORUM
Windows => Plug-in Development => Topic started by: Doof on February 04, 2008, 04:32:53 pm
-
After posting to another thread, I got thinking about all the things it'd be nice to do with a plugin that unfortunately can't be done due to the current SDK. I then started thinking about all of the feature requests that get thrown around on Interact and figured, why not start one thread where all of the plugin developers could voice their requests for an updated SDK. So if you have anything you'd like to see in a new SDK, let's hear 'em!
I'll start with a couple that I'd like to see or any that I can remember being mentioned in other threads.
1. An event be thrown when Playing Now is updated either by the addition, removal, or reordering of files.
2. The ability to access playback settings, such as track transitions (gapless, standard, etc), and DSP settings (like the ability to turn Replay Gain on or off, change its Mode from Track Based to Album Based, etc).
3. Retrieve from MC the type of database field (string, list, large value, etc).
4. Refresh Smartlists.
5. All Zones should throw Playing Now events, whether they're the active zone or not.
6. The ability to add commands to the right click menus.
7. Throw an event when the progess slider is changed manually.
8. Throw an event when library changes (adding, changing or deleting a file).
9. Update Playing Now when a file is removed.
10. Add a return code (true/false) to MJPlayback.Play()
Also, in the vein of trying to avoid problems caused by unexpected plugin behavior, maybe MC could run plugins in a sort of temporary mode, where certain changes to MC (playback modes, etc) aren't saved to the registry like they would be if a user actually changed the setting. Kind of like Session Changes. I hate seeing threads like one not too long ago where a user posted negative reviews of MC and JRiver because of something a plugin they installed was doing that they weren't expecting.
-
well. most of all: that changes in playback in the zone that is not active also fire an event.
-
I'll add any requests that are posted to my list above, just to keep it all easy to read.
-
I'll add any requests that are posted to my list above, just to keep it all easy to read.
good idea. to be more precise though. something like NOTIFY_TRACK_CHANGE tells you already which zone it is that changes track, in string3. but only the active zone. so the zone is already there. ;)
-
i also love to see
1. An event be thrown when Playing Now is updated either by the addition, removal, or reordering of files.
4. Refresh Smartlists
and some other features like:
- an event when the progess slider is changed manually
- an event when libarary changed (when adding, changing or deleting a file)
- update Plaing now view if you delte a file from Playing now with SDK
- something like "MJCurPlaylist.getAllFiles"
but i think "playing now" is the most sdk area needing improvement.
@doof
great idea
Markus
-
good idea. to be more precise though. something like NOTIFY_TRACK_CHANGE tells you already which zone it is that changes track, in string3. but only the active zone. so the zone is already there. ;)
So are you just saying that not all of the events include this information? Or am I missing something?
- something like "MJCurPlaylist.getAllFiles"
I'm not sure I understand this one.
@doof
great idea
Thanks. I don't know if it'll help us get what we'd like, but maybe if all the various requests were compiled into one list, it will be easier for them to implement some or all of them.
-
So are you just saying that not all of the events include this information? Or am I missing something?
for instance: when you play some music, and a song changes, you get a notify track change in zone 0. when you start to watch some pics at the same time, an other zone is made. when you go to an other picture, the notify track change wil tell you a track changes in zone 1, but when something in the zone where the music plays changes, you get nothing.
in the sdk it says: "The events MCC: NOTIFY_TRACK_CHANGE and MCC: NOTIFY_PLAYERSTATE_CHANGE contain the zone where the change occurred. Media Center, however, will only notify changes in the currently active zone. If a track changes in the non-active zone, there will be no event. Only track changes in the active zone will have events. "
-
Ok, I updated the list above to better reflect this.
-
yes thats it. thanks :)
-
I just run my event viewer program with MC 12.0.432 and NOTIFY_TRACK_CHANGE seems to be firing and including the zone even when it is not active. However the NOTIFY_PLAYLIST_PROPERTIES_CHANGED and_PLAYLIST_FILES_CHANGED events that fire only contain a '0' as zone info.
Craig
-
Throw an event when an IR key is pressed, pass which key was pressed. Or better yet - add about 6 "Custom IR commands" under Options-IrCommands and throw an event when any of those keys are pressed.
I'm trying to write a plug in that can be controlled by IR. For example, one of the Custom IR commands could throw an event that I can use to "tag" a track or album as a favorite. Just by pressing an IR button when the song is playing.
-
Is there an official or un-offical roadmap of enhancements to the SDK? I realize you can't commit to possible future enhancements. But it sure would help to know if you were even considering (or flat out rejecting) some of our suggestions.
IR event triggers is high on my wishlist. (previouly posted in this thread).
Thanks!
-
add a return code (true/false) to MJPlayback.Play()
(check if a file can be played)
Dim state as Boolean
state = MJPlayback.Play()
if state then
'file is playing
else
' an error occured like:
'Media Center was unable to play any of the files.
'Please make sure that the path in Media Library points to the right....
end-if
M.
-
Here's a couple more:
1. Being able to sync handhelds
2. Being ablto to convert files to other formats...
-
I would really like to be able to sync any zone to or from any zone using messages, as well as get the play status of any zone.
I don't like being tethered to my computer to perform these operations and it kind of defeats the purpose of having a multi-zone audio set-up.
Thanks.
-
If I understand what you are asking for, you can already do this. Use the MJZonesAutomation and MJZoneAutomation objects. Although I'm not sure what you mean by messages.
-
Thanks for your reply. I'll look into the MJZonesAutomation and MJZoneAutomation objects.
By messages I am refering to these:
http://wiki.jrmediacenter.com/index.php/Media_Center_Core_Commands#Zones
I can control the playback in any zone with those, but there is nothing to sync zones to other zones.
-
6. The ability to add commands to the right click menus.
I really, really second that!
-
So I have to admit I haven't been paying much attention latley, but it's been over a year since this thread was started. Has anything on the list been implemented? Have there been any additions to the SDK at all?