Page 729 of 804

Re: MQN

Posted: Mon Aug 03, 2015 4:07 pm
by iori
elaprince wrote:Is there anyway to have that music player folder in different place?
yes and no.

yes (for all w8/ws2012 versions except test ver ) if all necessary files : mqncontrol.exe, mqnloader.exe, mqnplay.exe, paste.exe and mqn.bat are within the same folder, and the mqn.bat is modified with this line "cd c:\musicplayer" disabled by adding a "rem" in front.

the line should look like this : rem cd c:\musicplayer

no (for recent win10 versions) - mqnplay.exe (v36) is still hardcoded to access C:\musicplayer

I used to keep different versions under different sub folders with descriptive names for easy reference and comparison.

BTW, with mqnPlay v36, control/loader v25 and win10 Home (clean install), I thought I was listening to LP12.

Re: MQN

Posted: Mon Aug 03, 2015 4:45 pm
by elaprince
Thank you
Will try it now
Let you know if it works

Re: MQN

Posted: Mon Aug 03, 2015 4:57 pm
by elaprince
It doesn't work
I use win 2102r2
I did modify MQn.bat with your line and still gives an error that cant find c:musicplayer loader and play

Any other ide what I could be doing wrong?
Or maybe you can post whole MQN.bat modified ?
Thank you

Re: MQN

Posted: Mon Aug 03, 2015 5:16 pm
by iori
this is my mqn_noParam.bat
I had the [for /F "usebackq delims==" %%i IN (`sort Files.txt`) do echo %%~ni ] sections disabled to play files with name in double byte for CJK (Chinese, Japan, Korean), though this should'nt be the cause.

Code: Select all

@echo off

rem =====  this path reference is not a must, as long as all required files are placed under same folder ===
rem =====  multiple folders in different names can be made to describe version and sonic characteristics ===
rem c:
rem cd\MQn\20131020_268sse4intel

Title MQn - Just good music 

taskkill /fi "PID gt 0" /IM mqnplay.exe /F >nul
taskkill /fi "PID gt 0" /IM mqncontrol.exe /F >nul

rem net stop "Desktop Window Manager Session Manager"

del Files.txt /q

FOR /F "tokens=*" %%A IN ('CHCP') DO FOR %%B IN (%%~A) DO SET CodePage=%%B

chcp 65001 

rem === changes to handle blank Files.txt under Win 7 ==================================================
rem === sorting of track order for files copy and folder copy is lifted ==== applicable to Win 8  ======
paste > File1.txt

rem paste > param.txt
rem echo off
rem file
rem for /F "usebackq delims==" %%i IN (`sort param.txt ^| FIND /I ".wav"`) do echo %%i >> File1.txt
rem if exist file1.txt goto :crlf
rem folder
rem for /F "usebackq delims==" %%i IN (`sort param.txt`) DO for /f "delims=" %%f in ('dir /b "%%i\*.wav"') do echo %%i\%%f >> File1.txt
rem :crlf
rem ====================================================================================================

rem remove cr/lf from last line

setlocal DisableDelayedExpansion

set "firstLineReady="
(
    for /F "eol=$ delims=" %%a in (File1.txt) DO (
        if defined firstLineReady (echo()
        set "firstLineReady=1"
        <nul set /p "=%%a"
    )
) > Files.txt"

del File1.txt /q


CHCP %CodePage% 

cls
 
set TIMESTAMP=%TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%
 
echo Playback commenced - %timestamp%
echo.
rem for /F "usebackq delims==" %%i IN (`sort Files.txt`) do echo %%~ni

echo.

rem lets play music

MQncontrol --file ".\Files.txt"

 rem pause

exit

@echo on



Re: MQN

Posted: Mon Aug 03, 2015 5:20 pm
by elaprince
I will copy everything to MQN.bat see if it works
Thanks again

Re: MQN

Posted: Mon Aug 03, 2015 5:36 pm
by Aleg
elaprince wrote:It does not work still looking for c folder even after editing
Can someone help with this please?
Thank you

Cannot be done. C:\musicplayer is hardcoded into the programs at the moment AFAIK.

Re: MQN

Posted: Mon Aug 03, 2015 5:46 pm
by elaprince
I did try it and it doesnt work
If you also have that folder in C: it does work no matter where is MQN.bat located it plays but musicplayer has to be in C:

If there is any other way please feel free to post it

Maybe Gordon can chip in

Aleg seems like you are right again

Thank you


iori wrote:this is my mqn_noParam.bat
I had the [for /F "usebackq delims==" %%i IN (`sort Files.txt`) do echo %%~ni ] sections disabled to play files with name in double byte for CJK (Chinese, Japan, Korean), though this should'nt be the cause.

Code: Select all

@echo off

rem =====  this path reference is not a must, as long as all required files are placed under same folder ===
rem =====  multiple folders in different names can be made to describe version and sonic characteristics ===
rem c:
rem cd\MQn\20131020_268sse4intel

Title MQn - Just good music 

taskkill /fi "PID gt 0" /IM mqnplay.exe /F >nul
taskkill /fi "PID gt 0" /IM mqncontrol.exe /F >nul

rem net stop "Desktop Window Manager Session Manager"

del Files.txt /q

FOR /F "tokens=*" %%A IN ('CHCP') DO FOR %%B IN (%%~A) DO SET CodePage=%%B

chcp 65001 

rem === changes to handle blank Files.txt under Win 7 ==================================================
rem === sorting of track order for files copy and folder copy is lifted ==== applicable to Win 8  ======
paste > File1.txt

rem paste > param.txt
rem echo off
rem file
rem for /F "usebackq delims==" %%i IN (`sort param.txt ^| FIND /I ".wav"`) do echo %%i >> File1.txt
rem if exist file1.txt goto :crlf
rem folder
rem for /F "usebackq delims==" %%i IN (`sort param.txt`) DO for /f "delims=" %%f in ('dir /b "%%i\*.wav"') do echo %%i\%%f >> File1.txt
rem :crlf
rem ====================================================================================================

rem remove cr/lf from last line

setlocal DisableDelayedExpansion

set "firstLineReady="
(
    for /F "eol=$ delims=" %%a in (File1.txt) DO (
        if defined firstLineReady (echo()
        set "firstLineReady=1"
        <nul set /p "=%%a"
    )
) > Files.txt"

del File1.txt /q


CHCP %CodePage% 

cls
 
set TIMESTAMP=%TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%
 
echo Playback commenced - %timestamp%
echo.
rem for /F "usebackq delims==" %%i IN (`sort Files.txt`) do echo %%~ni

echo.

rem lets play music

MQncontrol --file ".\Files.txt"

 rem pause

exit

@echo on



Re: MQN

Posted: Mon Aug 03, 2015 5:53 pm
by adolfo.a.aguiar
I need some help. The last MQn version I used successfully was ldn v15. No sound since the device id moved to mqnparam.txt.
The mqnplay versions with hardcoded device id work fine.
The contents of the musicplayer folder is:

Image
The MQn_ is a bat modified to use Foobar, tasker and play flac and mp3. The MQn.bat is the current.

The MQn screen appears

Image

and the mqncontrol screen also opens up and closes after a few seconds.

I use mqndevinfo>>mqnparam.txt to retrieve my dac info.
No sound, no exception...

Re: MQN

Posted: Mon Aug 03, 2015 5:56 pm
by Aleg
adolfo.a.aguiar wrote:...

I use mqndevinfo>>mqnparam.txt to retrieve my dac info.
No sound, no exception...

If you have more than one USB sound device connected, remove them all except the one you want the USB deviceID of.
I had multiple connected and I got the wrong one each time until I removed the rest.

Re: MQN

Posted: Mon Aug 03, 2015 6:06 pm
by iori
May be I'll try to find out later on, in the work house.
One thing for sure, all my version folders are placed in a separate data SSD. C drive does not hold any version folder or musicplayer. It just serve for OS installation, optimization, again and again.