Commit Graph

303 Commits (dedeb399a8ba562810c425dbc9e38e870e9634af)

Author SHA1 Message Date
vspader 0da67249fc Fixed up playlist context menu.
Removed album/artist name from menu thanks to Fiona Apple and some clever person who thought it would be funny to shove the entire album name into the tag.
2008-03-11 23:31:19 +00:00
vspader dbfa0363de Some cleanup and fixes for the toggle menu. 2008-03-09 02:53:13 +00:00
vspader 208065494c Fix for spotlight playlistentry dealloc and added missing fields to playlistentry dealloc. 2008-03-09 02:05:00 +00:00
matthewleon c94d31f6d9 Dealloc for PlaylistEntry seems to shrink memory leak. 2008-03-09 00:22:48 +00:00
vspader 637c0d598e Added transformers for menu item title. There must be a better way... 2008-03-08 23:58:52 +00:00
vspader 3375e15a83 Queue is now a toggle. 2008-03-08 23:57:54 +00:00
vspader 569a3e79cc Fixed scrolling behaviour. 2008-03-04 01:14:51 +00:00
vspader 5346f0dbde Fixed font-size changing. 2008-03-04 01:00:09 +00:00
vspader 79cd625152 Changed year to an NSNumber. Fixed up taglib plugin. Tracks/Years with 0 now show up as nothing. 2008-03-04 00:43:47 +00:00
vspader 16ccf5622d Fixed issues with big big playlists. 2008-03-04 00:35:20 +00:00
vspader 9af41d7542 A few taglib fixes. Reads id3v2 before ape for mp3 files. Added AutoReleasePool to backgrounded method. 2008-03-03 03:26:19 +00:00
vspader cf46d16a56 Remove concurrency! Mwahaha! Also, moved updateTotalTime so it's done after all operations. Now it's actually usable while loading time. 2008-03-03 02:25:52 +00:00
vspader 276176a80c Updated playlistLoader to be CONCURRENT! Mwahahaha!
total time is now automatically updated by observing PlaylistController.arrangedObjects.length
2008-03-03 02:09:56 +00:00
vspader 671d7021ae Added Current Entry Object controller to fix issue with currently playing not being updated when loading. 2008-03-02 20:03:22 +00:00
matthewleon 92be178bf2 Playlist entries are now processed on main thread. 2008-03-02 10:51:37 +00:00
matthewleon d84a12d596 Hack to fix display of newly added songs (no idea why this is should be necessary, maybe something wrong with KVO). 2008-03-01 19:56:10 +00:00
matthewleon 8dee65b8b6 Small threading memory leak fix. 2008-03-01 18:38:47 +00:00
matthewleon 4168bb43eb Redid threading for reading file info and metadata. Still a bit buggy. 2008-03-01 18:29:14 +00:00
matthewleon 666d803897 Code cleanup. 2008-03-01 15:04:46 +00:00
vspader d7826ee144 Clear stopAfter status when changing the song. Fixed bug where status wasn't dependant on stopAfter. 2008-03-01 03:35:27 +00:00
vspader 3cdca94207 Split status up into bunches of properties and made it a readonly property. 2008-03-01 03:29:21 +00:00
vspader 6c5ecf3701 Updated PlaylistView so status column header is blank. 2008-03-01 02:48:12 +00:00
matthewleon 23396a9747 More PlaylistEntry cleanup. 2008-02-29 21:56:01 +00:00
matthewleon 9e8173bc74 PlaylistEntry cleanup. 2008-02-29 21:54:09 +00:00
matthewleon 9ce92f2ac1 Playlistentry code cleanup. Also converted track to NSNumber to fix Spotlight hang from forum discussed here: http://www.cogx.org/forums/viewtopic.php?id=332 2008-02-29 20:30:37 +00:00
matthewleon 5346d85099 Fixed compiler warnings by converting PlaylistEntry length property to NSNumber. 2008-02-29 20:09:59 +00:00
areff d59e118e1d Set default seek to 5, added menu separator to context menu, fixed silly wma crasher 2008-02-28 13:11:37 +00:00
areff 89cd984b7d Moved stopAfterCurrent check to requestNextStream, so it won't interfere other than when the player is reaching the end of a track by natural means. Added menu item validation. 2008-02-25 17:02:06 +00:00
areff 771a6de380 Added Stop after Current, hooked it into Ctrl-Z for now, for lack of anything better (it needs to be easily accessible one way or the other), added image to signify status by adding a little red square to the play icon. 2008-02-25 15:39:04 +00:00
areff 386078fdc5 Reworked contextual menu, added more menu validation items 2008-02-24 18:46:32 +00:00
vspader 588fa5ddc6 Modified total time to also used arrangedObject observing. 2008-02-24 17:32:50 +00:00
vspader a10898f4c9 Index column is now set by observing arrangedObjects instead of the updateIndexesFromRow method. 2008-02-24 17:16:19 +00:00
vspader f451cd1712 Fixed playlist moving. 2008-02-24 15:47:04 +00:00
areff c6640cc3f5 Fix for playlist scrolling even if song is in view. This might break something I haven't thought of. 2008-02-24 14:28:46 +00:00
areff d2e95a50f8 Completely redesigned all menus, fixed crashers due to new PlaylistEntry structure, validated menu items, added menu entry for fading, synthesized playbackStatus, updated KnownIssues 2008-02-23 22:20:14 +00:00
areff 86f691b769 Fixed removing queued songs, hooked File Tree icon up to correct method toggleWindow. 2008-02-23 20:08:27 +00:00
vspader 7109dec4ad Some playlistentry cleanup. 2008-02-23 19:46:23 +00:00
vspader c31eae4541 Performance improvements for the status column. 2008-02-23 13:57:33 +00:00
areff e58c172eeb Fixed small oversight, queuePosition not being reset to -1 when removed from queue by being played. 2008-02-22 15:34:09 +00:00
areff e3216e0ef1 Added Remove from Queue right click menu item, still lacks validation. Updated KnownIssues. 2008-02-22 15:26:46 +00:00
vspader 85b830f76b Forgot to add these files last night. 2008-02-22 13:27:24 +00:00
vspader 3ab720427e Made stop update synchronous since there were issues when moving on to the next song. 2008-02-22 03:46:04 +00:00
vspader 304ddffbd1 Added error messages for entries whose properties cannot be read. Fixed length in such cases to not show up. 2008-02-22 03:44:06 +00:00
vspader d1adc3d53e Fixed queue status when clearing queue. 2008-02-22 02:21:08 +00:00
vspader fe331624f5 Added status column with playing and queued status support. 2008-02-22 02:19:46 +00:00
areff 184525a47a Implemented Repeat All through NSPredicate and filtering, method should be applicable when Shuffle is fixed too. 2008-02-21 19:14:20 +00:00
areff 52f8c6f31f Fixed adding files in File Tree. Now adds when you press enter, and supports multiple selections. 2008-02-21 09:05:06 +00:00
areff 8bff745c38 Implemented Add to Queue as choice in Right click menu, added Clear Queue to Playlist menu. 2008-02-21 07:30:28 +00:00
areff 91e5833a40 Partially fixed Total duration: field, is missing duration for currently playing song. 2008-02-20 15:31:00 +00:00
vspader 7462169ba3 Fixed some things. Made pathnode url KVC compliant. 2008-02-20 01:01:15 +00:00
vspader b15e4f626a Moved most enumerators to fast enumeration. 2008-02-20 00:54:45 +00:00
vspader 00ef56a0ed A little more cleanup. 2008-02-20 00:45:23 +00:00
vspader eeba50f6e1 Cleaned up PlaylistEntry. 2008-02-20 00:44:40 +00:00
vspader 38e23ef442 Some more cleaning up. 2008-02-20 00:12:25 +00:00
vspader 76594c1062 Cleaned up repeat one/all code. 2008-02-19 23:49:51 +00:00
areff 402b403794 Fixed small bug in Repeat All and pressing next at last playlist entry. Enabled Shuffle button. 2008-02-19 20:16:56 +00:00
areff f20b10fdd4 Most of the Repeat logic is in place (needs some brush up here and there). Still missing Repeat Album. Disabled some annoying debug output from MADDecoder. Updated KnownIssues. 2008-02-19 19:59:35 +00:00
vspader ae4c112076 Fixed up repeat menu and added back repeat album. 2008-02-19 04:02:05 +00:00
vspader 8434f6e3b3 Added RepeatTransformers with the beginnings of support for the repeat modes. MenuItems's reflect the repeat state (yet do not work to set the state yet), and the repeat button toggles w/images as expected.. 2008-02-19 03:39:43 +00:00
areff 08a4bbe08e Fixed my own sillyness in scroller code - needs fixing. 2008-02-18 19:37:32 +00:00
areff ad5ac13a9c Bound Scroll to currently playing to Command-L (iTunes). Changed the code slightly so that the currently playing song is also automatically selected when you scroll to it. Ten playlist entries will also be visible above it, to create some space. 2008-02-18 19:21:50 +00:00
matthewleon aa3b716e09 Fixed Spotlight import. 2008-02-18 16:55:31 +00:00
areff d23b6b4ee5 Considerable cleanup of Path column, added Filename column, both hidden by default, path now abbreviates home directory to ~ for cleaner look. 2008-02-18 16:06:54 +00:00
matthewleon 678f6e2dbb Eliminated SpotlightPlaylistView, which is redundant for the time being. 2008-02-18 10:28:24 +00:00
areff 6873a2730b Fixed broken window title display when no artist tag is found 2008-02-18 10:25:04 +00:00
matthewleon a02859a3fc Moved rowHeight binding of PlaylistView from IB into code. 2008-02-18 10:21:34 +00:00
matthewleon 7f52608e6c Font size implemented through bindings. 2008-02-18 00:11:38 +00:00
areff facdea9b7e Updated Total duration field at the bottom of main Cog window, now shows hours and minutes after minutes and seconds 2008-02-17 20:16:06 +00:00
areff 1b83061c49 Moved volume controls into AudioPlayer, logarithmic helper functions now have their own file, fixed broken seekbar resize 2008-02-17 18:44:11 +00:00
matthewleon 332a062d93 Album and artist search is now exposed no matter where you click. 2008-02-16 19:40:34 +00:00
matthewleon abf2da423d Implemented UI elements necessary for right-click search by artist/album. 2008-02-16 16:13:21 +00:00
areff 5228709d0f Fixed fadeout code so it sounds a bit better (timer fires faster, steady drop in volume rather than incremental) 2008-02-16 15:28:39 +00:00
vspader 53cff01123 Attempted fix of double-click drag allowing selection without playing. It causes a few issues. Mainly you need to have only one row selected for double-click play to work. We'll see how it works. 2008-02-16 14:09:19 +00:00
vspader a4eb42eab0 Fixed crash, and in doing so introduced a huge memory leak!
Added patch from Eric Hanneken that improves shuffle.
2008-02-16 02:46:19 +00:00
vspader 35d4df9ca2 Added fix that brings back table columns for those that lost them in previous versions. 2008-02-16 01:44:01 +00:00
areff b317d0ba01 Experimental font size increase and decrease added to Cmd-+ and Cmd--, fixed small bug in skipping to previous album, updated KnownIssues 2008-02-15 15:27:34 +00:00
matthewleon 387015db22 Eliminated annoying flicker in Spotlight interface. Made tiny tweaks to PlaybackController and PlaylistController header to eliminate compiler warnings. 2008-02-14 23:09:51 +00:00
matthewleon 3c712e2e45 Changed CogUrlsPbboardType to CogUrlsPboardType throughout project 2008-02-13 17:14:19 +00:00
vspader 010f7de448 Added [audioPlayer volume].
Tweaked the volume control a little.
2008-02-13 01:50:39 +00:00
areff 26d2b28484 updated KnownIssues 2008-02-12 22:28:11 +00:00
areff a39ce34ee9 Added fade to pause, key shift-cmd-p, changed volume controls around a bit, still needs fixing 2008-02-12 22:12:27 +00:00
vspader 803a3306a5 Forgot to add these files for undo support. 2008-02-10 22:55:16 +00:00
vspader 37820a586d Fixed up undo/redo support. Should be working great now. 2008-02-10 22:46:12 +00:00
vspader d654c37fe3 Fixed validation for undo/redo menu items. Added sort descriptors and predicates to undo chain. 2008-02-10 20:32:46 +00:00
vspader a24149dc10 Fixed undo for clear. 2008-02-10 19:46:45 +00:00
vspader e2b40fe1a3 Added move operation to DNDArrayController. Streamlined undo. 2008-02-10 19:35:58 +00:00
areff 64f0a25a52 Added seeking menu entries, validation of Control menu entries, updated KnownIssues 2008-02-10 18:34:23 +00:00
vspader 299285f0cd Changed undo/redo menuitems back to firstResponder. Modified PlaylistView to validate undo/redo items. 2008-02-10 17:13:30 +00:00
areff 9b05ce02d2 Added undo functionality in playlist, undo works for removals, moves and adds. 2008-02-10 16:16:45 +00:00
vspader be9387d30d Added patch from Andre Reffhaug for ctrl+left/right seeking. 2008-02-07 23:57:21 +00:00
vspader 9bf75801b4 Fixed bug in seperator double-click when using formatters. 2008-01-24 02:33:55 +00:00
vspader 56c8b9202f Fixed some table columns bugs. 2008-01-24 01:44:24 +00:00
vspader 5715522470 Moved to frame-based reading/seeking instead of byte/second based. Some formats have still not been updated and are broken.
Added icons for other formats.
2007-11-24 20:16:27 +00:00
vspader aa856de92b Added toolbar UI. 2007-11-01 01:53:52 +00:00
vspader 11fd5b5454 Added "smarter" removal of playlist entries. 2007-10-22 00:04:34 +00:00
vspader 8a5db0dd33 Removed alternate file extension code so Cog does not encourage broken cuesheets. 2007-10-20 19:14:12 +00:00
vspader e78a961fa3 Fixed playlist loading bugs. 2007-10-20 03:22:13 +00:00
vspader d82fdcbf62 Bug fixes from 0.07 branch. 2007-10-19 02:23:10 +00:00
vspader 7582bbef02 Updated file drawer so it expands containers. 2007-10-16 01:22:57 +00:00
vspader bc212f3e96 Fixed bugs dealing with multi-track files and playlist saving/loading.
Fixed problem where cue sheets would play static.
2007-10-15 22:19:14 +00:00
vspader 7494f04511 Added fix where containers were not checked for uniqueness. 2007-10-14 20:36:10 +00:00
vspader f1b9141f4b Added mime type support. 2007-10-14 18:12:15 +00:00
vspader 97a278a143 Cleaned up memory leaks. 2007-10-13 07:09:46 +00:00
vspader 6f6b01b15c Fixed bug where playlist saved as kss files.
Fixed bug where multi-track files were consolidated into a single entry on saving/loading a playlist.
2007-10-13 04:53:48 +00:00
vspader 88aecc7de2 Added AudioContainer plugin and made pls and m3u loaders that use it. 2007-10-09 01:20:46 +00:00
vspader daba91b462 Removed debugging messages. 2007-07-11 01:20:32 +00:00
vspader a04f78e7d8 Updated TODO.
Seeded shuffle.
Updated AudioScrobbler code from Play..
2007-07-05 23:24:25 +00:00
vspader 058feed386 Fix for playlist->clear. 2007-06-05 00:33:30 +00:00
vspader 1b1b353204 Fixed up playlist-as-file loading. 2007-05-28 14:58:08 +00:00
vspader 5b5ce493e3 PlaylistLoader now handles playlist files like directories, and simply expands them. Makes sure only unique URL's are added! 2007-05-27 16:14:29 +00:00
vspader 78a908274b Fixed bug where unseekable songs still allowed the user to move the slider and updated the time. 2007-05-27 15:11:30 +00:00
vspader c39af186b1 Added some document icons.
Fixed bug when double clicking after right clicking.
2007-05-27 14:04:42 +00:00
vspader c28e8d058d Fixed up menu items.
Added OpenURL panel.
2007-05-26 14:43:31 +00:00
vspader 20dd4930ee Fixed up menus. Still need to correct a few actions. 2007-05-26 14:09:03 +00:00
vspader cf39353358 Fix for windows backslashes in relative paths in playlists. 2007-05-24 03:49:43 +00:00
vspader ee265d835e Fixed bug where title is not displayed as filename for filetypes that do not have metadata readers. 2007-05-24 03:30:43 +00:00
vspader bebac03a97 Fix for bold font problems. 2007-05-23 12:00:44 +00:00
vspader d8f5a44ad4 Fixes for context menu oddities in playlist view. 2007-05-23 11:08:56 +00:00
vspader 79934e0607 Fix for some playback issues (low frequency files). 2007-05-16 01:06:23 +00:00
vspader 0b54a1a6a5 Fix for windows newlines. 2007-03-21 01:36:31 +00:00
vspader 2a0b588f4d Fixed crash bug. Hopefully once obj-c supports properties annoying bugs like this just wont happen. 2007-03-18 17:44:59 +00:00
vspader 44eeab95ee Added header menu for playlist view. 2007-03-14 03:16:37 +00:00
vspader 985ab27e1d Added formatters and NSFileHandle+CreateFile category for easy file creation when writing. 2007-03-14 02:29:16 +00:00
vspader 4ed575f475 Moved PlaylistEntry number variables over to NSNumber. Removed displayIndex and lengthString, using formatters instead. Fix bug with autosaving playlist. 2007-03-14 02:28:30 +00:00
vspader 71577bac3d Lots of cleanups. Mainly cleaned up PlaylistHeader automatic sizing to use values from bindings. 2007-03-12 23:29:42 +00:00
vspader cdd461412c Forward delete now removed playlist entries. 2007-03-12 22:15:35 +00:00
vspader 466b2f909c Fixed mousedown bug in the playlist view. It should only play if something is selected. 2007-03-10 14:23:35 +00:00
vspader 15f1aa2ebd Cleaned up code. Added PlaylistLoader class properly, with support for m3u and pls formats. Changed default playlist to m3u. Added bugs GALORE! 2007-03-09 01:16:06 +00:00
vspader 94201b5a4f added basic scanner for loading pls files. 2007-03-07 01:45:45 +00:00
vspader 043c150abd Added playlistloader class. 2007-03-07 01:26:50 +00:00
vspader 934840ace5 Added source plugin support. Things are incredibly broken. Besides Ogg Vorbis. That should still work. 2007-03-02 01:36:52 +00:00
vspader 0c6ba36701 Removed CoreAudioUtils.h, since its no longer needed, and no longer exists. 2007-02-28 16:20:35 +00:00
vspader 927b65a4a5 Merged with cog-audio-framework branch. Cog now uses plugins. 2007-02-24 20:36:27 +00:00
vspader 59b42286e5 Click index column to remove sort descriptor. Added sort by path connection. 2007-02-18 22:27:55 +00:00
vspader 4a2cddb8ab Cleaned up a little. 2007-02-18 21:48:37 +00:00
vspader 9c4bab29e5 Fixed definition/implementation discrepency for setCurrentEntry 2007-02-18 21:41:47 +00:00
vspader a18e93d63e Fixed scrolltovisible bug. 2007-02-18 21:40:13 +00:00
vspader 0a9bf9f3cd Better file drawer and type-ahead selection. 2007-02-18 18:59:23 +00:00
vspader 2884273ff7 Hide/Show table columns through menu selection. 2007-02-17 19:33:31 +00:00
vspader 838dd31a64 Added AMRemoveableTableColumns to aid with hiding/showing playlist columns. 2007-02-17 18:29:20 +00:00
vspader eb47e318f3 Drop from iTunes support, thanks to Aaron VonderHaar 2007-02-17 15:58:39 +00:00
vspader e3d076dbf7 Added preferences for the file drawer. Fixed bug with sorting added folders. 2006-09-17 18:11:29 +00:00
vspader 1912e146d5 Changed copyright notice so it is my actual name. Added a helper script to compile preferences and dependencies. Changed COMPILE instructions. 2006-09-04 18:46:18 +00:00
vspader 54f5918487 Added basic preferences framework. 2006-09-04 18:06:23 +00:00
vspader f028fa22f1 Added file drawer and hotkeys. 2006-09-02 16:09:20 +00:00
vspader 31eac8cb06 Added MAD-based Mp3 decoder. 2006-06-19 00:39:41 +00:00
sryegkahl a1be08c901 Minor fixes 2006-06-08 18:06:29 +00:00
vspader 3edf4db24e Fix for duplicate name 2006-06-05 00:06:27 +00:00
vspader 806cec2663 Fix Shorten compilation problems. 2006-06-04 19:44:06 +00:00
vspader b596f19c81 Fixed playlist sorting by path/shuffle 2006-05-29 23:03:58 +00:00