jellyfin Screensaver - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Development (https://forum.jellyfin.org/f-development) +--- Forum: Plugin Development (https://forum.jellyfin.org/f-plugin-development) +--- Thread: jellyfin Screensaver (/t-jellyfin-screensaver) |
jellyfin Screensaver - Oleg Kosarev - 2024-08-17 Hello, maybe someone can tell me or give me a hint in the documentation, I didn't find how to make a plugin and register it for the screensaver. If I take the standard plugin template, everything is installed and I see the config, but I don't understand how to make a new screen north appear. Ideally, if there are sources and you can look at the sources of "Backdrop Screensaver" In general, ideally, explain in more detail or point me to a page in the documentation where I can read how to use js css html because I already have an example of a screensaver in js css html and I want to put it in.... on the screenshot... RE: jellyfin Screensaver - jennystreaming - 2024-08-17 Would you mind share it? looks cool, hopefully someone can find out how to "convert" it RE: jellyfin Screensaver - thornbill - 2024-08-17 Plugins cannot make ui changes. RE: jellyfin Screensaver - Oleg Kosarev - 2024-08-17 (2024-08-17, 07:02 PM)jennystreaming Wrote: Would you mind share it? looks cool, hopefully someone can find out how to "convert" it In fact, the code was written quite quickly and is of low quality. This web application displays the current time, a weather report with dynamic background images, and updates data every hour. The code does not adhere to SOLID principles, and translations are stored directly in JavaScript. I can fully document and send an archive, but I'm concerned it may be perceived as bad code. P.S. I have posted the code at Dynamic Nightlight SRC. If anyone needs it, feel free to take and use it. Please keep in mind that the quality of the code is not ideal. I would appreciate if you could avoid harsh criticism, and I might work on improving it in the future. P.S. While I was out at the store, I had a thought: if plugins cannot make UI changes (2024-08-17, 08:59 PM)thornbill Wrote: Plugins cannot make UI changes., perhaps we could consider creating a Windows screensaver instead. With that in mind, I have a question for the developers: is it possible to somehow obtain the current playback state (play/pause/stop) and, if so, is it possible to retrieve the fanart of what is currently playing or paused through a token? This could allow us to partially implement my screensaver idea. RE: jellyfin Screensaver - jennystreaming - 2024-08-18 Probably an unpopular opinon but I really hope you get a positive feedback on that, feel that devs have been kind of shot down lately and lots of suggestions are simply "not support, or not in the plans". (2024-08-17, 09:39 PM)Oleg Kosarev Wrote:(2024-08-17, 07:02 PM)jennystreaming Wrote: Would you mind share it? looks cool, hopefully someone can find out how to "convert" it RE: jellyfin Screensaver - Oleg Kosarev - 2024-08-18 (2024-08-18, 06:37 PM)jennystreaming Wrote: Probably an unpopular opinon but I really hope you get a positive feedback on that, feel that devs have been kind of shot down lately and lots of suggestions are simply "not support, or not in the plans". I think so too... yesterday I tried to transfer mine to c# for further conversion into a regular windows screensaver, but since I basically wrote console applications in c#, I don't have enough knowledge to do it correctly and just as beautifully... I'll think further about how to implement this... RE: jellyfin Screensaver - Oleg Kosarev - 2024-08-21 (2024-08-17, 07:02 PM)jennystreaming Wrote: Would you mind share it? looks cool, hopefully someone can find out how to "convert" it Hi! I've made some progress in the organization. On the Linux server where Jellyfin runs, I installed a minimal GUI shell with a browser and now I run it in the browser in full screen. Basically, I partially achieved my goal. I've changed the logic dramatically: I added display of playback status and getting fanart, if available. The logic is as follows: 1) If the music is paused or playing, the fanart is displayed (if any); if there is no fanart, the current weather image is used. 2) If nothing is playing, the current weather image is always shown. I plan to finish working on the date in the next few days and conduct a full test. If you are interested, I can send you the source code. RE: jellyfin Screensaver - Oleg Kosarev - 2024-08-29 Released version 1.5.0, all configuration is in the js/config.js file, custom styles are placed in resources/css/custom.css The Play/Pause button is interactive (when pressed, the suggested action is performed) I plan to also attach an album cover next to the clock on the left and so that you can scroll back and forth through songs... P.S. Since I have it almost at the exit, it is more convenient for me to poke my finger on the monitor to pause or continue playback when I leave or come in and almost not monitor whether I turned off the muse on the computer or not... |