Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
axellse committed Sep 16, 2024
1 parent 54bb60f commit a4f62d4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion helpers/core/commandProcessor.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { addSong, clearList, listContinue, removeLastSong, replaceList, toggleLo
import { getCrossPlatformString } from '../misc/crossPlatformHelper.js';
import { loadThemeObject } from '../../ui/themes.js';
import clipboard from 'clipboardy';
import { spawn, execSync } from 'child_process'
import { spawn } from 'child_process'
import path from 'path';
import { fileURLToPath } from 'url';
import { getSearchFunction, isSearchEngine } from '../search/defualtSearchEngine.js';
Expand Down
1 change: 0 additions & 1 deletion helpers/search/ytScrape.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { fileURLToPath } from 'url';
import path from 'path';
import { config } from '../../snippets/config.js';
import fs from 'fs';
import { ask } from '../player/playStatus.js';

Expand Down
2 changes: 1 addition & 1 deletion ui/uiManagers/about.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Red, Reset, RGBToEscapeCode } from '../../helpers/misc/colorCodes.js'
import { Reset, RGBToEscapeCode } from '../../helpers/misc/colorCodes.js'
import { moveCursorPos } from '../utils/moveCursorPos.js';
import fs from 'fs';
import path from 'path';
Expand Down
6 changes: 1 addition & 5 deletions ui/uiManagers/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { centerText } from '../utils/centerText.js';
import { moveCursorPos } from '../utils/moveCursorPos.js';
import { clearBar } from '../utils/clearBar.js';
import { answer, currentSongPlayingReport, currentSongReport, outputWritten, setoutputWritten, setPlayStatus, statusText } from '../../helpers/player/playStatus.js';
import { PastelRed, Red, Reset } from '../../helpers/misc/colorCodes.js';
import { PastelRed, Reset } from '../../helpers/misc/colorCodes.js';
import { getThemeEscapeCode } from '../themes.js';
import { config } from '../../snippets/config.js';
import { changePlayState, currentlyPLayingAudio } from '../../helpers/core/playAudio.js';
Expand Down Expand Up @@ -154,10 +154,6 @@ export async function startMoving(length) {
listContinue()
})();
}
const mediaComponents = {
"progressBar" : "{0} ────────────────────────────── {1}", //30 lines
"mediaComponent" : "◀◀ ▶ ▶▶"
}
export async function displayPlayUi(title) {
setSongTitle(title)
setSongDuration('0:00', '0:00')
Expand Down

0 comments on commit a4f62d4

Please sign in to comment.