MantisBT - MPfm
View Issue Details
0000366MPfmMVP | Servicespublic2012-05-13 21:342013-02-23 13:20
ycastonguay 
ycastonguay 
normalfeatureN/A
assignedopen 
 
0.7.0.0 
0000366: Add the ILibraryService to manage access to the library
This will replace eventually the Library class.
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:34ycastonguayRelationship addedchild of 0000324
2012-05-13 21:34ycastonguayIssue cloned0000367
2012-05-13 21:36svnCheckin
2012-05-13 21:36svnNote Added: 0000684
2012-05-13 22:08svnCheckin
2012-05-13 22:08svnNote Added: 0000686
2012-05-14 21:12ycastonguayDescription Updatedbug_revision_view_page.php?rev_id=180#r180
2012-05-14 21:20svnCheckin
2012-05-14 21:20svnNote Added: 0000692
2012-05-14 21:22ycastonguayDescription Updatedbug_revision_view_page.php?rev_id=181#r181
2012-05-14 21:24svnCheckin
2012-05-14 21:24svnNote Added: 0000693
2012-05-14 21:46svnCheckin
2012-05-14 21:46svnNote Added: 0000695
2012-05-19 11:22ycastonguayIssue cloned0000369
2012-05-21 00:21svnCheckin
2012-05-21 00:21svnNote Added: 0000712
2012-05-27 13:12ycastonguayTarget Version0.7.2.0 => 0.7.0.0
2012-05-27 17:39svnCheckin
2012-05-27 17:39svnNote Added: 0000720
2012-05-27 21:35ycastonguayIssue cloned0000375
2013-02-23 13:20ycastonguaySummaryAdd the ILibraryService interface and implement LibraryService => Add the ILibraryService to manage access to the library

Notes
(0000684)
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
(0000686)
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
(0000692)
svn   
2012-05-14 21:20   
The user animal has checked in files related to this issue (revision 501).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryPresenter: Added background worker DoWork and RunWorkerCompleted events.
* Library
  - MPfmGateway: Added the SelectFilePaths method to return a list of distinct file paths from the database.
  - LibraryService: Added SelectFolders method.
  - LibraryService: Merged with UpdateLibraryService.
* GTK
  - Updated implementation.

Related to issue 0000364 and issue 0000366.



Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/UpdateLibraryWindow.cs
U MPfm/branches/current/MPfm.Library/Gateway/IMPfmGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/ISQLiteGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/MPfmGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/SQLiteGateway.cs
U MPfm/branches/current/MPfm.Library/MPfm.Library.csproj
U MPfm/branches/current/MPfm.Library/Services/ILibraryService.cs
D MPfm/branches/current/MPfm.Library/Services/IUpdateLibraryService.cs
U MPfm/branches/current/MPfm.Library/Services/LibraryService.cs
D MPfm/branches/current/MPfm.Library/Services/UpdateLibraryService.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
(0000693)
svn   
2012-05-14 21:24   
The user animal has checked in files related to this issue (revision 502).

Comment:
MPfm 0.6.0.1
* Library / MVP
  - Moved ILibraryService/LibraryService to MPfm.MVP.

Related to issue 0000366.



Files modified:
U MPfm/branches/current/MPfm/frmUpdateLibraryStatus.cs
U MPfm/branches/current/MPfm.Library/MPfm.Library.csproj
D MPfm/branches/current/MPfm.Library/Services/
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
A MPfm/branches/current/MPfm.MVP/Services/ILibraryService.cs
A MPfm/branches/current/MPfm.MVP/Services/LibraryService.cs
(0000695)
svn   
2012-05-14 21:46   
The user animal has checked in files related to this issue (revision 503).

Comment:
MPfm 0.6.0.1
* MVP
  - UpdateLibraryPresenter: Updated background worker DoWork event.
  - LibraryService: Added InsertAudioFile and InsertPlaylistFile.
* GTK
  - UpdateLibraryWindow: Added update library mode to constructor parameters.

Related to issue 0000364 and issue 0000366.



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.MVP/Presenters/IUpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/UpdateLibraryPresenter.cs
U MPfm/branches/current/MPfm.MVP/Services/ILibraryService.cs
U MPfm/branches/current/MPfm.MVP/Services/LibraryService.cs
(0000712)
svn   
2012-05-21 00:21   
The user animal has checked in files related to this issue (revision 512).

Comment:
MPfm 0.6.0.1
* Mac
  - Added Update Library window and implemented IUpdateLibraryView.
  - Added Lib folder with AutoMapper and Ninject.
* MVP
  - MainPresenter: Added exception for the CreateConfiguration method.
  - LibraryService: Changed MPfmGateway to IMPfmGateway.
* Library
  - MPfmGateway/IMPfmGateway: Added CompactDatabase method.
  
Related to issue 0000361 and issue 0000366.


Files modified:
U MPfm/branches/current/MPfm.Library/Gateway/IMPfmGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/MPfmGateway.cs
U MPfm/branches/current/MPfm.MVP/Presenters/MainPresenter.cs
U MPfm/branches/current/MPfm.MVP/Services/LibraryService.cs
U MPfm/branches/current/MPfm.Mac/AppDelegate.designer.cs
A MPfm/branches/current/MPfm.Mac/Lib/
A MPfm/branches/current/MPfm.Mac/Lib/AutoMapper.dll
A MPfm/branches/current/MPfm.Mac/Lib/Ninject.dll
U MPfm/branches/current/MPfm.Mac/MPfm.Mac.csproj
U MPfm/branches/current/MPfm.Mac/MainMenu.xib
U MPfm/branches/current/MPfm.Mac/MainWindowController.cs
A MPfm/branches/current/MPfm.Mac/Windows/
A MPfm/branches/current/MPfm.Mac/Windows/UpdateLibraryWindow.cs
A MPfm/branches/current/MPfm.Mac/Windows/UpdateLibraryWindow.designer.cs
A MPfm/branches/current/MPfm.Mac/Windows/UpdateLibraryWindow.xib
A MPfm/branches/current/MPfm.Mac/Windows/UpdateLibraryWindowController.cs
A MPfm/branches/current/MPfm.Mac/obj/
A MPfm/branches/current/MPfm.Mac/obj/Debug/
A MPfm/branches/current/MPfm.Mac/obj/Debug/monomac_version
A MPfm/branches/current/MPfm.Mac/obj/Debug_MacOSX/
A MPfm/branches/current/MPfm.Mac/obj/Debug_MacOSX/monomac_version
(0000720)
svn   
2012-05-27 17:39   
The user animal has checked in files related to this issue (revision 515).

Comment:
MPfm 0.6.0.1
* Library
  - MPfmGateway: Added overload to SelectDistinctAlbumTitles (added artistName parameter).
* MVP
  - LibraryBrowserPresenter: Implemented all methods from interface (GetFirstLevelNodes, GetArtistNodes, GetAlbumNodes, GetArtistAlbumNodes).
* GTK
  - MainWindow: Now loading AudioFileFormat combo box dynamically.
  - MainWindow: The Library Browser tree view now contains correct data.

Related to issue 0000366 and issue 0000373.



Files modified:
U MPfm/branches/current/MPfm.GTK/Windows/MainWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/MPfm.GTK.MainWindow.cs
U MPfm/branches/current/MPfm.GTK/gtk-gui/gui.stetic
U MPfm/branches/current/MPfm.Library/Gateway/IMPfmGateway.cs
U MPfm/branches/current/MPfm.Library/Gateway/MPfmGateway.cs
U MPfm/branches/current/MPfm.MVP/Presenters/ILibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/LibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Services/ILibraryService.cs
U MPfm/branches/current/MPfm.MVP/Services/LibraryService.cs