yocker 1247 Posted May 16, 2025 Posted May 16, 2025 This plugin will detect if users are transcoding and if they are send a custom message to that user. The custom message can be changed in the settings as well as how many times the message should be sendt and what users should not receive any. This was made to help admins that has users that needlessly transcode so they can automatically inform the users to increase the quality of the video. It can be found at the following Github: yocksers/TranscodeNotifier: Sends a custom message to users that transcode. As always.. Do with it what you will, change it in any way you want but keep it open source! 6 1
kikinjo 281 Posted May 16, 2025 Posted May 16, 2025 Nice one yocker. You built in 2 plugins in 2 weeks more useful, than whole emby team in a year. 2
Amything 122 Posted May 16, 2025 Posted May 16, 2025 Very cool. Would you release it to the Emby Catalog? 1
yocker 1247 Posted May 16, 2025 Author Posted May 16, 2025 1 hour ago, kikinjo said: Nice one yocker. You built in 2 plugins in 2 weeks more useful, than whole emby team in a year. Haha, it did ruin my sleep pattern to do so. I do think the Emby team does an amazing job though. 2 minutes ago, Amything said: Very cool. Would you release it to the Emby Catalog? This one might be allowed there but no. It's a band aid to something that will change in Emby in the future i'm sure, plus it was just something i put together in response to a post from @Neureka Happy you all like it! 1
bakes82 167 Posted May 17, 2025 Posted May 17, 2025 9 hours ago, kikinjo said: Nice one yocker. You built in 2 plugins in 2 weeks more useful, than whole emby team in a year. Just wait a few months when he stops supporting the plugins. Most don’t keep support up because it’s painful. Supporting the Emby store thing is all manual also.
yocker 1247 Posted May 17, 2025 Author Posted May 17, 2025 (edited) 54 minutes ago, bakes82 said: Just wait a few months when he stops supporting the plugins. Most don’t keep support up because it’s painful. Supporting the Emby store thing is all manual also. Transcodenotifier was just something thrown together in response to posts in here, it works as it should but is meant for others to keep building. Only released because it works and in case people can use it. EmbyIcons i will keep updating as long as i use it my self or until CoverArt has the same functionality. I made it because CoverArt doesn't have this functionality yet. They are both tested and working with the beta version of Emby so should be future proof for a while. I have no plans of making a catalog release for them. You are more than welcome to copy the code, change it in anyway and even make it your own. All i ask is that you keep it open source. Edited May 17, 2025 by yocker
yocker 1247 Posted May 17, 2025 Author Posted May 17, 2025 (edited) New version up with optimizations No longer requires a restart of server for new settings to take effect. Added settings to add delay to the messages. As always, change it, copy it and even make it your own.. Just please keep it open source! Edited May 17, 2025 by yocker
kikinjo 281 Posted May 17, 2025 Posted May 17, 2025 @yocker Can u please implement option to define for how much seconds message is visible ? Now it shown 2 seconds, need this message to be seen longer. Also text is pretty small, option to double / triple it would also come in handy cheers
yocker 1247 Posted May 17, 2025 Author Posted May 17, 2025 (edited) 20 minutes ago, kikinjo said: @yocker Can u please implement option to define for how much seconds message is visible ? Now it shown 2 seconds, need this message to be seen longer. Also text is pretty small, option to double / triple it would also come in handy cheers They are good ideas but sadly not something that can't be implemented as the command used in the plugin doesn't support this. It would require the Emby team to change it. The message sent is the same you can already send manually via the dashboard. The only thing that can sort of remedy the duration is to send the message multiple times. If you use the latest version there are settings for the delay of the messages so you can "sort of" get it to look like the messages stays longer. Sorry. Edited May 17, 2025 by yocker
bakes82 167 Posted May 17, 2025 Posted May 17, 2025 2 hours ago, yocker said: They are good ideas but sadly not something that can't be implemented as the command used in the plugin doesn't support this. It would require the Emby team to change it. The message sent is the same you can already send manually via the dashboard. The only thing that can sort of remedy the duration is to send the message multiple times. If you use the latest version there are settings for the delay of the messages so you can "sort of" get it to look like the messages stays longer. Sorry. The sendMessage takes in a value for that, thought depending on device it might not do anything lol, much like most of emby things everything is device specific they dont tell you that and things dont always work as you think. The TimeoutMs field acts as a "bool" even though its an int, if you pass it a value/null will either present as a popup/toast and auto close after I think like 2 seconds, or present and stay with a "close" button. IIRC you can test with the web browser to see it appear and stay with the X to close. I asked what clients support this they couldnt confirm _sessionManager.SendMessageCommand(null, sessionId, new MessageCommand { Header = "Transcode Warning", Text = msg, TimeoutMs = options.NagMessagesRequireClose ? null : 1 }, CancellationToken.None);
yocker 1247 Posted May 17, 2025 Author Posted May 17, 2025 22 minutes ago, bakes82 said: The sendMessage takes in a value for that, thought depending on device it might not do anything lol, much like most of emby things everything is device specific they dont tell you that and things dont always work as you think. The TimeoutMs field acts as a "bool" even though its an int, if you pass it a value/null will either present as a popup/toast and auto close after I think like 2 seconds, or present and stay with a "close" button. IIRC you can test with the web browser to see it appear and stay with the X to close. I asked what clients support this they couldnt confirm _sessionManager.SendMessageCommand(null, sessionId, new MessageCommand { Header = "Transcode Warning", Text = msg, TimeoutMs = options.NagMessagesRequireClose ? null : 1 }, CancellationToken.None); Already tested it, it did nothing for me with the devices I have to test with so I removed it again.
bakes82 167 Posted May 17, 2025 Posted May 17, 2025 44 minutes ago, yocker said: Already tested it, it did nothing for me with the devices I have to test with so I removed it again. So you didn't test with web browser? The value might need to specifically be "1". If you search the dev forums this was discussed, but it "does" work on "some" clients I dont remember what the other ones were other than web off the top of my head.
yocker 1247 Posted May 17, 2025 Author Posted May 17, 2025 (edited) 1 hour ago, bakes82 said: So you didn't test with web browser? The value might need to specifically be "1". If you search the dev forums this was discussed, but it "does" work on "some" clients I dont remember what the other ones were other than web off the top of my head. Tested it with a Samsung device though in hindsight they might not support the messages at all. Wasn't home when i tried and was bored. Should have the version with it somewhere though, complete with a setting for it. Edit: It's up. Setting to enable and disable it. Enabling it will disable the delay between messages and the number of messages to avoid conflicts. Edited May 17, 2025 by yocker
bakes82 167 Posted May 17, 2025 Posted May 17, 2025 Yeah welcome to the pain that is Emby Now if you want to make the #1 most requested plugin heres what most people want if you wish to try and built and release for people lol, but be warned people will complain about everything when it doesnt work because xx device doesnt have xx feature and if you cant test it yourself it becomes a huge PITA. I also log the kills in the activity log so you can see those from the dashboard with the transcode json info so the admin can see the reasons, also helps with those clients that dont show any message and what not.
yocker 1247 Posted May 17, 2025 Author Posted May 17, 2025 I believe the statistic plugin already does that, not sure. Don't want to take functions from other plugins. Many thanks for the help though!
bakes82 167 Posted May 18, 2025 Posted May 18, 2025 There is no plugin currently that Kills transcodes, and its one the of most requested features, and probably what whoever you make this plugin really wants. Other people where also looking for a "notification" plugin so they could send messages to users which you could implement roughly the same way, but you would need to expand some things if you wanted to support per user/specific times/# of times to appear etc.
kikinjo 281 Posted June 14, 2025 Posted June 14, 2025 This is so useful plugin, but it has one problem . It activates even if video is not transcoded but audio is. For example if u play something in web browser, audio is transcoded, and plugin pops up, regardless that video is direct playing.
yocker 1247 Posted June 15, 2025 Author Posted June 15, 2025 It's a good point and i will take a look at it, no promise for when though. 1
yocker 1247 Posted June 16, 2025 Author Posted June 16, 2025 On 6/14/2025 at 6:53 PM, kikinjo said: This is so useful plugin, but it has one problem . It activates even if video is not transcoded but audio is. For example if u play something in web browser, audio is transcoded, and plugin pops up, regardless that video is direct playing. Try this. TranscodeNotifier.dll 1
kikinjo 281 Posted June 16, 2025 Posted June 16, 2025 Now it pops out only on video ? (will try it tonight)
kikinjo 281 Posted June 18, 2025 Posted June 18, 2025 On 6/16/2025 at 7:24 PM, yocker said: Theres a settings for it Cheers. Working great. Thank you for implementing this change. 1
yocker 1247 Posted June 18, 2025 Author Posted June 18, 2025 1 hour ago, kikinjo said: Cheers. Working great. Thank you for implementing this change. Happy you like it.
yocker 1247 Posted June 18, 2025 Author Posted June 18, 2025 New version up. Added option to always send a message when video play starts and a setting for what message should say. This is meant as a kind of MOTD or warning that server will be down this and this day or something like that. Download at: TranscodeNotifier
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