Commit Graph

89 Commits (f8d2837c4e0207dc478cbccc1caf14478563c243)

Author SHA1 Message Date
Christopher Snowhill a8a982d3a4 SQLite Store: Fix storing strings with multi byte Unicode sequences 2021-12-24 15:48:30 -08:00
Christopher Snowhill 2445cc94a9 - Retrieve profile paths properly instead of hard coding
- Display playlist total duration in units up to weeks and down to just seconds, and only pluralize units as necessary
- Major change: Implemented a SQLite disk backed playlist, track data, and queue storage system, which will be synchronized from the player in real time, and will hopefully survive system or app crashes. Existing plist playlist will be imported on first run, and removed on shutdown.
2021-12-24 01:01:21 -08:00
Christopher Snowhill 5772662984 Cuesheet: Read and merge metadata from referenced audio files, no matter their format 2021-11-21 00:16:16 -08:00
Dzmitry Neviadomski b69cb98240 Revert display regressions.
1. Revert "Merge pull request #148 from JanX2/two-gigaseconds-mini"

This reverts commit 7365174b11, reversing
changes made to c5ac86725d.

2. Revert "Two gigaseconds (#147)"

This reverts commit c5ac86725d.
2021-05-09 01:16:20 +03:00
Jan c5ac86725d
Two gigaseconds (#147)
* Fix look of position time field to match the rest of the UI.

* Fix typo.

* Improve position time display.

* Add days, hours support to position time display.

* Fix "Current Time" toolbar item geometry/layout.

* Don’t enforce leading double-digits in position time display.

* MainMenu.xib touched by Xcode.

* Implement and use MonospacedDigitTextFieldCell.
This way the digits of numbers in playlist columns consisting of mostly digits will be aligned vertically.

* Disable font scaling code without effect.

* Set "Current Time" toolbar item to use MonospacedDigitTextFieldCell.

* Improve SecondsFormatter.

* Merge in SecondsFormatter improvements from Play.

* Move formatter setup into XIB.

* Add CogTests.
These can later be used for integration tests.

* Add SecondsFormatterTests.
Tests are stubbed out.

* Pouring foundation for SecondsFormatterTests.

* Implement -testPositive.

* Replace unsigned with int in SecondsFormatter.

* Implement negative support, tests.

* Rewrite SecondsFormatter in preparation for better readability..

* Rewrite SecondsFormatter for better readability.

* Add negative zero support.

* Improve SecondsFormatter readability.

* Refactor into -stringForTimeInterval: in SecondsFormatter.

* Cleanup.

* Mark TimeField as space-indented.

* Replace custom time formatting code in TimeField with SecondsFormatter.

* Cleanup.

* Improve SecondsFormatter format strings.

* Add internal type for time calculations.

Co-authored-by: Jan Weiß <jan@geheimwerk.de>
2021-05-06 19:50:26 -07:00
Jan Weiß 57ebc65ba0 Add missing newlines. 2020-02-01 14:00:41 +01:00
Christopher Snowhill 67495009ff Updates for new build system. 2018-06-28 04:03:37 -07:00
Chris Moeller 17272ce43c Clean up lots of warnings and minor issues. 2016-06-29 22:10:29 -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 e5a648578b mamburu: Logging improved, no more excessive logging in release builds 2013-10-11 05:03:55 -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
vspader 288c5cbee5 Misc leaks fixes. 2009-09-01 21:14:07 -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 16625112af Fix bug when loading saved orientation. 2009-03-11 20:26:02 -07:00
vspader 0d1398e0fb Added ToolTipTextField class, whos tooltip is the same as the text displayed, but untruncated. 2009-03-09 21:59:27 -07:00
vspader 4a8e59c91e Fixed initial sideview defaults. 2009-03-07 14:35:39 -08:00
vspader b79346e3b1 Fixed up file tree. 2009-03-07 13:31:44 -08:00
vspader 9ad32e82ad Moved commonly used file to a new location. 2009-02-28 09:45:08 -08:00
vspader 9a30701f80 Removed unused files. 2009-02-22 14:59:03 -08:00
vspader a2f360177e Organized things a little better. 2009-02-22 14:57:02 -08:00
vspader a1f6139ea4 Fixed up position slider and time display. 2009-02-22 14:28:09 -08:00
vspader 511b18cdd6 Mouse wheel now works when the volume slider is being displayed. 2009-02-09 16:09:29 +00:00
vspader f9c9bfad18 Mouse wheel over the volume button now works. 2009-02-09 06:04:27 +00:00
vspader c9e542f570 Added better tooltip feedback. 2009-02-09 05:53:38 +00:00
vspader 345e57698f Cog now begins playback and clears the playlist when adding songs. 2008-05-03 15:15:45 +00:00
vspader bedc3a2ade Updated tracking slider so it works again. The time is updated while dragging, and seeking is only done when the mouse button is released. 2008-05-01 23:35:39 +00:00
matthewleon ea427c9033 Moved FontSizetoLineHeightTransformer registration code to AppControler's +initialize. 2008-02-18 09:27:27 +00:00
vspader 6dfef23ec7 Moved file tree preference to the file tree panel itself.
Removed file tree preference pane.
2008-02-18 01:46:34 +00:00
matthewleon 7f52608e6c Font size implemented through bindings. 2008-02-18 00:11:38 +00:00
vspader c2a2f531a8 Moved StringToURLTransformer initialize code. 2008-02-17 21:18:01 +00:00
vspader 7bb24f5179 Moved StringToURLTransformer to its own file. 2008-02-17 20:46:55 +00:00
vspader 232fff4598 Add utils for new shuffle. 2008-02-16 02:46:37 +00:00
vspader daba91b462 Removed debugging messages. 2007-07-11 01:20:32 +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 927b65a4a5 Merged with cog-audio-framework branch. Cog now uses plugins. 2007-02-24 20:36:27 +00:00
vspader 798602bfd4 Added AppleRemote utils. 2007-02-18 23:02:02 +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 beba24a513 Core audio fun 2006-05-07 13:19:23 +00:00
vspader 733d0d78d0 New Core 2006-01-20 15:34:02 +00:00