| |||||||
| Improvement Suggestions You have an idea how MediaPortal could be improved? Post it in here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Developer Join Date: Aug 2007 Age: 40
Posts: 167
Thanks: 0
Thanked 15 Times in 13 Posts
Country: | Started on: 2007-11-12 last update: 2007-11-12 Summary: Code change to allow the use of last.fm radio with an external player like PureAudio. Area: Last.fm radio Description: A small change in code will allow the last.fm radio to be used in conjunction with any external player supporting webstreams. Currently the last.fm radio hooks directly into the BASS player: Code: BassMusicPlayer.Player.LastFMSync += new BassAudioEngine.LastFMSyncReceived(OnLastFMSyncReceived); Code: public delegate void LastFMSyncReceived(object sender, DateTime syncTime); public event LastFMSyncReceived LastFMSync; Code: g_Player.Player.LastFMSync += new IPlayer.LastFMSyncReceived(OnLastFMSyncReceived); Regards, Symphy Last edited by Symphy; 2007-11-12 at 19:25. |
| | |
| |
| | #3 (permalink) |
| Portal Developer Join Date: Aug 2007 Age: 40
Posts: 167
Thanks: 0
Thanked 15 Times in 13 Posts
Country: | I did a quick test. The audioscrobbler plugin seems to work fine with PureAudio enabled. Also PureAudio is launched when starting last.fm radio. However, because the internal BASS player is not used in that case, the LastFMSync event never gets fired. I must admit i don't know yet how this event fits in the overal picture, but i assume it's required for proper operation. My proposal will allow me to implement this event in PureAudio similar to the internal BASS player. Regards, Symphy |
| | |
| | #4 (permalink) | |
| Portal Developer Join Date: Apr 2005 Location: Osnabruck
Posts: 2,522
Thanks: 85
Thanked 96 Times in 70 Posts
Country: | Quote:
This is only needed for continous streams. The most recent preference of last.fm playback are XSPF playlists however. You'll enter that playmode after skipping once. I'd be rather interested in your results of skipping. With BASS sometimes the stream doesn't start correctly so the playlist player skips another track.. | |
| | |
| | #5 (permalink) |
| Portal Developer Join Date: Aug 2007 Age: 40
Posts: 167
Thanks: 0
Thanked 15 Times in 13 Posts
Country: | Ok thanx for the info. Will look into it the coming weeks. Since i also use the BASS library, i'll most likely encounter the same skipping problems. Regards, Symphy |
| | |
![]() |
| Bookmarks |
| Tags |
| external, lastfm, players |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VOB Playback from HDD using External Players | fujidust | Support | 2 | 2008-07-25 07:56 |
| associate different file extensions to different external players ? | bugsbunny14 | Codecs, External Players | 6 | 2007-12-01 04:16 |
| 2 external players | Catfish45 | watch/edit Videos | 0 | 2007-10-23 23:31 |
| iTunes - External Players | shareware81 | General Support | 0 | 2007-09-29 05:43 |
| Better integration for external players | Anonymous | Improvement Suggestions | 0 | 2004-09-14 00:43 |