MantisBT - MPfm
View Issue Details
0000375MPfmMVP | Servicespublic2012-05-27 21:352013-02-23 13:19
ycastonguay 
ycastonguay 
normalfeatureN/A
assignedopen 
 
0.7.0.0 
0000375: Add the IAudioFileCacheService to cache audio file metadata
Use a singleton (AudioFileCache) for accessing the cache throughout the application easily.
No tags attached.
child of 0000324assigned ycastonguay Use a MVP-style pattern to centralize code for UI on multiple platforms 
Issue History
2012-05-27 21:35ycastonguayNew Issue
2012-05-27 21:35ycastonguayStatusnew => assigned
2012-05-27 21:35ycastonguayAssigned To => ycastonguay
2012-05-27 21:35ycastonguayIssue generated from0000366
2012-05-27 21:35ycastonguayRelationship addedchild of 0000324
2012-05-27 21:44svnCheckin
2012-05-27 21:44svnNote Added: 0000727
2012-06-03 18:57svnCheckin
2012-06-03 18:57svnNote Added: 0000745
2013-02-23 13:13ycastonguaySummaryAdd the IAudioFileCacheService interface and implement AudioFileCacheService with a singleton (AudioFileCache) => Add the IAudioFileCacheService
2013-02-23 13:19ycastonguaySummaryAdd the IAudioFileCacheService => Add the IAudioFileCacheService to cache audio file metadata

Notes
(0000727)
svn   
2012-05-27 21:44   
The user animal has checked in files related to this issue (revision 517).

Comment:
MPfm 0.6.0.1
* MVP
  - Added IAudioFileCacheService/AudioFileCacheService and the AudioFileCache singleton.
    Moved code from SongBrowserPresenter to AudioFileCacheService.
  - LibraryBrowserPresenter, SongBrowserPresenter: Added PlayerPresenter to the constructor arguments.
  - Moved all interfaces to subdirectories.

Related to issue 0000373, issue 0000374 and issue 0000375.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.MVP/Bootstrapper/Bootstrapper.cs
U MPfm/branches/current/MPfm.MVP/Bootstrapper/LibraryModule.cs
A MPfm/branches/current/MPfm.MVP/Cache/
A MPfm/branches/current/MPfm.MVP/Cache/AudioFileCache.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
D MPfm/branches/current/MPfm.MVP/Presenters/ILibraryBrowserPresenter.cs
D MPfm/branches/current/MPfm.MVP/Presenters/IPlayerPresenter.cs
D MPfm/branches/current/MPfm.MVP/Presenters/ISongBrowserPresenter.cs
D MPfm/branches/current/MPfm.MVP/Presenters/IUpdateLibraryPresenter.cs
A MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/
A MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/ILibraryBrowserPresenter.cs
A MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/IPlayerPresenter.cs
A MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/ISongBrowserPresenter.cs
A MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/IUpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/LibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/PlayerPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/SongBrowserPresenter.cs
A MPfm/branches/current/MPfm.MVP/Services/AudioFileCacheService.cs
D MPfm/branches/current/MPfm.MVP/Services/ILibraryService.cs
D MPfm/branches/current/MPfm.MVP/Services/IMainService.cs
D MPfm/branches/current/MPfm.MVP/Services/IUpdateLibraryService.cs
A MPfm/branches/current/MPfm.MVP/Services/Interfaces/
A MPfm/branches/current/MPfm.MVP/Services/Interfaces/IAudioFileCacheService.cs
A MPfm/branches/current/MPfm.MVP/Services/Interfaces/ILibraryService.cs
A MPfm/branches/current/MPfm.MVP/Services/Interfaces/IMainService.cs
A MPfm/branches/current/MPfm.MVP/Services/Interfaces/IUpdateLibraryService.cs
(0000745)
svn   
2012-06-03 18:57   
The user animal has checked in files related to this issue (revision 526).

Comment:
MPfm 0.6.0.1
* MVP
  - Added the SongBrowserQueryEntity entity.
  - ISongBrowserView: Added RefreshSongBrowser method.
  - SongBrowserPresenter: Now using the view to update the UI.
  - LibraryBrowserPresenter: Added TreeNodeSelected method, which updates the song browser presenter.
  - AudioFileCacheService: Now using SongBrowserQueryEntity for method parameters.
* GTK
  - Updated implementation.

Related to issue 0000373, issue 0000374, issue 0000375 and issue #378.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.MVP/Bootstrapper/LibraryModule.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
U MPfm/branches/current/MPfm.MVP/Models/LibraryBrowserEntity.cs
A MPfm/branches/current/MPfm.MVP/Models/SongBrowserQueryEntity.cs
U MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/ILibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/Interfaces/ISongBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/LibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/SongBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Services/AudioFileCacheService.cs
U MPfm/branches/current/MPfm.MVP/Services/Interfaces/IAudioFileCacheService.cs
U MPfm/branches/current/MPfm.MVP/Views/ISongBrowserView.cs