lively
lively copied to clipboard
Fix --now-playing & Browser flag clarification
Discussed in https://github.com/rocksdanister/lively/discussions/1325
--now-playing is not working
When a Web-Wallpaper tries to use the --now-playing flag the application throws out an error that this startup flag is not supported. Since I couldn't get past this first step, I can't confirm if the rest of this feature works.
Flag clarifications
Clarification on the Wiki how to chain startup flags together would also be appreciated. E.g. when the --system-information
flag is set, the --system-audio
flag is automatically set too. Would this mean, --system-information
should also contain --now-playing
? Any time I tried chaining --system-audio
and --system-information
together using a space or comma, it threw out a error. Would be nice to have some information in the wiki on how to use multiple flags together or which flags contain other flags behind the scenes.
When a Web-Wallpaper tries to use the --now-playing flag the application throws out an error that this startup flag is not supported. Since I couldn't get past this first step, I can't confirm if the rest of this feature works.
Can you show your LivelyInfo file and screenshot of this error?
--now-playing
is not implemented yet as stated in the wiki.
when the --system-information flag is set, the --system-audio flag is automatically set too.
I believe its because your wallpaper LivelyInfo Type
is set to web-audio (this is still retained for compatibility reasons) even though the now recommended way to do it is using --system-audio
flag.
Any time I tried chaining --system-audio and --system-information together using a space or comma, it threw out a error. Would be nice to have some information in the wiki on how to use multiple flags together or which flags contain other flags behind the scenes.
Can you show your LivelyInfo file and screenshot of this error? chaining them with space should work fine.
Sure! Here's the Error displayed when using --now-playing
:
And here's the error for using multiple flags:
Btw, I've glanced through the Wiki quickly again and I didn't find any information about LivelyInfo Types. Did I miss it somewhere? I think I myself just looked at various other Wallpapers and copied them, which is why I ended up with Type: 2. Is there a definition for this in the Wiki? Always good to read up on stuff and a Wiki is more accessible than going through Issues or Code.
Log file:
Click to expand logs!
2022-07-27 21:28:11.2819|INFO|Lively.App|
Lively v2.0.2.4 x64 desktop-native en-GB
OS: Microsoft Windows 10 Pro 10.0.19044
CPU: AMD Ryzen 9 3900X 12-Core Processor
GPU: AMD Radeon RX 5700 XT
2022-07-27 21:28:11.4996|INFO|Lively.Services.TranslucentTBService|Taskbar theme: blur
2022-07-27 21:28:11.5331|INFO|Lively.Services.TranslucentTBService|Taskbar theme service started.
2022-07-27 21:28:12.1797|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Fluids v2 | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\0wj1biqk.f41\fluid.html
2022-07-27 21:28:12.2337|INFO|Lively.Core.WinDesktopCore|Core initialized..
2022-07-27 21:28:12.2337|INFO|Lively.Core.Watchdog.WatchdogProcess|Starting watchdog service...
2022-07-27 21:28:12.6786|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef0: {"Type":0,"Hwnd":328402}
2022-07-27 21:28:12.7174|INFO|Lively.Core.WinDesktopCore|Sending wallpaper(Screen): \\.\DISPLAY2 | {X=0,Y=0,Width=2560,Height=1440}
2022-07-27 21:28:12.7351|INFO|Lively.Core.WinDesktopCore|Sending/Queuing wallpaper(Duplicate): \\.\DISPLAY1
2022-07-27 21:28:12.7351|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Fluids v2 | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\0wj1biqk.f41\fluid.html
2022-07-27 21:28:12.7538|INFO|Lively.Core.Watchdog.WatchdogProcess|Adding program to watchdog: 28508
2022-07-27 21:28:13.0078|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef0: {"Type":2,"Success":true}
2022-07-27 21:28:13.1787|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef1: {"Type":0,"Hwnd":198158}
2022-07-27 21:28:13.1918|INFO|Lively.Core.WinDesktopCore|Sending wallpaper(Screen): \\.\DISPLAY1 | {X=2560,Y=0,Width=2560,Height=1440}
2022-07-27 21:28:13.2284|INFO|Lively.Core.WinDesktopCore|Synchronizing wallpaper (duplicate.)
2022-07-27 21:28:13.2284|INFO|Lively.Core.Watchdog.WatchdogProcess|Adding program to watchdog: 3768
2022-07-27 21:28:13.5080|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef1: {"Type":2,"Success":true}
2022-07-27 21:28:13.7514|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef0: {"Type":2,"Success":true}
2022-07-27 21:28:40.6979|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Elito's Cozy Place | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\LivelyWallpaper\index.html
2022-07-27 21:28:40.8574|ERROR|Lively.Core.WinDesktopCore|Failed launching wallpaper: Process exited before giving HWND.
System.Exception: Oops... Looks like something went wrong :(
In order to better understand this error and fix the issue, share the log file with the developer.
Instructions for sharing log file:
https://github.com/rocksdanister/lively/wiki
2022-07-27 21:28:55.0790|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Elito's Cozy Place | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\LivelyWallpaper\index.html
2022-07-27 21:28:55.2378|ERROR|Lively.Core.WinDesktopCore|Failed launching wallpaper: Process exited before giving HWND.
System.Exception: Oops... Looks like something went wrong :(
In order to better understand this error and fix the issue, share the log file with the developer.
Instructions for sharing log file:
https://github.com/rocksdanister/lively/wiki
2022-07-27 21:28:57.7584|INFO|Lively.App|AppUpdate status: uptodate
I think I myself just looked at various other Wallpapers and copied them, which is why I ended up with Type: 2. Is there a definition for this in the Wiki?
Type is used internally by Lively and users don't have to know about it.
Type is used internally by Lively and users don't have to know about it.
Since Wallpaper creators might have to use it, I still find it interesting. When I leave out the Type field, my Audio visualizer stops. If multiple flags would work for me, I see no problem in not having types documented. But without multi-tags it's problematic.
In fact, I just tried using only the --system-audio tag alone and I got an error:
Click to expand log partial
2022-07-27 21:56:22.7439|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Fluids v2 | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\0wj1biqk.f41\fluid.html
2022-07-27 21:56:23.1553|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef27: {"Type":0,"Hwnd":1050932}
2022-07-27 21:56:23.1731|INFO|Lively.Core.Watchdog.WatchdogProcess|Removing program to watchdog: 22260
2022-07-27 21:56:23.1731|INFO|Lively.Core.WinDesktopCore|Sending wallpaper(Screen): \\.\DISPLAY1 | {X=2560,Y=0,Width=2560,Height=1440}
2022-07-27 21:56:23.2172|INFO|Lively.Core.WinDesktopCore|Sending/Queuing wallpaper(Duplicate): \\.\DISPLAY2
2022-07-27 21:56:23.2172|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Fluids v2 | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\0wj1biqk.f41\fluid.html
2022-07-27 21:56:23.2172|INFO|Lively.Core.Watchdog.WatchdogProcess|Adding program to watchdog: 31572
2022-07-27 21:56:23.4862|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef27: {"Type":2,"Success":true}
2022-07-27 21:56:23.6537|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef28: {"Type":0,"Hwnd":917534}
2022-07-27 21:56:23.6702|INFO|Lively.Core.Watchdog.WatchdogProcess|Removing program to watchdog: 16592
2022-07-27 21:56:23.6702|INFO|Lively.Core.WinDesktopCore|Sending wallpaper(Screen): \\.\DISPLAY2 | {X=0,Y=0,Width=2560,Height=1440}
2022-07-27 21:56:23.7174|INFO|Lively.Core.WinDesktopCore|Synchronizing wallpaper (duplicate.)
2022-07-27 21:56:23.7174|INFO|Lively.Core.Watchdog.WatchdogProcess|Adding program to watchdog: 14548
2022-07-27 21:56:23.8493|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef27: {"Type":2,"Success":true}
2022-07-27 21:56:24.0447|INFO|Lively.Core.Wallpapers.WebCefSharpProcess|Cef28: {"Type":2,"Success":true}
2022-07-27 21:56:24.6361|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Elito's Cozy Place | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\LivelyWallpaper\index.html
2022-07-27 21:56:24.7929|ERROR|Lively.Core.WinDesktopCore|Failed launching wallpaper: Process exited before giving HWND.
System.Exception: Oops... Looks like something went wrong :(
In order to better understand this error and fix the issue, share the log file with the developer.
Instructions for sharing log file:
https://github.com/rocksdanister/lively/wiki
2022-07-27 21:57:06.5823|INFO|Lively.Core.WinDesktopCore|Setting wallpaper: Elito's Cozy Place | C:\Users\ElitoGame\AppData\Local\Lively Wallpaper\Library\wallpapers\LivelyWallpaper\index.html
2022-07-27 21:57:06.7483|ERROR|Lively.Core.WinDesktopCore|Failed launching wallpaper: Process exited before giving HWND.
System.Exception: Oops... Looks like something went wrong :(
In order to better understand this error and fix the issue, share the log file with the developer.
Instructions for sharing log file:
https://github.com/rocksdanister/lively/wiki
In fact, I just tried using only the --system-audio tag alone and I got an error:
Lively don't know what type of wallpaper it is without 'Type' Make it just web (0): https://github.com/rocksdanister/lively/blob/bed8f4df3601f7d241305241f5d818af5b3f6a28/src/Lively/Lively.Common/Enums.cs#L8-L39
Issue resolved
Isn't web Type 1? Type 0 Should just be Application.
Anyway, I tested it again with Type 0 and --system-audio
and I can't even select the correct Background (Elito's Cozy Place).
With Type 1, it throws the same error again.
Thanks roxxel, hope it works once released, will complain here if it doesn't haha!
Its Type 1
my bad.
https://user-images.githubusercontent.com/64275777/181371516-161a31c3-5dc7-4357-9462-7dcd65d986ee.mp4
Demonstration of work
Love it! Thanks, that's gonna fit in nicely =D
In fact, I just tried using only the --system-audio tag alone and I got an error:
Looks like its --audio
and not --system-audio