MantisBT - MPfm
View Issue Details
0000367MPfmMVP | Servicespublic2012-05-13 21:342013-02-23 13:21
ycastonguay 
ycastonguay 
normalfeatureN/A
resolvedfixed 
 
0.7.0.00.7.2.0 
0000367: Add the IUpdateLibraryService to update the library and notify UI elements
This service is located in MPfm.Sound. This will replace eventually the Library class (with the other services).
No tags attached.
child of 0000324assigned ycastonguay Use a MVP-style pattern to centralize code for UI on multiple platforms 
Issue History
2012-05-13 21:34ycastonguayNew Issue
2012-05-13 21:34ycastonguayStatusnew => assigned
2012-05-13 21:34ycastonguayAssigned To => ycastonguay
2012-05-13 21:34ycastonguayIssue generated from0000366
2012-05-13 21:34ycastonguayRelationship addedchild of 0000324
2012-05-13 21:36svnCheckin
2012-05-13 21:36svnNote Added: 0000685
2012-05-13 22:08svnCheckin
2012-05-13 22:08svnNote Added: 0000687
2012-05-14 18:21svnCheckin
2012-05-14 18:21svnNote Added: 0000689
2012-05-14 21:10ycastonguayNote Added: 0000690
2012-05-14 21:10ycastonguayStatusassigned => resolved
2012-05-14 21:10ycastonguayFixed in Version => 0.7.2.0
2012-05-14 21:10ycastonguayResolutionopen => fixed
2012-05-27 13:12ycastonguayTarget Version0.7.2.0 => 0.7.0.0
2012-05-29 21:53ycastonguayIssue cloned0000376
2012-06-11 17:11svnCheckin
2012-06-11 17:11svnNote Added: 0000766
2013-02-23 13:21ycastonguaySummaryAdd the IUpdateLibraryService interface and implement UpdateLibraryService => Add the IUpdateLibraryService to update the library and notify UI elements

Notes
(0000685)
svn   
2012-05-13 21:36   
The user animal has checked in files related to this issue (revision 498).

Comment:
MPfm 0.6.0.1
* Library
  - Added the ILibraryService/LibraryService and IUpdateLibraryService/UpdateLibraryService services.
* MVP
  - Updated the UpdateLibraryPresenter with the UpdateLibraryService.

Related to issue 0000366 and issue 0000367.


Files modified:
U MPfm/branches/current/MPfm.Library/Gateway/MPfmGateway.cs
U MPfm/branches/current/MPfm.Library/ILibrary.cs
U MPfm/branches/current/MPfm.Library/Library.cs
U MPfm/branches/current/MPfm.Library/MPfm.Library.csproj
A MPfm/branches/current/MPfm.Library/Services/
A MPfm/branches/current/MPfm.Library/Services/ILibraryService.cs
A MPfm/branches/current/MPfm.Library/Services/IUpdateLibraryService.cs
A MPfm/branches/current/MPfm.Library/Services/LibraryService.cs
A MPfm/branches/current/MPfm.Library/Services/UpdateLibraryService.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
A MPfm/branches/current/MPfm.MVP/Presenters/IUpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/MainPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
(0000687)
svn   
2012-05-13 22:08   
The user animal has checked in files related to this issue (revision 499).

Comment:
MPfm 0.6.0.1
* Library
  - Moved the following classes from Library.cs to separate files:
    - UpdateLibraryArgument
    - UpdateLibraryException
    - UpdateLibraryFinishedData
    - UpdateLibraryMode
    - UpdateLibraryProgressData
    - UpdateLibraryProgressDataSong
  - LibraryService: Added constructor and RemoveAudioFilesWithBrokenPaths method.
* MVP
  - UpdateLibraryPresenter: Added more arguments to the constructor.
  - UpdateLibraryPresenter: Added the RefreshStatus method.
* GTK
  - Updated implementation.

Related to issue 0000366 and issue 0000367.


Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.Library/Library.cs
U MPfm/branches/current/MPfm.Library/MPfm.Library.csproj
U MPfm/branches/current/MPfm.Library/Services/ILibraryService.cs
U MPfm/branches/current/MPfm.Library/Services/LibraryService.cs
U MPfm/branches/current/MPfm.Library/Services/UpdateLibraryService.cs
A MPfm/branches/current/MPfm.Library/UpdateLibrary/
A MPfm/branches/current/MPfm.Library/UpdateLibrary/UpdateLibraryArgument.cs
A MPfm/branches/current/MPfm.Library/UpdateLibrary/UpdateLibraryException.cs
A MPfm/branches/current/MPfm.Library/UpdateLibrary/UpdateLibraryFinishedData.cs
A MPfm/branches/current/MPfm.Library/UpdateLibrary/UpdateLibraryMode.cs
A MPfm/branches/current/MPfm.Library/UpdateLibrary/UpdateLibraryProgressData.cs
A MPfm/branches/current/MPfm.Library/UpdateLibrary/UpdateLibraryProgressDataSong.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
(0000689)
svn   
2012-05-14 18:21   
The user animal has checked in files related to this issue (revision 500).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryPresenter: Added BackgroundWorker.
* Library
  - UpdateLibraryService: Added UpdateLibrary method.

Related to issue 0000364 and issue 0000367.


Files modified:
U MPfm/branches/current/MPfm.Library/Services/UpdateLibraryService.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
(0000690)
ycastonguay   
2012-05-14 21:10   
IUpdateLibraryService will be merged with ILibraryService.
(0000766)
svn   
2012-06-11 17:11   
The user animal has checked in files related to this issue (revision 558).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryService: Fixed bug where the code would not compile under Windows.
* Sound
  - PeakFile: Fixed bug where the code would not compile under Windows.

Related to issue 0000367.



Files modified:
U MPfm/branches/current/MPfm.MVP/Services/UpdateLibraryService.cs
U MPfm/branches/current/MPfm.Sound/PeakFile.cs