tranfa Posted July 4, 2015 Share Posted July 4, 2015 Hi Bogi, your solution is what I've been dreaming for a while....! Unfortunately I'm unable to have it functioning on my Win7-64. I followed your instructions (at least I think...), but launching the batch file doesn't bring to life any conversion of files and therefore no feeding to HQPlayer. Instead, the batch works perfectly with native WAV files. BTW, the convertion launched from Foobar works fine too. Could you please point me to a solution so to identify what I'm doing wrong? Thanks in advance! Link to comment
tranfa Posted July 24, 2015 Share Posted July 24, 2015 Sorry for the delay in answering, it took a while to be back at my pc.... Shortcut Converter Text Tools Hope this helps... Link to comment
tranfa Posted July 26, 2015 Share Posted July 26, 2015 I just returned from holiday, I will look at your issue. One idea: Try to disable transferring pictures with Foobar Converter (save the change to your setup 'Pietro'). That's one difference between our setup (compare your setup and the picture from PDF). I'm not sure if transferring pictures works well in automated mode. The bat script contains line: "%FOOBAR%" /runcmd-playlist="convert/%CONVPRESET%" With environment variables expanded, it should be in your case something like: "C:\Program Files (x86)\foobar2000\foobar2000.exe" /runcmd-playlist="convert/Pietro" That command should result to the same conversion as the interactive conversion in foobar2000 environment. I disabled the pictures transfers, and yes, that's what I get from the bat script once launched....but still, I find the original MP3 file in the ramdisk, with no conversion, and therefore no upload to HQPLayer.... Link to comment
tranfa Posted July 26, 2015 Share Posted July 26, 2015 Hi Bogi, Yes I understand that the script should allow me to have the converted file in the ramdisk: the issue is exactely the fact that in my setup the script doesn't convert but just copies the file.... Link to comment
tranfa Posted July 26, 2015 Share Posted July 26, 2015 To clarify further: before the launch of the script the ramdisk is empty Link to comment
tranfa Posted July 27, 2015 Share Posted July 27, 2015 Aldo disabling any kind of dsp, the issue remains the same. No conversion happening, no matter the file extension. Link to comment
tranfa Posted July 31, 2015 Share Posted July 31, 2015 Does the command like"C:\Program Files (x86)\foobar2000\foobar2000.exe" /runcmd-playlist="convert/Pietro" convert MP3 to WAV in RAM disk or does it only copy MP3 file to RAM disk? Do you see the foobar's conversion progress bar window titled 'Converting ...' when the action is done from the SendToHQP script? Yes, the command alone in a bat file works fine. Link to comment
tranfa Posted August 1, 2015 Share Posted August 1, 2015 Please add a single line containing onlypause to the end of SendToHQPlayer.bat and run it again. The processing will be paused at the end, a line Press any key to continue . . . will display. Then use the upper left Command Prompt window icon to copy window content to clipboard: Edit > Select All Edit > Copy Paste the clipboard content to any text editor. Send me that content in any way. Here you go. thank you!tranfa.txt Link to comment
tranfa Posted August 1, 2015 Share Posted August 1, 2015 Please send me yet content of file A:\fileformat.txt voila'fileformat.txt Link to comment
tranfa Posted August 2, 2015 Share Posted August 2, 2015 Please perform on your PC: cd /d C:\SendToHQP set PLAYHQP=yes %WINDIR%\system32\find /V "DSD" A:\fileformat.txt && set PLAYHQP=no echo %PLAYHQP% and send me your output. It seems on your PC the variable PLAYHQP remains set to yes like if your find command would not be found. On my PC the variable PLAYHQP is set to no with your fileformat.txt. result: C:\Users\Pietro\Desktop>cd /d C:\SendToHQP C:\SendToHQP>set PLAYHQP=yes C:\SendToHQP>C:\Windows\system32\find /V "DSD" A:\fileformat.txt && set PLAYHQ P=no ---------- A:\FILEFORMAT.TXT MP3 mp3 0 C:\SendToHQP>echo no no C:\SendToHQP>pause Press any key to continue . . . Link to comment
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
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
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
tranfa Posted August 3, 2015 Share Posted August 3, 2015 Thanks anyway for your help, bogi. Link to comment
tranfa Posted October 13, 2016 Share Posted October 13, 2016 For users of SendToHQP (known to me are zmck, OpusOne, satbaba): 1) New HQPlayer 3.14 In the case you upgraded or plan to upgrade HQPlayer to 3.14 and if you are running 64bit Windows: Default installation folder of HQPlayer changed from C:\Program Files (x86)\Signalyst\HQPlayer Desktop 3 to C:\Program Files\Signalyst\HQPlayer Desktop 3 Adapt the 2nd line of the script. 2) Alternative to shortcuts It seems only zmck succeeded to setup the shortcuts as proposed in the setup guide. I found nice alternative solution - to add buttons to foobar2000 interface. This alternative solution requires very small script modification (in 2 lines) and some manual configuration in foobar2000 environment, briefly: - install foobar2000: Components Repository - Run Services - configure it to run the same command lines as your shortcuts do - define new buttons to launch the configured commands (right click of any playback control button > Customize buttons ...) If you are interested in this alternative let me know. I use STHQP too - albeit it doesn't work for me in Win 7, while it works on 10. I'd be interested and grateful to know more about the foobar button alternative - I use the DarkOne skin though... Thank you Bogi! Link to comment
tranfa Posted October 18, 2016 Share Posted October 18, 2016 tranfa, good to know you are another tool user.When you right click of any playback control button, can you choose 'Customize buttons ...' from the context menu? You can try to add a button even without any function and then remove it. If it is applicable to your skin, I can create a few pictures and add a short description. Noe, I just have "Properties" and "Configure", which brings me to the configurations attached....which goes beyond my coding skills - albeit I understant it should be the place for the changes you've in mind... Cobf.txt Link to comment
tranfa Posted October 18, 2016 Share Posted October 18, 2016 tranfa, then better to use shortcuts for you. Yes Bogi Link to comment
tranfa Posted October 18, 2016 Share Posted October 18, 2016 A question: I've a few MP3 files for which STHQP doesn't work (it doesn't create the destination playlist), while for the vast majority it works with no problem. Which can be the reason? Link to comment
tranfa Posted October 19, 2016 Share Posted October 19, 2016 tranfa, I loaded some MP3s to foobar2000 playlist and on one album I found a case that 2 tracks are converted to RAM disk, but then they are deleted from it and don't appear in the destination playlist. If only such problematic files are selected in foobar2000, then destination playlist is not created. I found the reason. SendToHQP is checking lengths of original tracks and their converted versions in RAM disk. That check is necessary, because foobar2000 converter creates incomplete tracks in the case of insufficient space in RAM disk. Such files are automatically deleted by SendToHQP. In the case of 2 problematic MP3 tracks the WAV version in RAM disk reports length about 1 sec shorter than the original MP3 version, although the conversion was successful. file length-orig.txt: 01-1. Za dverami mojej izby/5:01 02-2. Vecna/3:46 03-3. Domaca uloha/3:52 04-4. Uz sme davno v obraze/4:24 05-5. Polnocne stopy/4:43 06-6. Cierny pasazier/3:58 07-7. 4 tony, 1 gram/4:51 08-8. Siroty vlastnych deti/5:05 09-9. Banka krasnych strat/3:47 10-10. Zabudanie/3:45 11-11. Vsetko sa raz konci/4:04 12-12. Najkrajsie zvonenie/1:32 file length-dest.txt 01-1. Za dverami mojej izby/5:00 02-2. Vecna/3:45 03-3. Domaca uloha/3:52 04-4. Uz sme davno v obraze/4:24 05-5. Polnocne stopy/4:43 06-6. Cierny pasazier/3:58 07-7. 4 tony, 1 gram/4:51 08-8. Siroty vlastnych deti/5:05 09-9. Banka krasnych strat/3:47 10-10. Zabudanie/3:45 11-11. Vsetko sa raz konci/4:04 12-12. Najkrajsie zvonenie/1:32 See the lengths of the first two songs ... You can check if you are facing with the same issue. Maybe the script could ignore 1 sec difference. It's not impossible, but very improbable that just the last second would be missing because of insufficient RAM disk space. I guess it's even more complicated.... I tried to go on the path you suggested. I increased the RAM disk size to 4GB, and tried to load only 1 file (usual mp3 dimensions). Nope: it wasn't being loaded, albeit it was converted, and in the TXT files I couldn't see any duration mismatch. Then, I realized that the 3 files I'm unable ot load are withot metadata for the Tracknumber. Ok, I told myself: let's see if adding the Tracknumber anything changes. Unfortunately the file wasn't loaded anyway, also after having added a tracknumber in the metadata. But, guess what? Now the TXT files presented a second of duration mismatch between before and after...!! I tried the way back: deleting the metadata, going in the previous state. No load as well, but the TXT files didn't present any duration mismatch. So, my hypothesys here is that there's something in the absence (and addition) of metadata that creates the impossibility of loading the files, or the duration mismatch... Not sure if it's helpful to anyone, but I tried... Link to comment
tranfa Posted October 20, 2016 Share Posted October 20, 2016 BTW, all this reminds me the discussions where people were witnessing listening differences depending on the presence / absence of metadata...not sure how this ended, nor willing to take any side on these "belief" kind of discussions, but just finding a parallel here. Link to comment
tranfa Posted October 21, 2016 Share Posted October 21, 2016 tranfa, try this with your files: SendToHQP v1.04 Done Bogi, works like a charm. You're great! 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