tranfa Posted August 2, 2015 Share Posted August 2, 2015 cd /d C:\SendToHQP set PLAYHQP=no if no == yes findstr /V "WAV AIFF FLAC DSD" A:\fileformat.txt 1>nul || set PLAYHQP=yes echo %PLAYHQP% Please run yet these commands and send me output. What for Windows version do you use? It's a Seven x64. I'll launch the script you mention and write the output. Link to comment
tranfa Posted August 2, 2015 Share Posted August 2, 2015 It's a Seven x64. I'll launch the script you mention and write the output. C:\Users\Pietro\Desktop>cd /d C:\SendToHQP C:\SendToHQP>set PLAYHQP=no C:\SendToHQP>if no == yes findstr /V "WAV AIFF FLAC DSD" A:\fileformat.txt l 1>nul || set PLAYHQP=yes C:\SendToHQP>echo no no C:\SendToHQP>pause Press any key to continue . . . Link to comment
bogi Posted August 2, 2015 Author Share Posted August 2, 2015 That's all OK. Both small scripts show that the variable PLAYHQP has value 'no', as I expect. But the complete output you sent me yesterday shows the same commands resulting to PLAYHQP value 'yes': from your output: C:\SendToHQP>set PLAYHQP=yes C:\SendToHQP>C:\Windows\system32\find /V "DSD" A:\fileformat.txt 1>nul && set PLAYHQP=no C:\SendToHQP>if no == yes findstr /V "WAV AIFF FLAC DSD" A:\fileformat.txt 1>n ul || set PLAYHQP=yes C:\SendToHQP>C:\Windows\system32\find "ISO" A:\fileformat.txt 1>nul && set PL AYHQP=no C:\SendToHQP>C:\Windows\system32\find /V " 0" A:\fileformat.txt 1>nul && set PLAYHQP=no C:\SendToHQP>if [b][color=#ff0000]yes[/color][/b] == yes ( "C:\Program Files (x86)\foobar2000\foobar2000.exe" /runcmd-playlist="Utilities/T ext Tools/Copy: File path" The corresponding script code: set PLAYHQP=yes %WINFIND% /V "DSD" %FILEFORMAT% >nul && set PLAYHQP=no if %COPYONLY%==yes findstr /V "WAV AIFF FLAC DSD" %FILEFORMAT% >nul || set PLAYHQP=yes %WINFIND% "ISO" %FILEFORMAT% >nul && set PLAYHQP=no %WINFIND% /V " 0" %FILEFORMAT% >nul && set PLAYHQP=no if [b][color=#ff0000]%PLAYHQP%[/color][/b]==yes ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: File path" The incorrent value 'yes' is causing that no conversion is done and MP3 file is copied to RAM disk. Why the complete script behaves differently on your PC I don't know. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
tranfa Posted August 2, 2015 Share Posted August 2, 2015 Could the x64 version of Seven have something to do with this? Link to comment
bogi Posted August 2, 2015 Author Share Posted August 2, 2015 I don't think. But I'm running Win8.1. You can substitute the following lines of SendToHQP.bat set PLAYHQP=yes %WINFIND% /V "DSD" %FILEFORMAT% >nul && set PLAYHQP=no if %COPYONLY%==yes findstr /V "WAV AIFF FLAC DSD" %FILEFORMAT% >nul || set PLAYHQP=yes %WINFIND% "ISO" %FILEFORMAT% >nul && set PLAYHQP=no %WINFIND% /V " 0" %FILEFORMAT% >nul && set PLAYHQP=no if %PLAYHQP%==yes ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: File path" with this code containing some additional debug messages: set PLAYHQP=yes echo Point1: PLAYHQP is %PLAYHQP% %WINFIND% /V "DSD" %FILEFORMAT% >nul && set PLAYHQP=no echo Point2: PLAYHQP is %PLAYHQP% if %COPYONLY%==yes findstr /V "WAV AIFF FLAC DSD" %FILEFORMAT% >nul || set PLAYHQP=yes echo Point3: PLAYHQP is %PLAYHQP% %WINFIND% "ISO" %FILEFORMAT% >nul && set PLAYHQP=no %WINFIND% /V " 0" %FILEFORMAT% >nul && set PLAYHQP=no if %PLAYHQP%==yes ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: File path" Retain the pause command at the end and send me the complete script output like yesterday. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
tranfa Posted August 2, 2015 Share Posted August 2, 2015 I don't think. But I'm running Win8.1. You can substitute the following lines of SendToHQP.bat set PLAYHQP=yes %WINFIND% /V "DSD" %FILEFORMAT% >nul && set PLAYHQP=no if %COPYONLY%==yes findstr /V "WAV AIFF FLAC DSD" %FILEFORMAT% >nul || set PLAYHQP=yes %WINFIND% "ISO" %FILEFORMAT% >nul && set PLAYHQP=no %WINFIND% /V " 0" %FILEFORMAT% >nul && set PLAYHQP=no if %PLAYHQP%==yes ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: File path" with this code containing some additional debug messages: set PLAYHQP=yes echo Point1: PLAYHQP is %PLAYHQP% %WINFIND% /V "DSD" %FILEFORMAT% >nul && set PLAYHQP=no echo Point2: PLAYHQP is %PLAYHQP% if %COPYONLY%==yes findstr /V "WAV AIFF FLAC DSD" %FILEFORMAT% >nul || set PLAYHQP=yes echo Point3: PLAYHQP is %PLAYHQP% %WINFIND% "ISO" %FILEFORMAT% >nul && set PLAYHQP=no %WINFIND% /V " 0" %FILEFORMAT% >nul && set PLAYHQP=no if %PLAYHQP%==yes ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: File path" Retain the pause command at the end and send me the complete script output like yesterday. voila'tr.txt Link to comment
bogi Posted August 2, 2015 Author Share Posted August 2, 2015 Sorry I don't know why it runs that way on your PC. I tried the problematic lines of code on my Win7 x64 virtual machine and they run as I expected. Your result can be caused by failed run of C:\Windows\system32\find /V "DSD" A:\fileformat.txt That call could fail for example: - if A:\fileformat.txt does not exist or if rights to read it are insufficient for SendToHQPlayer.bat - if C:\Windows\system32\find.exe cannot be found or if it cannot be executed from SendToHQPlayer.bat Maybe some access right issue related to your shortcut, I don't know. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
tranfa Posted August 3, 2015 Share Posted August 3, 2015 Thanks anyway for your help, bogi. Link to comment
Forehaven Posted August 27, 2015 Share Posted August 27, 2015 deleted Ryzen 7 2700 PC Server, NUC7CJYH w. 4G Apacer RAM as Renderer/LPS 1.2 - IsoRegen/LPS-1/.2 - Singxer SU-1/LPS1.2 - Holo Spring Level 3 DAC - LTA MicroZOTL MZ2 - Modwright KWA 150 Signature Amp - Tidal Audio Piano's. . Link to comment
OpusOne Posted February 25, 2016 Share Posted February 25, 2016 Bogi, I have been successful implementing your sendtohqp solution, thanks for all the work in developing the process. However, I have never been able to get the shortcut to work. If i bring up a terminal and invoke sendtohqp with command line, everything works like a charm. But the shortcut ends up doing nothing. Not sure how to even debug this issue. Any ideas what has gone wrong? - Late 2013 Macbook Pro 15" with retina display running OSX Mavericks, SSD, 16GB, Audirvana+, Alex Paychev tubed DAC (based on AKM 32bit DACs), iFi iDSD Micro, M2Tech HiFace EVO, Wireworld Starlight USB, Supratek Syrak Pre-amp, Primaluna Dialogue 7 monoblocks for winter and McIntosh 501's in the summer), NBS Monitor IC, Harmonic Technology Magic IC, Omega Mikro Planar speaker cable, Sonus Faber Amati Homage speakers, Sennheiser HD600, PS Audio Power Plant Premier, Shunyata Python CX power cords, CDs ripped with DbPoweramp into AIFFs, SACDs ripped with PS3 Link to comment
bogi Posted February 25, 2016 Author Share Posted February 25, 2016 OpusOne, please add here exactly your command line which works well for you. Attach here also a picture of your shortcut definition, similarly as I did in the manual. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 SendToHQPlayer.bat script (v.1.0.2) sending to hqplayer DSF files, but not sent WAV and FLAC files . Is there a way to a solution , I waiting for your help. Thanks. Link to comment
bogi Posted February 29, 2016 Author Share Posted February 29, 2016 SendToHQPlayer.bat script (v.1.0.2) sending to hqplayer DSF files, but not sent WAV and FLAC files . Is there a way to a solution , I waiting for your help. Thanks. It seems you don't have correctly set up either Foobar2000 Converter (Chapter 3), or shortcut referring your Converter preset (Chapter 7), or something other. DSF files are not converted, but simply copied to RAM disk. You asked me for support also via PM and I asked you to provide more information, for example about your shortcut definition. I can help you only on base of information you provided me, nothing more. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 It seems you don't have correctly set up either Foobar2000 Converter (Chapter 3), or shortcut referring your Converter preset (Chapter 7), or something other. DSF files are not converted, but simply copied to RAM disk. You asked me for support also via PM and I asked you to provide more information, for example about your shortcut definition. I can help you only on base of information you provided me, nothing more. I see the converted all files in the folder ramdisk , but does not load hqplayer , except for DSF Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 error message tell The following error(s) occurred during loading of the location(s): Object not found Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 shortcut definition set FOOBAR=%ProgramFiles(x86)%\foobar2000\foobar2000.exe set HQPDIR=%ProgramFiles(x86)%\Signalyst\HQPlayer Desktop 3 set HQPEXE=HQPlayer-desktop.exe set RDDRIVE=R: rem --------------------------------------- rem SendToHQPlayer v1.0.2 (c) 2015 Peter Bognár set DESTAUDIOPATH=%RDDRIVE%\RAMDISK set ORIGPLAYLIST=%RDDRIVE%\playorig.m3u8 set DESTPLAYLIST=%RDDRIVE%\playdest.m3u8 set FILEFORMAT=%RDDRIVE%\fileformat.txt set WINFIND=%WINDIR%\system32\find set ADD=no set CONVPRESET=[default] set ORIGLENGTHS=%RDDRIVE%\length-orig.txt set DESTLENGTHS=%RDDRIVE%\length-dest.txt set INCOMPLETEFILES=%RDDRIVE%\incomplete.txt set SORTTOOL=%WINDIR%\system32\sort.exe set DUMMYFILE=%RDDRIVE%\space_reserve.txt set validPCMEXT=WAV AIFF FLAC set EXT=wav set COPYONLY=no setlocal enabledelayedexpansion if not exist %DUMMYFILE% fsutil file createnew %DUMMYFILE% 1000000 if not exist %DUMMYFILE% ( echo Insufficient space on %RDDRIVE% goto :eof ) :parse if "%~1"=="" goto endparse set ARG=%~1 if not "%ARG:~0,1%"=="-" set CONVPRESET=%~1 if "%~1"=="-a" set ADD=yes if "%~1"=="-hqp" set COPYONLY=yes if "%~1"=="-ff" ( for %%A in (%validPCMEXT%) do if /i "%~2"=="%%A" set EXT=%~2 shift ) shift goto parse :endparse rem --------------------------------------- rem @echo off set TOOLDIR=%~dp0 if exist "%ORIGPLAYLIST%" del "%ORIGPLAYLIST%" if exist "%DESTPLAYLIST%" del "%DESTPLAYLIST%" if not exist %DESTAUDIOPATH% mkdir %DESTAUDIOPATH% CHCP 65001 "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: Codec Ext CUEIndex" "%TOOLDIR%\paste.exe" > %FILEFORMAT% set PLAYHQP=yes %WINFIND% /V "DSD" %FILEFORMAT% >nul && set PLAYHQP=no if %COPYONLY%==yes findstr /V "WAV AIFF FLAC DSD" %FILEFORMAT% >nul || set PLAYHQP=yes %WINFIND% "ISO" %FILEFORMAT% >nul && set PLAYHQP=no %WINFIND% /V " 0" %FILEFORMAT% >nul && set PLAYHQP=no if %PLAYHQP%==yes ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: File path" "%TOOLDIR%\paste.exe" > %ORIGPLAYLIST% if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do %WINFIND% "%%~nf" %ORIGPLAYLIST% || del "%DESTAUDIOPATH%\%%~nf.*" if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do if /I not "%%~xf" == ".%EXT%" del "%%f" for /f "tokens=*" %%p in ( %ORIGPLAYLIST% ) do if not exist "%DESTAUDIOPATH%\%%~nxp" copy "%%p" "%DESTAUDIOPATH%" del %DUMMYFILE% for /f "tokens=*" %%p in ( %ORIGPLAYLIST% ) do if exist "%DESTAUDIOPATH%\%%~nxp" echo %DESTAUDIOPATH%\%%~nxp>> "%DESTPLAYLIST%" ) >nul else ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: Track-FileName Length" "%TOOLDIR%\paste.exe" | %SORTTOOL% > %ORIGLENGTHS% for /f "usebackq delims=/ tokens=1" %%x in ( `"%TOOLDIR%\paste.exe"` ) do echo %%x>> %ORIGPLAYLIST% if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do %WINFIND% "%%~nf" %ORIGPLAYLIST% >nul || del "%DESTAUDIOPATH%\*%%~nf.*" if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do %WINFIND% "-%%~nf" %ORIGPLAYLIST% >nul && del "%%f" if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do if /I not "%%~xf" == ".%EXT%" del "%%f" "%FOOBAR%" /runcmd-playlist="convert/%CONVPRESET%" :loop "%TOOLDIR%\cmdow.exe" /b | findstr "Converting" if errorlevel 1 goto :cont ping 127.0.0.1 -n 6 >nul goto :loop :cont del %DUMMYFILE% for /F "tokens=*" %%A in ( %ORIGPLAYLIST% ) do if exist "%DESTAUDIOPATH%\%%A.%EXT%" echo %DESTAUDIOPATH%\%%A.%EXT%>> %DESTPLAYLIST% "%FOOBAR%" /runcmd-files="Utilities/Text Tools/Copy: Filename Length" %DESTPLAYLIST% "%TOOLDIR%\paste" | %SORTTOOL% > %DESTLENGTHS% rem Remove incomplete conversions that occured because of insufficient RAM disk space for /f "usebackq tokens=*" %%A in ( `"%TOOLDIR%\join.exe" -t~ -v 2 -1 1 -2 1 -o 2.1 %ORIGLENGTHS% %DESTLENGTHS%` ) do ( set incomplete=%%A for /f "delims=/ tokens=1" %%x in ("!incomplete!") do del "%DESTAUDIOPATH%\%%x.%EXT%" ) del %DESTPLAYLIST% for /F "tokens=*" %%A in ( %ORIGPLAYLIST% ) do if exist "%DESTAUDIOPATH%\%%A.%EXT%" echo %DESTAUDIOPATH%\%%A.%EXT%>> %DESTPLAYLIST% ) set CLEARCMD="%RDDRIVE%\HQPlayer\hqp-control.exe" localhost --playlist-clear set SENDPLAYLISTCMD="%RDDRIVE%\HQPlayer\hqp-control.exe" localhost "%DESTPLAYLIST%" set STARTHQPCMD=start "" "%RDDRIVE%\HQPlayer\%HQPEXE%" "%DESTPLAYLIST%" if "%ADD%"=="yes" set CLEARCMD=echo add to playlist if not exist "%RDDRIVE%\HQPlayer" ( xcopy "%HQPDIR%" "%RDDRIVE%\HQPlayer" /S /I start "" "%RDDRIVE%\HQPlayer\%HQPEXE%" "%DESTPLAYLIST%" ) else ( tasklist | findstr %HQPEXE% >nul && ( %CLEARCMD% & %SENDPLAYLISTCMD% ) || %STARTHQPCMD% ) Link to comment
bogi Posted February 29, 2016 Author Share Posted February 29, 2016 I see the converted all files in the folder ramdisk , but does not load hqplayer , except for DSF OK, that's useful information. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
bogi Posted February 29, 2016 Author Share Posted February 29, 2016 shortcut definition The .bat script itself is not shortcut definition. Please look at chapter 7. You need to create a shortcut to the .bat script and assign command line parameters to it. One of the parameters is your Converter preset name you had to establish according to chapter 3. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
bogi Posted February 29, 2016 Author Share Posted February 29, 2016 satbaba, pleaase show me the root folder content of your drive R: It has to be your RAM disk drive. i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 satbaba, pleaase show me the root folder content of your drive R:It has to be your RAM disk drive. convert preset: altug *.bat file definication set FOOBAR=%ProgramFiles(x86)%\foobar2000\foobar2000.exe set HQPDIR=%ProgramFiles(x86)%\Signalyst\HQPlayer Desktop 3 set HQPEXE=HQPlayer-desktop.exe set RDDRIVE=R: rem --------------------------------------- rem SendToHQPlayer v1.0.2 (c) 2015 Peter Bognár set DESTAUDIOPATH=%RDDRIVE%\RAMDISK set ORIGPLAYLIST=%RDDRIVE%\playorig.m3u8 set DESTPLAYLIST=%RDDRIVE%\playdest.m3u8 set FILEFORMAT=%RDDRIVE%\fileformat.txt set WINFIND=%WINDIR%\system32\find set ADD=no set CONVPRESET=[default] set ORIGLENGTHS=%RDDRIVE%\length-orig.txt set DESTLENGTHS=%RDDRIVE%\length-dest.txt set INCOMPLETEFILES=%RDDRIVE%\incomplete.txt set SORTTOOL=%WINDIR%\system32\sort.exe set DUMMYFILE=%RDDRIVE%\space_reserve.txt set validPCMEXT=WAV AIFF FLAC set EXT=wav set COPYONLY=no setlocal enabledelayedexpansion if not exist %DUMMYFILE% fsutil file createnew %DUMMYFILE% 1000000 if not exist %DUMMYFILE% ( echo Insufficient space on %RDDRIVE% goto :eof ) :parse if "%~1"=="" goto endparse set ARG=%~1 if not "%ARG:~0,1%"=="-" set CONVPRESET=%~1 if "%~1"=="-a" set ADD=yes if "%~1"=="-hqp" set COPYONLY=yes if "%~1"=="-ff" ( for %%A in (%validPCMEXT%) do if /i "%~2"=="%%A" set EXT=%~2 shift ) shift goto parse :endparse rem --------------------------------------- rem @echo off set TOOLDIR=%~dp0 if exist "%ORIGPLAYLIST%" del "%ORIGPLAYLIST%" if exist "%DESTPLAYLIST%" del "%DESTPLAYLIST%" if not exist %DESTAUDIOPATH% mkdir %DESTAUDIOPATH% CHCP 65001 "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: Codec Ext CUEIndex" "%TOOLDIR%\paste.exe" > %FILEFORMAT% set PLAYHQP=yes %WINFIND% /V "DSD" %FILEFORMAT% >nul && set PLAYHQP=no if %COPYONLY%==yes findstr /V "WAV AIFF FLAC DSD" %FILEFORMAT% >nul || set PLAYHQP=yes %WINFIND% "ISO" %FILEFORMAT% >nul && set PLAYHQP=no %WINFIND% /V " 0" %FILEFORMAT% >nul && set PLAYHQP=no if %PLAYHQP%==yes ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: File path" "%TOOLDIR%\paste.exe" > %ORIGPLAYLIST% if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do %WINFIND% "%%~nf" %ORIGPLAYLIST% || del "%DESTAUDIOPATH%\%%~nf.*" if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do if /I not "%%~xf" == ".%EXT%" del "%%f" for /f "tokens=*" %%p in ( %ORIGPLAYLIST% ) do if not exist "%DESTAUDIOPATH%\%%~nxp" copy "%%p" "%DESTAUDIOPATH%" del %DUMMYFILE% for /f "tokens=*" %%p in ( %ORIGPLAYLIST% ) do if exist "%DESTAUDIOPATH%\%%~nxp" echo %DESTAUDIOPATH%\%%~nxp>> "%DESTPLAYLIST%" ) >nul else ( "%FOOBAR%" /runcmd-playlist="Utilities/Text Tools/Copy: Track-FileName Length" "%TOOLDIR%\paste.exe" | %SORTTOOL% > %ORIGLENGTHS% for /f "usebackq delims=/ tokens=1" %%x in ( `"%TOOLDIR%\paste.exe"` ) do echo %%x>> %ORIGPLAYLIST% if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do %WINFIND% "%%~nf" %ORIGPLAYLIST% >nul || del "%DESTAUDIOPATH%\*%%~nf.*" if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do %WINFIND% "-%%~nf" %ORIGPLAYLIST% >nul && del "%%f" if "%ADD%"=="no" for %%f in ( %DESTAUDIOPATH%\* ) do if /I not "%%~xf" == ".%EXT%" del "%%f" "%FOOBAR%" /runcmd-playlist="convert/%CONVPRESET%" :loop "%TOOLDIR%\cmdow.exe" /b | findstr "Converting" if errorlevel 1 goto :cont ping 127.0.0.1 -n 6 >nul goto :loop :cont del %DUMMYFILE% for /F "tokens=*" %%A in ( %ORIGPLAYLIST% ) do if exist "%DESTAUDIOPATH%\%%A.%EXT%" echo %DESTAUDIOPATH%\%%A.%EXT%>> %DESTPLAYLIST% "%FOOBAR%" /runcmd-files="Utilities/Text Tools/Copy: Filename Length" %DESTPLAYLIST% "%TOOLDIR%\paste" | %SORTTOOL% > %DESTLENGTHS% rem Remove incomplete conversions that occured because of insufficient RAM disk space for /f "usebackq tokens=*" %%A in ( `"%TOOLDIR%\join.exe" -t~ -v 2 -1 1 -2 1 -o 2.1 %ORIGLENGTHS% %DESTLENGTHS%` ) do ( set incomplete=%%A for /f "delims=/ tokens=1" %%x in ("!incomplete!") do del "%DESTAUDIOPATH%\%%x.%EXT%" ) del %DESTPLAYLIST% for /F "tokens=*" %%A in ( %ORIGPLAYLIST% ) do if exist "%DESTAUDIOPATH%\%%A.%EXT%" echo %DESTAUDIOPATH%\%%A.%EXT%>> %DESTPLAYLIST% ) set CLEARCMD="%RDDRIVE%\HQPlayer\hqp-control.exe" localhost --playlist-clear set SENDPLAYLISTCMD="%RDDRIVE%\HQPlayer\hqp-control.exe" localhost "%DESTPLAYLIST%" set STARTHQPCMD=start "" "%RDDRIVE%\HQPlayer\%HQPEXE%" "%DESTPLAYLIST%" if "%ADD%"=="yes" set CLEARCMD=echo add to playlist if not exist "%RDDRIVE%\HQPlayer" ( xcopy "%HQPDIR%" "%RDDRIVE%\HQPlayer" /S /I start "" "%RDDRIVE%\HQPlayer\%HQPEXE%" "%DESTPLAYLIST%" ) else ( tasklist | findstr %HQPEXE% >nul && ( %CLEARCMD% & %SENDPLAYLISTCMD% ) || %STARTHQPCMD% ) Link to comment
bogi Posted February 29, 2016 Author Share Posted February 29, 2016 Hi satbaba, playorig.m3u8 appears in the RAM disk root folder, but playdest.m3u8 is missing here. I'm not sure if you were really invoking the shortcut, so please do the following: 1. Select few FLAC or WAV files in a Foobar2000 playlist 2. Run your shortcut 3. Look at RAM disk content, if playdest.m3u8 was created here 4. Copy here content of playorig.m3u8 and (if exist) also playdest.m3u8 i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 Hi satbaba, playorig.m3u8 appears in the RAM disk root folder, but playdest.m3u8 is missing here.I'm not sure if you were really invoking the shortcut, so please do the following: 1. Select few FLAC or WAV files in a Foobar2000 playlist 2. Run your shortcut 3. Look at RAM disk content, if playdest.m3u8 was created here 4. Copy here content of playorig.m3u8 and (if exist) also playdest.m3u8 unfortunately, no playdest.m3u8 just playoring.m3u8 Link to comment
bogi Posted February 29, 2016 Author Share Posted February 29, 2016 What's the content of playorig.m3u8 ? i7 11850H + RTX A2000 Win11 HQPlayer ► Topping HS02 ► 2x iFi iSilencer ► SMSL D300 ► DIY headamp DHA1 ► HiFiMan HE-500 Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 What's the content of playorig.m3u8 ? open with textedit 01-01 - The Big Country 02-02 - Star Wars 03-03 - Casablanca 04-04 - The Dam Busters 05-05 - Breakfast at Tiffany's - Moon River 06-06 - The Bridge over the River Kwai 07-07 - Chariots of Fire 08-08 - James Bond Medley 09-09 - Dr. Zhivago Link to comment
satbaba Posted February 29, 2016 Share Posted February 29, 2016 bogi, Don't tire yourself out, I got it by using drag and drop RAMDISK folder to HQPlayer. Thanks a lot for your hard work Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now