#
a5a013ca |
|
07-Jan-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
MediaPlayer: Fix movement of items in playlist In Playlist, whenever a move of items occured causing the currently playing song to change its position, so : 1. Importing files (D&D for example) before its position 2. Removings files before it 3. Moving files before it was causing the currently playing song to restart because it was thinking a new entry was asked (it had a different index number suddently). Also adjusted the behaviour when you delete the currently playing track. Should fix ticket #6689.
|
#
ebd86629 |
|
21-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
* Added new Playlist notification ImportFailed(). The PlaylistListView will trigger it when the import command failed (happens for example when none of the files are media files). * Moved displaying the according alert from the import fommand into the MainWindow. Show the window if necessary. This fixes MediaPlayer just idling in the Deskbar without any window in this case, since the MainWindow is shown after the first call to _SetupWindow() since some time. But _SetupWindow() is not invoked when no file could be opened. * Removed some meanwhile useless debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38757 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c60fcc87 |
|
23-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Changed the PlaylistItem interface to be hopefully more flexible. It can probably still be improved. * Renamed EntryRefPlaylistItem to just FilePlaylistItem. * Moved the "move into Trash" and "restore from Trash" implementation into FilePlaylistItem. Also added what's needed to allow Tracker to restore the entry itself. * Refactored everything to make Playlist use PlaylistItems instead of entry_refs and all that entails... * The transition to virtualize PlaylistItems is not complete yet in the Controller, since it still uses BMediaFile there. But it's much easier to change that now. * Objects which keep a PlaylistItem around do correct reference counting, but some commands could be simplified if they were using references as well. It still should work correctly, though, if I didn't miss anything. It should also fix theoretical situations of encountering out-of-memory while messing with the Playlist leading to inconsistent state between Undo/Redo and then leaking items because of that. * Added the discussed change that MediaPlayer checks it's own supported types before rejecting a file by super type. (untested) * When importing playlist items, the currently playling item is better maintained during Undo/Redo. * Some debugging code added in MediaTrackAudioSupplier, no functional changes. * Fixed a number of coding style issues and automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30834 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
415ef601 |
|
03-Jun-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* probably fixed the build, did I forget some files before? * implemented full undo/redo for any playlist operations git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21317 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a5a013ca40aa991d809cffb85a7367e67132ea0c |
|
07-Jan-2012 |
Philippe Saint-Pierre <stpere@gmail.com> |
MediaPlayer: Fix movement of items in playlist In Playlist, whenever a move of items occured causing the currently playing song to change its position, so : 1. Importing files (D&D for example) before its position 2. Removings files before it 3. Moving files before it was causing the currently playing song to restart because it was thinking a new entry was asked (it had a different index number suddently). Also adjusted the behaviour when you delete the currently playing track. Should fix ticket #6689.
|
#
ebd866299d45ed59d8576e1a9634f924cc07aa6e |
|
21-Sep-2010 |
Stephan Aßmus <superstippi@gmx.de> |
* Added new Playlist notification ImportFailed(). The PlaylistListView will trigger it when the import command failed (happens for example when none of the files are media files). * Moved displaying the according alert from the import fommand into the MainWindow. Show the window if necessary. This fixes MediaPlayer just idling in the Deskbar without any window in this case, since the MainWindow is shown after the first call to _SetupWindow() since some time. But _SetupWindow() is not invoked when no file could be opened. * Removed some meanwhile useless debug output. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38757 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c60fcc87e04b0af21ed9f01581b23d1f714a366f |
|
23-May-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Changed the PlaylistItem interface to be hopefully more flexible. It can probably still be improved. * Renamed EntryRefPlaylistItem to just FilePlaylistItem. * Moved the "move into Trash" and "restore from Trash" implementation into FilePlaylistItem. Also added what's needed to allow Tracker to restore the entry itself. * Refactored everything to make Playlist use PlaylistItems instead of entry_refs and all that entails... * The transition to virtualize PlaylistItems is not complete yet in the Controller, since it still uses BMediaFile there. But it's much easier to change that now. * Objects which keep a PlaylistItem around do correct reference counting, but some commands could be simplified if they were using references as well. It still should work correctly, though, if I didn't miss anything. It should also fix theoretical situations of encountering out-of-memory while messing with the Playlist leading to inconsistent state between Undo/Redo and then leaking items because of that. * Added the discussed change that MediaPlayer checks it's own supported types before rejecting a file by super type. (untested) * When importing playlist items, the currently playling item is better maintained during Undo/Redo. * Some debugging code added in MediaTrackAudioSupplier, no functional changes. * Fixed a number of coding style issues and automatic whitespace cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30834 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
415ef601dfd3c244a31c1e9d60eb1689da854e3c |
|
03-Jun-2007 |
Stephan Aßmus <superstippi@gmx.de> |
* probably fixed the build, did I forget some files before? * implemented full undo/redo for any playlist operations git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21317 a95241bf-73f2-0310-859d-f6bbb57e9c96
|