jaredsohn / mutefm Goto Github PK
View Code? Open in Web Editor NEWmute.fm mutes your music while watching videos
License: Apache License 2.0
mute.fm mutes your music while watching videos
License: Apache License 2.0
Hi, I wanted to report a high ram usage issue. Don't know if it qualifies as an issue, but I don't think the level of ram mutefm is using on my computer is a normal level, feels much more like a memory leak.
The problem with the ram usage issue is ... I don't know what's causing it.
Here are the elements :
Mutefm Version 0.9.10 (I'm one of the two guys who twitted you about the expiration date ;-) )
OS : Win7 64 sp1 (With 4 GB of ram)
I use it with Spotify as the background music app (version 0.9.4.178.g259772ba)
It syncs with Growl for Windows (2.0.9.1)
(I don't think it's relevant, but I use a desktop replacement app : EmergeDesktop).
The main problem is : When I open MuteFM for the first time, it uses around 20-30 mb of ram... after one or two days of use... it goes to around 200-300 mb !
I haven't identified what exactly triggers the ram leakeage, but I don't remeber seeing such memory leaks with 0.9.9. So maybe it's the new version that introduced the problem.
Here's MuteFM just after start, saturday october 5th.
And here's it after two days working on october 7th (I just realised it's pumping as much memory as Firefox... and that's noooot a good comparison :-) ).
Any way, it's a good piece of software that does one thing, but does it very well. Thank you !
Hi,
When I disconnect headphones when it is still muted - put Notebook to sleep. Later - wake it - connect headphones, and music will not be unmuted, it just stays muted. The way to unmute it, is to open volume mixer and unmute it on the music program (AIMP in my case, tried also with Winamp)
Otherwise it works great, and this is the only thing that I need to do manually quite often :(
Can you somehow fix it??
Thank you :)
Hi, I'm trying to set mutefm up with aimp3 and i had it working before, but i can't get it to work anymore. I have already tried to reinstall and reset settings and so forth, but no luck. The weird thing is that commands work in the test bar in the background music edit window, but when i click the play/pause button in the normal gui it doesn't anymore. Here's the log:
29-12-2015 21:22:06 AIMP3 Pause
29-12-2015 21:22:06 AIMP3 RunProc
29-12-2015 21:22:06 System.ComponentModel.Win32Exception (0x80004005): Het systeem kan het opgegeven bestand niet vinden
bij System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
bij System.Diagnostics.Process.Start()
bij System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
bij MuteFm.SmartVolManagerPackage.BgMusicManager._runProcCommand(String command)
bij MuteFm.SmartVolManagerPackage.BgMusicManager._runCommand(String cmd)
bij MuteFm.SmartVolManagerPackage.BgMusicManager.PerformOperation(Int64 playerInfoId, Operation op, String param, Boolean ignoreCommand)
I suspect something is going wrong when saving the path. If there is any way i can find out the exact command it tries to execute i'll be happy to try.
Hi,
Great piece of work. Thank you so much.
I've been using mute.fm when autoplay videos wasn't common, which they now are on twitter/facebook, upon autoplay, mute.fm starts muting my music player, even when there are no audio from the autoplay videos.
The one improvement that can be made is to not initiate mute for autoplay videos until the audio is actually being played. Is this possible?
Thank you again for your work. I appreaciate it a lot.
The command syntax you can use to set up custom play and pause actions treats any string containing a colon (:) as a special command. Colons are really common in Windows commands the user might want to execute.
I want to use xmpcontrol to play and pause. Instead of "C:\Program Files (x86)\xmplay\xmpcontrol.exe" /PlayPause
I use "\Program Files (x86)\xmplay\xmpcontrol.exe" /PlayPause
My Windows version is 20h2.
mute.fm and mute.fm+ have a same bug which is too slow to start this software.
Running in Administrator mode and using compatibility mode can't solve this problem.
I am correct in assuming this doesn't work in Window's 10?
Since a few months, even when the "Stop if muted for too long" setting is enabled, spotify won't get paused, it plays fully muted in the background. It also doesn't get paused/stopped using the pause/stop buttons in mute.fm itself.
Looks as though they might have changed something on Spotify's end, and the assigned commands (spotify:pause, spotify:stop, etc) don't work anymore. There's zero information about these commands anywhere on the internet, and there are no documented or working command line options for Spotify which do the same.
Still, I managed to make it work by changing the "spotify:stop" command to a wscript command running my custom script placed in the syswow64, which presses a key combination which calls an autohotkey script which then finally can simulate a play/pause mediabutton push on the keyboard (which wscript cannot do).
So, mute.fm does indeed send the command assigned to stop the player, but the Spotify player doesnt't respond. Foobar on the other hand responds perfectly.
First of all, thanks for making our life easier with this app. :)
I noticed one issue with it though.
Consider a case when I have started the music player, from mute.fm & then muted the global system volume. (Say, because someone is at my desk.)
If some other sound arrives, (say systray notification), mute.fm will try to fade-out the music. But in that process, it will unmute the global volume.
Please try to fix this.
This is what the logfile shows after I restart:
26-9-2014 11:40:23 foobar2000 SmartMute
26-9-2014 11:40:23 PerformOperation SetVolumeTo 0
26-9-2014 11:40:23 foobar2000 For sessioninstanceid {0.0.0.00000000}.{some_guid}|\Device\HarddiskVolume2\Program Files (x86)\foobar2000\foobar2000.exe%b{00000000-0000-0000-0000-000000000000}|1%b3012: muted = False
26-9-2014 11:40:23 foobar2000 SmartMute
26-9-2014 11:40:24 foobar2000 Pause
26-9-2014 11:40:24 foobar2000 RunProc
26-9-2014 11:41:15 mute.fm loaded!
There is no exception or other message shown when mutefm stops.
Hope you can fix this, loving this app.
Found some exception information in the eventlog:
Uitzonderingsinformatie: System.AccessViolationException
Stack:
bij System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
bij System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
bij System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
bij System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
bij System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
bij MuteFm.UiPackage.UiCommands.InitUI(Boolean)
bij MuteFm.Program.Init(System.String[])
bij MuteFm.Program.Main(System.String[])
and the unmanaged information is that it crashes in C:\Windows\SysWOW64\ieframe.dll at 0x00064778
When pressing Edit button on current background music I'm getting program exception. Here is the log:
Szczegółowe informacje na temat wywoływania debugowania w trybie JIT (just in time)
zamiast tego okna dialogowego znajdują się na końcu tego komunikatu.
************** Tekst wyjątku **************
System.NullReferenceException: Odwołanie do obiektu nie zostało ustawione na wystąpienie obiektu.
w MuteFm.UiPackage.MusicInfoEditForm.GetProcName(String fullpath)
w MuteFm.UiPackage.MusicInfoEditForm..ctor(SoundPlayerInfo playerInfo, Boolean editable)
w MuteFm.UiPackage.MusicConfigForm.mEditBgButton_Click(Object sender, EventArgs e)
w System.Windows.Forms.Control.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ButtonBase.WndProc(Message& m)
w System.Windows.Forms.Button.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Zestawy załadowane **************
mscorlib
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18052 built by: FX45RTMGDR
mute_fm
Wersja zestawu: 0.9.10.0
Wersja Win32: 0.9.10.0
System.Windows.Forms
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18047 built by: FX45RTMGDR
System.Drawing
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18021 built by: FX45RTMGDR
System
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18044 built by: FX45RTMGDR
Growl.Connector
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.6.1
Growl.CoreLibrary
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.6.1
Newtonsoft.Json.Net35
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.0.0
System.Core
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.17929 built by: FX45RTMREL
System.ComponentModel.DataAnnotations
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.17929
System.Runtime.Serialization
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18055 built by: FX45RTMGDR
System.Data
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18047 built by: FX45RTMGDR
System.Xml
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18060 built by: FX45RTMGDR
System.Xml.Linq
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.17929 built by: FX45RTMREL
mscorlib.resources
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.17929 built by: FX45RTMREL
System.Configuration
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.18060 built by: FX45RTMGDR
WinCoreAudioApiSoundServer
Wersja zestawu: 1.0.0.0
Wersja Win32: 1.0.0.0
CoreAudioApi
Wersja zestawu: 2.0.0.0
Wersja Win32: 2.0.0.0
System.Windows.Forms.resources
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.17929 built by: FX45RTMREL
System.Management
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.17929 built by: FX45RTMREL
System.resources
Wersja zestawu: 4.0.0.0
Wersja Win32: 4.0.30319.17929 built by: FX45RTMREL
************** Debugowanie w trybie JIT **************
Aby włączyć debugowanie w trybie just in time (JIT), plik .config tej
aplikacji lub komputera (machine.config) musi mieć
wartość jitDebugging ustawioną w sekcji system.windows.forms.
Aplikacja musi być również skompilowana z włączonym
debugowaniem.
Na przykład:
Gdy debugowanie JIT jest włączone, wszystkie nieobsługiwane wyjątki
są wysyłane do debugera JIT zarejestrowanego na komputerze
i nie są obsługiwane w tym oknie dialogowym.
Windows 7 x64 SP1 PLK fully updated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.