Commit Graph

384 Commits (af0a2436fc2465edb844f4ba5376a8c05c4e19ad)

Author SHA1 Message Date
Christopher Snowhill bf501d9e12 Add error receiver for debugging. 2017-09-17 20:03:30 -07:00
Christopher Snowhill ac44ca33b0 Hopefully fixed total play time synchronizing with adding new tracks to the playlist. 2016-09-01 17:20:53 -07:00
Chris Moeller 86a6b2c22d Fix playlist metadata loading. 2016-07-02 02:58:38 -07:00
Chris Moeller 0d12f9e4e3 Fix file info load batching to operations of 16 files at a time. 2016-06-29 22:13:32 -07:00
Chris Moeller 17272ce43c Clean up lots of warnings and minor issues. 2016-06-29 22:10:29 -07:00
Chris Moeller 7876a4492f Handle background track metadata loading in a saner manner. 2016-06-28 19:33:48 -07:00
Chris Moeller ffa31e696d Remove unused function declaration. 2016-06-28 19:33:21 -07:00
Chris Moeller 03b825ced3 Hopefully fix the last of the Automatic Reference Counting issues that remained. 2016-06-19 12:57:18 -07:00
Chris Moeller ba9fe0534f Convert playlist metadata loader to use code blocks, which fixes references and stops crashes on adding new tracks. 2016-05-07 10:20:46 -07:00
Chris Moeller 0e3644177e Updated everything else to ARC, and plugged a release cycle. 2016-05-05 13:05:39 -07:00
Chris Moeller 25236a254a On second thought, let's not allow other repeat modes to wrap around the playlist boundary, either 2015-02-07 23:38:16 -08:00
Chris Moeller 321a5ea23f Fix repeat none and repeat all being swapped 2015-02-07 23:36:23 -08:00
o1 b3072709e4 Fixed possible track idx overflow causing crash 2015-01-07 15:10:33 +03:00
Chris Moeller 12dc73430b Last minute bug fixes 2014-12-03 22:34:13 -08:00
Chris Moeller da26e6757b Implemented a distributed notification for track information and playback status 2014-12-03 22:13:27 -08:00
Chris Moeller 0ccc0f4dae Fixed XML playlist saving on Yosemite 2014-09-16 18:27:14 -07:00
Chris Moeller 9cd138384d Setting Repeat One will now direct all synthesizing decoders to run forever, rather than merely restarting repeatedly. Playptmod now cuts off length detection after half an hour, in case some files' loops are not detected. 2014-02-13 21:16:18 -08:00
Chris Moeller 1b4ef20d19 Added 'days' to playlist total time, but only if the total hours is 24 or greater 2013-10-20 21:16:07 -07:00
Chris Moeller b461e774fd Fixed undo/redo handling when the playlist is sorted, including undo/redo interleaved with different sorting orders 2013-10-18 01:47:48 -07:00
Chris Moeller 3b8b948a1e Playlists are now saved as they have been rearranged in the UI 2013-10-18 00:43:55 -07:00
Chris Moeller aa2676f605 Made duplicate and dead item removal correctly remove the items by their arranged indexes 2013-10-18 00:25:37 -07:00
Chris Moeller 2f5769d668 Made arranged item remover actually remove the correct arranged items and use the correct indexes 2013-10-18 00:17:03 -07:00
Chris Moeller 7a9e4a720c Added Remove Dead Items command 2013-10-18 00:14:53 -07:00
Chris Moeller 2d5f340011 Added Remove Duplicate Items command 2013-10-18 00:13:27 -07:00
Chris Moeller 2c8f085a3d Clear the selection when adding items to the playlist, so that the info dialog will hopefully have some valid data next time a track is selected 2013-10-15 10:38:37 -07:00
Chris Moeller 088594dc8c Implemented clipboard support for the playlist view 2013-10-12 22:08:34 -07:00
Chris Moeller 759aeab4fb Implemented pause on startup 2013-10-12 19:16:47 -07:00
Chris Moeller e6a2773e8a XML playlists will no longer store metadataLoaded for files where an error occurred 2013-10-12 17:20:57 -07:00
Chris Moeller 697ed357a9 mamburu: Being unable to remove an entry from playlist is fixed 2013-10-11 12:39:05 -07:00
Chris Moeller 521eb67183 mamburu: Randomizing playlist is now undoable, adding playlist entry no longer causes un-randomization 2013-10-11 12:33:58 -07:00
Chris Moeller d1f6ec850e tuurngait: Major UI Improvements 2013-10-11 07:16:47 -07:00
Chris Moeller e5a648578b mamburu: Logging improved, no more excessive logging in release builds 2013-10-11 05:03:55 -07:00
Chris Moeller 8d19b2538a XML playlist now stores and loads the playback queue 2013-10-10 01:43:04 -07:00
Chris Moeller 7d6cfe50df Prevent XML playlists from being saved by the GUI 2013-10-10 00:39:35 -07:00
Chris Moeller 754a22166a XML playlists now store album art in an MD5 hash indexed dictionary, but continue to read the older format for backwards compatibility 2013-10-09 16:14:23 -07:00
Chris Moeller 555ccc9e87 Now storing all album art internally as its original format and synthesizing NSImage objects on demand 2013-10-09 13:53:13 -07:00
Chris Moeller d1e51ee9a1 We shouldn't be releasing objects that belong to something else 2013-10-09 11:51:41 -07:00
Chris Moeller 1743016e71 Fixed serialization of FilePlaylistEntry; Added serialization and unserialization of album art 2013-10-09 10:34:32 -07:00
Chris Moeller b5fd1207b8 Now saves and loads the default playlist in an XML plist format, so loaded metadata is cached 2013-10-09 08:45:16 -07:00
Chris Moeller 2837b12d32 Fix unsigned reporting, and can't match unsigned type declaration exactly 2013-10-07 11:26:23 -07:00
Chris Moeller 74b6188772 Implemented floating point sample format support into CogAudio and all relevant plug-ins 2013-10-05 14:15:09 -07:00
Chris Moeller b16ccd59f7 Fixed bitrate handler 2013-10-05 02:47:25 -07:00
Chris Moeller 7c5eaed629 Added now playing spam hotkey, currently format hard coded 2013-10-04 04:16:09 -07:00
Chris Moeller ec0e45381e Cleaned up most of the warnings, eliminated use of deprecated APIs, and fixed the hotkeys crashing. 2013-10-03 01:00:58 -07:00
Chris Moeller 4c0cf34250 More ReplayGain support, now with metadata handling, but only if the metadata is already loaded 2013-10-02 02:30:04 -07:00
Chris Moeller 6ea103b1c3 Implemented ReplayGain support, so far only in the HighlyComplete component. 2013-10-01 23:00:16 -07:00
Chris Moeller b9d451c96f Corrected base classes to silence warnings 2013-09-29 18:59:04 -07:00
Chris Moeller 25bf55459e Silenced some warnings 2013-09-29 17:27:55 -07:00
mscott 11352ab6de Enhancements to File Tree (contextual menu, sort order, etc.).
Added File Tree contextual menu (Add to Playlist, Show in Finder, etc.).
File Tree and additions to play list now use Finder sort order.
File Tree Root can be set via its popup menu or drag and drop from File Tree.
Alias names are now shown in File Tree (aliases are still resolved).
Added option to skip reading of cue sheets when adding a folder to play list.
2009-08-16 11:49:34 -05:00
vspader 7e3f257090 Fix shuffle. 2009-03-24 20:12:52 -07:00
vspader 7819210b96 Added interface for shuffle albums mode. 2009-03-09 21:04:46 -07:00
vspader 7491fd3bf0 Support for album art metadata. 2009-03-08 13:04:09 -07:00
vspader 4c7ee96f76 Added Info Inspector.
Moved Formatters into their own folder.
2009-03-07 14:31:57 -08:00
vspader d2235536c5 Fixed nil sent to NSAttributedString. 2009-03-07 11:52:42 -08:00
vspader 7cbebef352 Fixed up metadata loading so metadata isn't always read when you play. 2009-03-05 20:46:42 -08:00
vspader d6a0b0670e Playback events for last.fm and growl are now done in the background via an operation queue. Removed hack to load metadata for autoplay. Now metadata is reloaded for each file you play. 2009-03-05 20:37:44 -08:00
vspader bbd2c6c7f6 Always accept non-file URLs into the playlist. 2009-03-04 22:56:52 -08:00
vspader 6525d593f2 Fixed indentation. 2009-02-28 22:03:27 -08:00
vspader af6c5f343a Cleaned up logic a little. 2009-02-28 14:40:30 -08:00
vspader 03937f480b Cleaned up modified add behavior. 2009-02-28 14:22:33 -08:00
vspader 606cdef1d0 Fixed last commit. 2009-02-28 12:53:24 -08:00
vspader 3cd7402d3d Re-request the next stream when the shuffle/repeat mode changes. 2009-02-28 12:26:43 -08:00
vspader fda5d50712 If you change the playlist near the end of a song, it should now play the correct song. 2009-02-28 10:57:21 -08:00
vspader 489063ad33 Register defaults for shuffle/repeat. 2009-02-28 10:18:56 -08:00
vspader df2fa22a93 Shuffle/Repeat are now remembered. 2009-02-28 10:06:21 -08:00
vspader 3b9d20fdc5 Fixed sorting for non-0 padded files. 2009-02-28 09:41:37 -08:00
vspader c902c96a19 Fixed shuffle images. 2009-02-27 22:40:50 -08:00
vspader c6dbeb64ca Rearrange order of evaluation so URL is not dereferenced for file URLs unless there is no metadata. 2009-01-18 08:00:39 +00:00
lmsilva dda74d0608 fixed seek slider from becoming active & disabling it when STOP occurs 2008-11-21 15:14:23 +00:00
vurlix 38e6e9af62 fix some bugs reported by the clang static analyzer 2008-08-26 17:45:16 +00:00
vspader f53bfc861d Side pane say what? 2008-06-21 04:05:30 +00:00
vspader 32a5c7257f Slightly improved file-tracking playlist entry. Now will default to the last URL it looked up/received of the file if the path is no longer found, which helps in the case where a network share was disconnected. 2008-05-21 11:27:01 +00:00
vasfed 584710ffb1 Changed playlist behavior preferences to be pop-up buttons with choices 2008-05-18 09:38:53 +00:00
vasfed f9f0891f6c Fixed a bug in APL plugin with image files containing # in name 2008-05-18 08:04:46 +00:00
vasfed e063790e93 Updated APL plugin to use new protocol
Added support for behavior modifiers on addition/opening of files
Added Command+Control as modifier for open/enqueue
2008-05-09 21:24:49 +00:00
vspader 23124f7792 Fixed bug when play on add is enabled and the playlist is empty. 2008-05-04 22:29:02 +00:00
vspader 10669a2db3 Added preference for begin playback on add and clear on add. 2008-05-03 16:01:27 +00:00
vspader 345e57698f Cog now begins playback and clears the playlist when adding songs. 2008-05-03 15:15:45 +00:00
vspader 7314c6cba1 Fixed bug with loading non-multitrack files. 2008-03-24 12:31:55 +00:00
vspader 0a1630db7e Fix for multi-track files and the file move watching. 2008-03-15 04:45:37 +00:00
vspader fe3fd5cb21 Added file tracking to file playlist entries using filerefs. 2008-03-13 01:43:33 +00:00
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