Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foobar2000 DeskBand Controls (Read 425582 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: foobar2000 DeskBand Controls

Reply #625
Can not reproduce your issue on my i5, CPU usage is always 0% for me, with minor spikes to 1% when label scrolling is used. No plans for open source for now. I can extract label drawing code into sample project if you really want to look at it, but I highly doubt that it can be much optimized, to be honest...

Thx for looking into it. If I find the time, I will see whether I can reproduce it on clean VM. Maybe its connected to something else I have installed.

I don't think the issue is that the rendering code is too slow. I think the issue is that it runs way too often.

Re: foobar2000 DeskBand Controls

Reply #626
I'm very happy with cascading playlist menu however I noticed some small bugs.

Bug #1: My settings are set to show 15 songs before current playing song and also 15 songs after song that's playing. When I play a song from beginning of the playlist (one of first 15 songs) fewer songs are displayed before the track that's currently playing because there's less than 15 songs to show but more songs are displayed after the song that's currently playing so the total number of displayed tracks is the same (31). This does not work the same way when I'm at the end of playlist. If there's not enough tracks to display after the currently playing track more tracks should be displayed before currently playing track (so the total number of displayed tracks is 31 in my case). This bug also appears on non cascaded playlist menu.

Bug #2: I have some playlists in my foobar displayed as tabs so I can switch between them. When I play a song from one playlist and switch to another playlist and minimize foobar first playlist plays normally as it should until I choose another song with deskband controls playlist menu (cascaded or not). Song names from the first playlist are displayed but it plays a song from second playlist. It should play song from playlist which song names are displayed (first one in this case).

Re: foobar2000 DeskBand Controls

Reply #627
I noticed my mouse freezing for a second when some songs start. After a bit of testing I found it's caused by large cover art. The 6MB 3000x3000 cover that came with Memory Lame was causing the issue even with cover art not being shown. I'd like to be able to disable Deskband Controls from reading the cover art at all.

Re: foobar2000 DeskBand Controls

Reply #628
The player itself reads cover art whenever something in the player, possibly even stock components, accesses cover art. 3000x3000 cover art is 36MB of RAM, then resizing it to whatever common size something requests, then caching the result.

Re: foobar2000 DeskBand Controls

Reply #629
I'm only getting the stutter with Deskband Controls enabled.

Re: foobar2000 DeskBand Controls

Reply #630
I'm sorry to bother, I probably did something wrong, but here is what I did:
deleted DC from previously back-uped folder
Downloaded latest one
Installed
And somehow it doesn't work? Like there aren't even any settings, it's just visible in components. How can I repair it? I use Windows 10 Home 1803

Re: foobar2000 DeskBand Controls

Reply #631
What is the setting as I am having the same problem. Thanks

Re: foobar2000 DeskBand Controls

Reply #632
To answer 2 prev. questions - go to C:\Users\%UserName%\AppData\Roaming\foobar2000\user-components\foo_deskband_controls
and read text file there.

Re: foobar2000 DeskBand Controls

Reply #633
The !readme.txt file in that directory has instructions on how to install and uninstall and a changelog, but if it has info on how to fix the pause problem I'm not clear on where that info is. Sorry to be clueless. Is there another text file I need? I'm running ver. 3.6.1 of the plugin.

Re: foobar2000 DeskBand Controls

Reply #634
Not sure what you both have done wrong, but try to remove the component from foobar2000, uninstall explorer extension using uninstall.cmd in C:\Program Files\DeskbandControls\
(Right click it and run as admin). Then reinstall everything.

Re: foobar2000 DeskBand Controls

Reply #635
Did as you said. Uninstalled first through Foobar and then using the cmd command in the app folder. Then reinstalled. Same problem, controls vanish when I hit pause.  Thanks for help. arnstein

 

Re: foobar2000 DeskBand Controls

Reply #636
Right-click taskbar controls when playing, select settings and configure highlighted settings as you wish.


Re: foobar2000 DeskBand Controls

Reply #638
When I finish playing a song with an album image, the next song, without album image, will still show the album image of the previous song. If I manually skip songs it'll update the album image correctly to the default placeholder.

Any way to fix this?

Re: foobar2000 DeskBand Controls

Reply #639
Hello ManIkWeet! Thank you for this report. It will be fixed in the next version.

Re: foobar2000 DeskBand Controls

Reply #640
Hello

I've modified the *.cmd files to install the DeskBand Controls in the current directory, e.g. "foobar2000Portable\user-components\foo_deskband_controls\"
instead of the "Program Files". I also added clearer instructions.

This may be useful to someone.

The important part:
Quote
set dc=%~dp0Release

install.deskband.controls.in.this.folder.foobar200portable.cmd
Quote
@echo off
color 0a
cls
title Deskband Controls Setup
echo[
echo    DESKBAND CONTROLS
echo =======================
echo[
echo Welcome to the Deskband Controls installer.
echo.

rem Check permissions
fsutil dirty query %systemdrive% >nul
if %errorLevel% == 0 (
    echo Administrative permissions confirmed.
) else (
    echo Please run this script with administrator permissions.
    goto EXIT
)

rem rem Search for existing installation
rem for /f "tokens=2*" %%a in ('reg query "HKEY_CLASSES_ROOT\CLSID\{9690ED28-CD24-4534-B380-77103A4E7774}\InprocServer32" /v CodeBase 2^>^&1^|find "REG_"') do @set fn=%%b
rem if not defined fn (
rem   goto INSTALL
rem )

rem :UNINSTALL
rem set fn=%fn:~8%
rem echo Existing installation found. Uninstalling...
rem if defined ProgramFiles(x86) (
rem   %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /nologo /unregister "%fn%"
rem ) else (
rem   %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe /nologo /unregister "%fn%"
rem )
rem if ERRORLEVEL 1 (
rem   echo Unable to unregister deskband DLL. Please make sure that .NET framework 4 is installed.
rem   goto EXIT
rem )
rem %SystemRoot%\System32\taskkill.exe /F /IM explorer.exe >nul
rem timeout 5 /NOBREAK >nul
rem echo Uninstall completed.
rem echo[
rem echo[

:INSTALL
set dc=%~dp0Release
echo.
echo ===========================================================================
echo Installing to "%dc%"
echo ===========================================================================
echo.
rem if exist "%dc%" (
rem   rd /S /Q "%dc%"
rem )
rem mkdir "%dc%"
rem xcopy /Q "%~dp0Release" "%dc%"
rem xcopy /Q "%~dp0uninstall.cmd" "%dc%"

if defined ProgramFiles(x86) (
   %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /nologo /codebase "%dc%\Deskband.dll"
) else (
   %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe /nologo /codebase "%dc%\Deskband.dll"
)
if ERRORLEVEL 1 (
  echo Unable to register deskband DLL. Please make sure that .NET framework 4 is installed.
  goto EXIT
)

echo.
echo ===========================================================================
echo Installation completed.
echo.
echo To enable deskband right-click on taskbar and select "Toolbars, Deskband Controls" AND play some music.
echo[
echo Greetings from Ukraine!
echo Enjoy!

:EXIT
echo[
echo[
pause

uninstall.deskband.controls.in.this.folder.foobar200portable.cmd
Quote
@echo off
color 0a
cls
title Deskband Controls Uninstall
echo[
echo    DESKBAND CONTROLS
echo =======================
echo[
echo Welcome to the Deskband Controls uninstaller.
echo Administrative permissions required. Detecting permissions...

rem Check permissions
fsutil dirty query %systemdrive% >nul
if %errorLevel% == 0 (
    echo Administrative permissions confirmed.
) else (
    echo Please run this script with administrator permissions.
    goto EXIT
)

rem rem Search for existing installation
rem for /f "tokens=2*" %%a in ('reg query "HKEY_CLASSES_ROOT\CLSID\{9690ED28-CD24-4534-B380-77103A4E7774}\InprocServer32" /v CodeBase 2^>^&1^|find "REG_"') do @set fn=%%b
rem if not defined fn (
rem   goto CLEANUP
rem )

:UNINSTALL
set fn=%~dp0Release\Deskband.dll
echo.
echo Uninstalling from "%fn%"
pause
echo.
echo.
echo ===========================================================================

if defined ProgramFiles(x86) (
  %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /nologo /unregister "%fn%"
) else (
  %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe /nologo /unregister "%fn%"
)
if ERRORLEVEL 1 (
  echo Unable to unregister deskband DLL. Please make sure that .NET framework 4 is installed.
  goto EXIT
)

echo ===========================================================================

%SystemRoot%\System32\taskkill.exe /F /IM explorer.exe >nul

timeout 5 /NOBREAK >nul

:CLEANUP
set dc=%ProgramFiles%\DeskbandControls
rem if exist "%dc%" (
rem   rd /S /Q "%dc%"
rem )
echo.
echo Uninstall completed.
echo Explorer.exe process was terminated.
echo Press Ctrl+Shift+ESC to launch task manager and run explorer.exe from "File - New Task (Run)..." menu.

:EXIT
echo[
pause

Re: foobar2000 DeskBand Controls

Reply #641
I installed the very nice Deskband Controls. It appears to the right of the toolbar. How can I move it to the left side, still being part of the toolbar level? I saw that I can set it to floating, but I still want it in the band, only in a different place.

Re: foobar2000 DeskBand Controls

Reply #642
I installed the very nice Deskband Controls. It appears to the right of the toolbar. How can I move it to the left side, still being part of the toolbar level? I saw that I can set it to floating, but I still want it in the band, only in a different place.
 
 
Hello, Gadgety. Please see reply #606.


Re: foobar2000 DeskBand Controls

Reply #644
Me too. Sometimes when Foobar starts. I help my self by chance some values in preferences an then back to the normal settings.

Re: foobar2000 DeskBand Controls

Reply #645
The  Deskband Controls did not work with foobar v1.4 in windows10 v1809, which could be installed successfully but did not display in Toolbars submenu, could you fix the bug, please? Thank you very much!

Re: foobar2000 DeskBand Controls

Reply #646
Hi sebuy!
It is working fine for me. I need more details about your issue to be able to help.

Re: foobar2000 DeskBand Controls

Reply #647
Hi, just came to say, running the installation script on my windows 7 PC crashed explorer (the process that shows the desktop, not the browser). Had to ctrl+alt+canc to call up the task manager and restart it.
That being said, after that it seems to work fine.

Re: foobar2000 DeskBand Controls

Reply #648
Thank you for building this toolbar item.  Under Windows 10 x64 I got this to work.  May I suggest an update to your !readme.txt ?  First the toolbar is not the Windows toolbar (as with Advanced Controls Foobar) but rather the Foobar toolbar which is not obvious possibly for new users.

Right click next to HELP in the Foobar menu then choose "Buttons" as there is no menu item called Deskband Controls.  This was how I can got this component to work.  thank you for your efforts

Re: foobar2000 DeskBand Controls

Reply #649
Right-click taskbar controls when playing, select settings and configure highlighted settings as you wish.


DeskBand disappeared when I did it. I had reinstal it and clean rejestry and I don't see toolbar never again :(
Can anyone help me?