Kodi Community Forum
Android Yatse: Full featured Kodi Remote (Widgets, Streaming, Offline media, ...) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: Android Yatse: Full featured Kodi Remote (Widgets, Streaming, Offline media, ...) (/showthread.php?tid=117885)



- Tolriq - 2012-02-24

Montellese have already corrected this Smile

It's cool to see people that help so much the Xbmc Ecosystem.


- Tolriq - 2012-02-25

After some tests for keyboard, finally I'll use the EventServer and fail-back to HttpApi only for unsupported characters / languages.

The HttpApi is really not good enough if you want to type fast on the keyboard, some keys are missed....

So needs Eden RC1 for that.

Sorry guys.


- warlion - 2012-02-25

Not to worry we can wait Smile thank for the amazing work


- oneadvent - 2012-02-26

I can't seem to get it to know I'm playing something, but the pause works anyway.

I'm on Android 4, the Transformer Prime tablet...what can I do to help?


- Tolriq - 2012-02-26

Well triple check that your Xbmc settings are correct and that you are using at least Xbmc Eden Beta 1.

Then triple check the Widget settings, the remote part does not use Json, for the now playing you need the correct ip / port / login and password.

If the widget says not connected, check the settings about Wifi only or your SSID.

Works perfectly here on my prime as all other devices, and all reports on the widget not getting the data where a matter of configurations.

If you are unsure of what settings can be wrong in the widget you can clear the app data via Android settings, or uninstall reinstall the widget to start from scratch.


- oneadvent - 2012-02-26

Hmmm, seems to have cleared itself...not sure what happened.


- hikaricore - 2012-02-26

Call notification doesn't seem to be working. The app will pause or mute, but even with debug logging on I don't see any indication of a call notification being sent to the server. Anyone else seeing this or is it just me?


- Tolriq - 2012-02-26

The notification is done vie EventServer so check that Xbmc have the correct options activated.

Check http://yatse.leetzone.org/redmine/projects/androidwidget/wiki/XbmcConfig


- hikaricore - 2012-02-26

It seems everything should be in order, as I said I can confirm notification is working just not with the widget. Using an example such as: http://192.168.1.89:7654/xbmcCmds/xbmcHttp?command=ExecBuiltIn(Notification(testing,testing123)) works perfectly, as do the functions of pausing and muting when a call comes in if I enable them on my phone. Upon checking the error log with debug enabled there is simply no notification being sent to the server, so nothing comes up. Here's a screenshot of my config, which should be sufficient: http://img.photobucket.com/albums/v414/hikari_corgan/xbmc1-1.jpg At the very least I should be seeing an error in the debug log right? I also swapped skins and restarted xbmc as well as my phone to be sure all the settings took effect and that the skin wasn't to blame. If play/mute are working on call then the issue isn't shouldn't be my phone not notifying the widget that there is a call. If either of these wouldn't work I'd just assume it's my phone, but since they do I figured it must be something else and thought asking here would be my best bet. ^_^ No worries if you're stumped, but if anyone at all can provide some insight into this I would appreciate it. Also if I'm leaving anything out detail/info wise please let me know and I'll provide it.


- Tolriq - 2012-02-27

As i said i use EventServer for the notification and not Json or HttpApi. So both your Http test and the play pause is irrelevant for the notification test Smile

It use the 9777 port since your config looks good perhaps you change that port in advanced config or close it in your firewall.

Does all the buttons works in the remote screen ?


- hikaricore - 2012-02-27

Ah sorry about that, i'll check to see that the port is accessible on my local network. Yes all the buttons on the widget and in the app itself work properly, do they work via the eventserver as well?


- Tolriq - 2012-02-27

Half of them use the EventServer Smile (It's 9777 udp)

If all buttons works then it might be another thing Smile

What version of Xbmc do you use ?


- hikaricore - 2012-02-27

My current version is a month and a week old git build:

XBMC (11.0-PRE Git:20120119-722a0f2), Platform: Linux (Ubuntu 11.10, 3.0.0-16-generic-pae i686). Built on Jan 19 2012
Normally my first idea would be to update, but after this point there's a compilation issue /w external ffmpeg so I can't.

Basic events seem to be getting processed:
Code:
18:13:00 T:2929789808   DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Player.PlayPause","params":{"playerid":1}}
18:13:00 T:2929789808   DEBUG: JSONRPC: Calling player.playpause
18:13:00 T:2929789808   DEBUG: CAnnouncementManager - Announcement: OnPause from xbmc
18:13:00 T:2929789808   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPause
18:13:00 T:2991790384   DEBUG: ------ Window Init (DialogSeekBar.xml) ------
18:13:01 T:2929789808   DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Application.SetMute","params":{"mute":"toggle"}}
18:13:01 T:2929789808   DEBUG: JSONRPC: Calling application.setmute
18:13:01 T:2929789808   DEBUG: JSONRPC: Type mismatch in type
18:13:01 T:2991790384   DEBUG: ------ Window Init (DialogMuteBug.xml) ------
18:13:02 T:2929789808   DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Application.SetMute","params":{"mute":"toggle"}}
18:13:02 T:2929789808   DEBUG: JSONRPC: Calling application.setmute
18:13:02 T:2929789808   DEBUG: JSONRPC: Type mismatch in type
18:13:02 T:2991790384   DEBUG: ------ Window Deinit (DialogMuteBug.xml) ------

Calling with mute on call enabled so it's clearly triggering from the call (again the same with pause):
Code:
18:15:54 T:2929789808   DEBUG: JSONRPC: Calling player.getitem
18:15:58 T:2929789808   DEBUG: JSONRPC: Incoming request: {"id":1,"jsonrpc":"2.0","method":"Application.SetMute","params":{"mute":"toggle"}}
18:15:58 T:2929789808   DEBUG: JSONRPC: Calling application.setmute
18:15:58 T:2929789808   DEBUG: JSONRPC: Type mismatch in type
18:15:58 T:2991790384   DEBUG: ------ Window Deinit (DialogMuteBug.xml) ------
18:15:59 T:2929789808   DEBUG: JSONRPC: Incoming request: [{"id":0,"jsonrpc":"2.0","method":"Player.GetActivePlayers"},{"id":1,"jsonrpc":"2.0","method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
18:15:59 T:2929789808   DEBUG: JSONRPC: Calling player.getactiveplayers
18:15:59 T:2929789808   DEBUG: JSONRPC: Calling application.getproperties
18:15:59 T:2929789808   DEBUG: JSONRPC: Incoming request: [{"id":2,"jsonrpc":"2.0","method":"Player.GetProperties","params":{"playerid":1,"properties":["audiostreams","canseek","currentaudiostream","currentsubtitle","partymode","percentage","playlistid","position","repeat","shuffled","speed","subtitleenabled","subtitles","time","totaltime","type"]}},{"id":3,"jsonrpc":"2.0","method":"Player.GetItem","params":{"playerid":1,"properties":["album","albumartist","artist","director","episode","fanart","file","genre","plot","rating","season","showtitle","studio","tagline","thumbnail","title","track","writer","year"]}}]
18:15:59 T:2929789808   DEBUG: JSONRPC: Calling player.getproperties
18:15:59 T:2929789808   DEBUG: JSONRPC: Calling player.getitem

However I still don't see a notification on call (without one of those set) being sent anywhere in the log. :/
Looking in the settings xml file under services I can see that the correct port 9777 is being used.
And since you said the other buttons use eventserver and every single one works I'm simply baffled.


- Tolriq - 2012-02-27

EventServer does not log anything for notifications so you can seek a long time Smile

The 2 last options are if all remote buttons works :
- You have not selected the option in Yatse Widget for notifications on calls.
- Your xbmc build have problem, perhaps try an official Beta 3 build.

The notification works well on all my xbmc whatever phone i use, and i get confirmations that it works also for many people.

The code related is really simple if call and notification setting send notification. Just after the pause so if the pause works the notification is send that sure.


- oneadvent - 2012-02-27

Okay think I figured it out. It doesn't show what is playing when I start the show by sending it from mynet, it does otherwise.

Even though the media started on xbmc, maybe it sees it coming from the transformer instead and therefore had no fan art