2010-03-19, 19:01
Hi Tobias
Yep I think the filter sounds spot on. The extra granularity would be nice but the filter by itself (especially if it is a regex) would probably suit 99% of cases.
Thanks for all the other tips, I will give them a go.
While I have your ear, A few other things
-MusicPlayer.PlayPause, SkipPrevious, SkipNext do not seem work unless an item on the plalylist is already playing, it would be nice if they actioned the most recently used playlist.
Also it is a bit of a hassle having to map your controls to different namespaces for the same control methods, is it possible to get a generic wrapper for them. Eg. Player.PlayPause = MusicPlayer.PlayPause or VideoPlayer.PlayPause or PicturePlayer.PlayPause. In most cases I think there will only have one set of controls it seems a bit cumbersome doing all the logic on the client side.
-Does GetSongs song duration work? It was returning 0 for every result for me.
-I am guessing this is to do with no more GoAhead web server (or dev version of xbmc) but xbmc crashes if my webpage includes a css/js file that is in a sub folder.
-This one might be pushing it but I would love a way to add a rating to a song. or even better, setters you could use on the db (so you could use the a web ui to clean up your music or video collection)
-Lastly... I think its great that Playlist.Swap is now available, and much better than before (nothing) however what I would find more useful would be something like Playlist.setPosition {"playlist": "music", "item": 0, "position": 1 } and it would insert the x item in y position, pushing everything down.
Cheers,
Jeremy
Yep I think the filter sounds spot on. The extra granularity would be nice but the filter by itself (especially if it is a regex) would probably suit 99% of cases.
Thanks for all the other tips, I will give them a go.
While I have your ear, A few other things
-MusicPlayer.PlayPause, SkipPrevious, SkipNext do not seem work unless an item on the plalylist is already playing, it would be nice if they actioned the most recently used playlist.
Also it is a bit of a hassle having to map your controls to different namespaces for the same control methods, is it possible to get a generic wrapper for them. Eg. Player.PlayPause = MusicPlayer.PlayPause or VideoPlayer.PlayPause or PicturePlayer.PlayPause. In most cases I think there will only have one set of controls it seems a bit cumbersome doing all the logic on the client side.
-Does GetSongs song duration work? It was returning 0 for every result for me.
-I am guessing this is to do with no more GoAhead web server (or dev version of xbmc) but xbmc crashes if my webpage includes a css/js file that is in a sub folder.
-This one might be pushing it but I would love a way to add a rating to a song. or even better, setters you could use on the db (so you could use the a web ui to clean up your music or video collection)
-Lastly... I think its great that Playlist.Swap is now available, and much better than before (nothing) however what I would find more useful would be something like Playlist.setPosition {"playlist": "music", "item": 0, "position": 1 } and it would insert the x item in y position, pushing everything down.
Cheers,
Jeremy