Jump to content

Message Plugin [testing]


chef

Recommended Posts

Liquidfire88

...

 

...       automatically send when each user logins in.

 

...

this would be amazing.  very much looking forward to this feature!

Link to comment
Share on other sites

Liquidfire88

Ive noticed that while the popup message feature works in Emby Theater (on xbox) it shows up and goes away very quickly.  is there any way it could stay on the screen longer?  (preferably at a user set time frame in seconds)

Link to comment
Share on other sites

chef

Ive noticed that while the popup message feature works in Emby Theater (on xbox) it shows up and goes away very quickly. is there any way it could stay on the screen longer? (preferably at a user set time frame in seconds)

 

Yep! I'll add it right away.

 

I'm having a heck of a time trying to target user sessions.

 

I wanted to let you guys select the users to target and then send them messages when they log on, but even though my code seems right, for some reason it will send a message to only the first user in the list of session users and then stop.

 

Driving me nuts! This particular request has shown up serval times in the community and I really want it to work.

Link to comment
Share on other sites

tymanthius

Just found this. It's great!

 

I tested while logged into my server via a laptop in chrome and also playing something in the Roku Beta App (3.0.33) and I'm on server version 3.2.20.14.

 

I got a msg that disappeared quickly on the laptop, and nothing on the Roku.

 

Just letting you know.  :)

Link to comment
Share on other sites

@@tymanthius the blue neon night app is the only app for roku which supports this so far. The server has had this capability for years, using the remote control "send message" interface. My thinking is ebr just hasnt gotten around to filling this hole yet. Once this plugin goes public, likely support will come officially on roku too.

 

Sent from my Nexus 7 using Tapatalk

  • Like 1
Link to comment
Share on other sites

chef

I also have a version which can target users specifically and it is working.

 

, but the wait and send a message when user logs on is giving me trouble.

 

I had some help in the API form to properly update the configuration, but I gotta work on getting the messages sent - after the session start event is triggered and the UI has fully loaded.

 

That's the trick, and unfortunately the hold up right now.

  • Like 1
Link to comment
Share on other sites

mwongjay

I also have a version which can target users specifically and it is working.

 

, but the wait and send a message when user logs on is giving me trouble.

 

I had some help in the API form to properly update the configuration, but I gotta work on getting the messages sent - after the session start event is triggered and the UI has fully loaded.

 

That's the trick, and unfortunately the hold up right now.

 

If you need someone to review the code or address issues let me know

  • Like 1
Link to comment
Share on other sites

chef

There is a beta in the catalog with all the feature requests filled :)

Edited by chef
Link to comment
Share on other sites

hooray4me

Is this the latest release?

1.0.6398.5374 (Release)

 

I have not been able to get notifications to work on FireTV or FireTV Sticks... should this be working yet?

Edited by robrhedrick
Link to comment
Share on other sites

chef

Is this the latest release?

1.0.6398.5374 (Release)

 

I have not been able to get notifications to work on FireTV or FireTV Sticks... should this be working yet?

Can you please post a fresh log that captures the time you try and send a message.

 

Yes I believe @@ebr has fire tv sticks using messages. Or maybe not?

Edited by chef
Link to comment
Share on other sites

hooray4me

I sent the notification right at 15:44...

 

2017-07-09 15:44:08.1800 Info HttpServer: HTTP Response 200 to 172.17.17.15. Time: 10ms. http://172.17.17.50:8096/emby/videos/642bb7745b635909e665da6afe1d4337/hls1/main/184.ts?DeviceId=c0590d7d29f978ba&MediaSourceId=642bb7745b635909e665da6afe1d4337&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,eac3,aac,mp3&AudioStreamIndex=1&VideoBitrate=2616000&AudioBitrate=384000&MaxAudioChannels=6&MaxFramerate=60&Level=51&Profile=high&PlaySessionId=3092f63e4be6457fb3eff7f405ed8a75&CopyTimestamps=true&EnableSubtitlesInManifest=false&Tag=e37c7c5b5287976654652d52ba301eb6&RequireAvc=false&RequireNonAnamorphic=false&DeInterlace=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerBitrateExceedsLimit Headers: Content-Type=video/mp2t, Accept-Ranges=bytes, ETag="42e9a061e5257c8b3813eb37d5828083", Cache-Control=public, Server=Microsoft-NetCore/2.0, UPnP/1.0 DLNADOC/1.50, Date=Sun, 09 Jul 2017 20:44:08 GMT, Content-Length=1185716
2017-07-09 15:44:09.3673 Info HttpServer: HTTP POST http://tv2.chucklehead.lol:8096/emby/Messenger/Message. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
2017-07-09 15:44:09.3677 Info HttpServer: HTTP GET http://tv2.chucklehead.lol:8096/emby/Plugins/80c81cfd-3a48-4f6c-a146-cce1ad31ffd9/Configuration. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
2017-07-09 15:44:09.3695 Info HttpServer: HTTP Response 200 to 10.40.2.56. Time: 2ms. http://tv2.chucklehead.lol:8096/emby/Messenger/Message
2017-07-09 15:44:09.3716 Info HttpServer: HTTP Response 200 to 10.40.2.56. Time: 4ms. http://tv2.chucklehead.lol:8096/emby/Plugins/80c81cfd-3a48-4f6c-a146-cce1ad31ffd9/Configuration

2017-07-09 15:44:09.3796 Info HttpServer: HTTP POST http://tv2.chucklehead.lol:8096/emby/Plugins/80c81cfd-3a48-4f6c-a146-cce1ad31ffd9/Configuration. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
2017-07-09 15:44:09.3826 Info HttpServer: HTTP Response 204 to 10.40.2.56. Time: 3ms. http://tv2.chucklehead.lol:8096/emby/Plugins/80c81cfd-3a48-4f6c-a146-cce1ad31ffd9/Configuration
2017-07-09 15:44:15.6955 Info HttpServer: HTTP GET http://tv2.chucklehead.lol:8096/emby/System/Logs/Log?name=server-63635155200.txt. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
2017-07-09 15:44:16.5173 Info HttpServer: HTTP Response 200 to 10.40.2.56. Time: 822ms. http://tv2.chucklehead.lol:8096/emby/System/Logs/Log?name=server-63635155200.txt
2017-07-09 15:44:17.8609 Info HttpServer: HTTP POST http://172.17.17.50:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; AFTS Build/LVY48F)
2017-07-09 15:44:17.8648 Info HttpServer: HTTP Response 204 to 172.17.17.15. Time: 4ms. http://172.17.17.50:8096/emby/Sessions/Playing/Progress
2017-07-09 15:44:25.6195 Info HttpServer: HTTP GET http://172.17.17.50:8096/emby/videos/642bb7745b635909e665da6afe1d4337/hls1/main/185.ts?DeviceId=c0590d7d29f978ba&MediaSourceId=642bb7745b635909e665da6afe1d4337&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,eac3,aac,mp3&AudioStreamIndex=1&VideoBitrate=2616000&AudioBitrate=384000&MaxAudioChannels=6&MaxFramerate=60&Level=51&Profile=high&PlaySessionId=3092f63e4be6457fb3eff7f405ed8a75&CopyTimestamps=true&EnableSubtitlesInManifest=false&Tag=e37c7c5b5287976654652d52ba301eb6&RequireAvc=false&RequireNonAnamorphic=false&DeInterlace=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerBitrateExceedsLimit. User-Agent=Emby/1.4.17a (Linux;Android 5.1.1) ExoPlayerLib/2.2.0, Accept-Encoding=identity, Host=172.17.17.50:8096, Connection=Keep-Alive
2017-07-09 15:44:25.6226 Info HttpResultFactory: Transmit file /var/lib/emby-server/transcoding-temp/faf4353c0c60183d278093c80cf0ecde185.ts

Link to comment
Share on other sites

chef

I guess fire tv doesn't respond to messages yet. The end point return 200 status, but the plugin will only send messages to clients which can recieve them.

Edited by chef
Link to comment
Share on other sites

I guess fire tv doesn't respond to messages yet. The end point return 200 status, but the plugin will only send messages to clients which can recieve them.

 

It is in the beta version of the app.

  • Like 1
Link to comment
Share on other sites

hooray4me

It is in the beta version of the app.

are you saying that is working in the beta version? If so where can I find the beta to try out?

Link to comment
Share on other sites

chef

Sending messages to admins has to be added too the core. I might be better to set up email with your domain to handle requests and messages.

 

Unless the lead devs want to add that to the core.

Link to comment
Share on other sites

chef

I am going to add the ability to send a message on a certain date.

 

I just found a cercumstance where that would be a good idea.

Edited by chef
Link to comment
Share on other sites

  • 1 month later...
horstepipe

hey @@chef

is this plugin still in development?

I see that sending a message to a specific user has been added to the core, but I need the broadcast function of your addon.

In v1.0.6398.5405 the UI of the plugin is totally messed up here. The dropbox link is dead, too. So I'm wondering if the plugin is dead or not?

Link to comment
Share on other sites

chef

@@horstepipe

 

It is in the catalog. it is called 'Messages'.

 

Please let me know if there is anything else I can help you with.

Edited by chef
Link to comment
Share on other sites

horstepipe

@@horstepipe

 

It is in the catalog. it is called 'Messages'.

 

Please let me know if there is anything else I can help you with.

thank you, I was just confused because the version I had was higher than the one in the catalogue for some reason.

Installed the one from the catalogue and everything looks fine, thank you :-)

Link to comment
Share on other sites

  • 1 month later...

Sorry about the delay. Had some personal things to undertake, but ready to get things rolling again.

 

I'll take a look tonight and see if I can figure out this .net core thingy...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...