Skip to content

Commit

Permalink
Adding more rotation speed options and changing default from 200 to 150
Browse files Browse the repository at this point in the history
  • Loading branch information
kbuffington committed May 22, 2021
1 parent 0416939 commit c0cc642
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion js/georgia-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ function onOptionsMenu(x, y) {
cdartArray = [];
RepaintWindow();
}, !pref.spinCdart);
cdArtMenu.createRadioSubMenu('Spinning cdArt redraw speed', ['250ms (lower CPU)', '200ms (default)', '150ms', '125ms', '100ms', '75ms (higher CPU)'], pref.spinCdArtRedrawInterval, [250, 200, 150, 125, 100, 75], interval => {
cdArtMenu.createRadioSubMenu('Spinning cdArt redraw speed', ['250ms (lower CPU)', '200ms', '150ms (default)', '125ms', '100ms', '75ms', '50ms (higher CPU)'], pref.spinCdArtRedrawInterval, [250, 200, 150, 125, 100, 75, 50], interval => {
pref.spinCdArtRedrawInterval = interval;
setupRotationTimer();
}, !pref.spinCdart)
Expand Down
11 changes: 8 additions & 3 deletions js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pref.add_properties({
cdart_ontop: ['Art: Show CD art above front cover', false], // true: display cdArt above front cover
spinCdart: ['Art: Spin CD art', false], // true: cdArt will spin while the song plays
spinCdArtImageCount: ['Art: # of images to create while spinning', 60], // higher numbers will increase memory usage, and slow down spin
spinCdArtRedrawInterval: ['Art: Spin CD draw interval', 200], // speed in ms with which to attempt redraw. Lower numbers will increase CPU
spinCdArtRedrawInterval: ['Art: Spin CD draw interval', 150], // speed in ms with which to attempt redraw. Lower numbers will increase CPU
filterCdJpgsFromAlbumArt: ['Art: Filter out cd/vinyl .jpgs from showing as artwork', false],
labelArtOnBg: ['Art: Draw label art on background', false], // true: don't show the theme color background behind label art
show_flags: ['Show country flags', true], // true: show the artist country flags
Expand Down Expand Up @@ -241,6 +241,12 @@ function migrateCheck(version, storedVersion) {
replaceGridEntry(grid, 'Release Country', 7);
config.addConfigurationObject(gridSchema, grid);

case '2.0.2':
case '2.0.3-dev':
window.setProperty('ADV.Limit Menu Expand: 10-6000', undefined);
window.setProperty('SYSTEM: Filter By', undefined);
window.setProperty('SYSTEM: View By', undefined);

// this block should appear after all previous versions have fallen through
console.log('> Upgrading Georgia Theme settings from', storedVersion);
const fileName = `georgia\\georgia-config-${storedVersion}.jsonc`;
Expand All @@ -249,8 +255,7 @@ function migrateCheck(version, storedVersion) {
config.writeConfiguration();
window.Reload();

case '2.0.2':
case '2.0.3-dev':
case '2.0.3':

default:
break;
Expand Down

0 comments on commit c0cc642

Please sign in to comment.