Commit Graph

787 Commits

Author SHA1 Message Date
Daniel Önnerby
83024bb1a4 Fixed small mistake of accessing shared_ptr::px instead of shared_ptr::get() 2008-07-22 18:19:35 +00:00
Daniel Önnerby
f9de0cf101 Altered the folder-table to exclude the syncpath. *YOU NEED TO DELETE YOUR OLD DATABASE* 2008-07-20 22:01:30 +00:00
Daniel Önnerby
817fdad434 Merge doep branch to trunk. 2008-07-19 11:54:45 +00:00
Daniel Önnerby
ce5cd4206b Started making the metaKeys type in a more general way. 2008-06-05 22:19:04 +00:00
bart.apella
13b0c9b060 changes all tabs to 4 spaces (seems like I wasn't the only one who still used tabs Doep :p) 2008-06-05 20:40:17 +00:00
bart.apella
9f63336389 changes:
core/audio/Transport.cpp: fixed Transport::SetTrackPosition() so that it won't crash the program if you change the position if no song is currently selected. 
cube/TracklistModel.cpp: made it so that the duration of a song is now properly shown as mm:ss. 
Variables are available if we want to add more times (hours and days for example). Code for it was taken from TracklistController.cpp.
apedecoder/apedecoder.vcproj and oggdecoder/oggdecoder.vcproj: added /NODEFAULTLIB:LIBCMT to the linker command line so that they compile.
2008-06-05 15:59:38 +00:00
Daniel Önnerby
0c8d9725a3 Added code that sets the application icon and added temporary resources (old mC1 icon).
Updated to latest win32cpp to start using the localization.
2008-06-05 10:06:08 +00:00
Daniel Önnerby
8cb6178229 Fixed queries based on ListBase to all handle the TrackInfoSignal. 2008-06-04 10:28:34 +00:00
Daniel Önnerby
26d6abf31d Added the id3v2 frame USLT to read lyrics. 2008-06-02 21:15:05 +00:00
Daniel Önnerby
c162f0e665 Reverted solution. Sorry Bjorn :) 2008-05-22 18:29:44 +00:00
Daniel Önnerby
aed584b67d Decided to remove square from mC2+plugins.sln since both square and cube builds the mC2.lib.
Cleaned up some #include so compiler (or anyone else) does not get confused :)
2008-05-22 18:07:59 +00:00
Daniel Önnerby
747044a776 TrackList sorting working. 2008-05-21 21:11:53 +00:00
Daniel Önnerby
1be4bd4b10 Bugfix: Wrong destruction order in Library::LocalDB made Library break when queue was running. 2008-05-20 19:34:14 +00:00
Daniel Önnerby
cef1fb7dd3 Updated installer and added LICENSE.txt 2008-05-17 18:14:10 +00:00
Daniel Önnerby
02a5022139 Updated credits in the About window. 2008-05-17 12:01:33 +00:00
bjorn.olievier
4a86e8698b Increased WaveOut buffer to 1500 ms
Fixed minor bugs where TransportView was updated incorrectly when switching tracks.
2008-05-17 07:41:12 +00:00
bjorn.olievier
1295630230 Added some missing win32cpp headers. Slightly improves build time. 2008-05-16 18:20:02 +00:00
Daniel Önnerby
991f517ba5 Starting to make use of the Preferences class in the Indexer and Library::LocalDB. 2008-05-16 14:57:48 +00:00
Daniel Önnerby
5631f10064 Upgrading win32cpp.
Added a lock around sqlite3_prepare_v2 to fix SQLite bug when interrupting.
MetadataFilterView filtering starting to work.
Altered the indexer status a bit.
2008-05-16 08:21:45 +00:00
bjorn.olievier
767409e346 Fixed problem where TransportView stopped updating when next track was started.
Added TrackPtr parameter to some audio events for this.
Square temporarily broken.
2008-05-16 07:41:03 +00:00
bjorn.olievier
53008eef52 Cleaned up Transport.h and renamed some methods to make code easier to read.
Started documenting core::audio
2008-05-15 15:08:36 +00:00
bjorn.olievier
7ef78901ac Added pause/resume.
Fixed updates of slider and time labels (now happen when audio events are received).
Integrated slider manipulation and UI updates with play/pause/resume/stop.
Renamed audio events to include "Event" prefix.  Updated all references.
Fixed division by 0 error when calculating slider position.  Slider will not work if length is unknown.
2008-05-15 10:52:04 +00:00
Daniel Önnerby
9cb22f99ea Default sorting on tracks changed to artist,album,track,filepath,filename. 2008-05-15 08:25:31 +00:00
Daniel Önnerby
b82e3af11c Documented musik::core::db.
Upgraded to SQLite 3.5.9 to fix previous problem with LEFT OUTER JOIN.
Changed PRAGMA page_size to be equal to NTFS page size. Should give more speed when writing to database.
2008-05-15 06:37:49 +00:00
bjorn.olievier
05488a5bd7 Made position slider & time indicators update during playback.
Removed some pass-through methods from PlaybackQueue and added getter for Transport.  Updated all references.
2008-05-14 22:32:36 +00:00
bjorn.olievier
ec40c854fa Implemented jumping to position in audio file (position slider). Part of issue #48. Updating position slider during playback remains to be done. 2008-05-14 10:00:52 +00:00
Daniel Önnerby
e97e57ec73 Applied patch to be able to UPX the release build 2008-05-14 09:47:59 +00:00
Daniel Önnerby
a9b137a9a8 TracklistInfoView now fully working.
musik::core::tracklist::Standard is rewritten using boost::bimap instead of boost::multi_index.
win32cpp updated.
Started on MetadataFilterView filtering.
Fixed some pragma warnings in PCH files.
2008-05-14 07:56:41 +00:00
Daniel Önnerby
d7025b15da Started on TracklistInfo view. Only BrowseView is connected so far. 2008-05-12 13:31:59 +00:00
Daniel Önnerby
73365e99db Added initial installer script. 2008-05-12 06:02:14 +00:00
Daniel Önnerby
12a861140e Fixed bug that made "now playing" not query for metadata sometimes. 2008-05-11 21:47:29 +00:00
bjorn.olievier
a822298c61 A couple of quick fixes to avoid deadlocks during playback. 2008-05-10 07:30:40 +00:00
Daniel Önnerby
b32241ea8a Upgraded win32cpp. Fixes some bugs :) 2008-05-09 22:19:18 +00:00
Daniel Önnerby
41fdcd8eba Merged boost 1.35 branch to trunk. 2008-05-09 12:33:25 +00:00
Daniel Önnerby
42d3a4e097 Temporary fix for a bug in win32cpp that makes ListViews fail. 2008-05-06 20:47:02 +00:00
Daniel Önnerby
57dd8ed81e Fixed small bug in Query::ListSelection. 2008-05-06 13:33:52 +00:00
Daniel Önnerby
27071b015b Fixed taglib bug when id3v2 frames exists but are empty and id3v1 should be read.
Track and TrackMeta do not allow empty strings (unnecessary data).
2008-05-05 09:27:09 +00:00
Daniel Önnerby
86593f5d1e Fixed leaking in the SourceView. 2008-05-05 08:21:03 +00:00
Daniel Önnerby
67186e6eca Merged upgraded win32cpp stuff. 2008-05-05 07:57:07 +00:00
Daniel Önnerby
815d3aba1c Added presorting to meta_values.
Added some static metaKey helper methods to the Library::Base.
Added a SortTracks query.
2008-05-02 20:42:42 +00:00
Daniel Önnerby
32a43c11a1 Some cleaning of the Indexer.
Continued on the Query::PlaylistSave and started on the Query::Playlists.
2008-05-01 22:19:26 +00:00
Daniel Önnerby
c405f1d7f6 Fixed the PlaybackQueue::CurrentTrackChanged signal to be called even with empty track. 2008-04-29 20:54:59 +00:00
Daniel Önnerby
94f71d27c5 Connected the labels in the TransportView to update when track change. 2008-04-29 18:11:46 +00:00
Daniel Önnerby
1d7072fd8c Addded queries for saving/loading playlists. Should also add a query for listing the playlists. 2008-04-28 22:28:39 +00:00
Daniel Önnerby
2026f54903 Documented ApplicationThread and added a Call2.
Set the Indexer to reindex every 1 hour instead of every 5 minute.
2008-04-28 11:59:16 +00:00
Daniel Önnerby
23edf06444 Added a ApplicationThread::InMainThread to check if you're currently in the applications thread. 2008-04-27 23:17:56 +00:00
Daniel Önnerby
76b52a99b7 Moved ApplicationThread HelperWindow from Application to the ApplicationThread.
Added ApplicationThread::Call1.
2008-04-27 21:44:04 +00:00
Daniel Önnerby
f969f1a857 - Fixed issue 42. Memory is still a bit high, but only for a second.
- Fixed a bug in the musik::core::db::CachedStatement that made the CachedStatement not working.
- Increased the SQLite memory for the Indexer to 4Mb.
2008-04-25 13:35:20 +00:00
Daniel Önnerby
70b53353ef First checking of the win32cpp::ApplicationThread. Connected the TransportController, but it does not really DO anything at the moment :)
The only call implemented so far is the win32cpp::ApplicationThread::Call0(...);
2008-04-25 10:26:21 +00:00
bjorn.olievier
43f62d7b8a Fixed crash on pressing play button (closes #38) 2008-04-24 21:11:09 +00:00