sunnyhd / homeintouch

A home automation project using socket.io
2 stars 0 forks source link

XBMC notifications in the EIB client connection #32

Open sunnyhd opened 12 years ago

sunnyhd commented 12 years ago

XBMC notifications in the EIB client connection (which only issued a "hitbot_listen eibd") and EIB notifications in theXBMC client connection (which only issued a "hitbot_listen xbmc")

scttnlsn commented 12 years ago

Also noticed that sometimes an XBMC response is not fully returned. Here's an example response from a GetMovies call:

{"id":1,"jsonrpc":"2.0","result":{"limits":{"end":20,"start":0,"total":249},"movies":[{"file":"smb://kb:k1klaus@192.168.2.3/Videos/To Yuma (2007)/VIDEO_TS/VIDEO_TS.IFO","genre":"Action / Crime / Drama / Western","label":"3:10 to Yuma","lastplayed":"2012-06-25 16:00:30","movieid":145,"mpaa":"Rated R for violence and some language.","playcount":0,"rating":7.9000000953674316406,"resume":{"position":1331.64111328125,"total":7071},"runtime":"117","thumbnail":"special://masterprofile/Thumbnails/Video/5/54ad09e6.tbn","year":2007},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/10000_BC_2008.VOB","genre":"Action / Adventure / Drama / Thriller","label":"10,000 BC","lastplayed":"2012-06-24 17:59:13","movieid":159,"mpaa":"Rated PG-13","playcount":0,"rating":6.3000001907348632812,"resume":{"position":437.70703125,"total":3967},"runtime":"66","thumbnail":"special://masterprofile/Thumbnails/Video/a/af5a9e5a.tbn","year":2008},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/16 BLOCKS (2006)/VIDEO_TS/VIDEO_TS.IFO","genre":"Action / Crime / Drama / Thriller","label":"16 Blocks","lastplayed":"2012-06-21 09:16:08","movieid":67,"mpaa":"Rated PG-13 for violence, intense sequences of action, and some strong language.","playcount":15,"rating":6.6999998092651367188,"resume":{"position":0,"total":0},"runtime":"105 min  | Philippines:110 min","thumbnail":"special://masterprofile/Thumbnails/Video/1/13753caf.tbn","year":2006},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/17_again_2009.VOB","genre":"Comedy / Drama / Fantasy / Family","label":"17 Again","lastplayed":"2012-06-23 19:53:03","movieid":156,"mpaa":"Rated PG-13","playcount":5,"rating":6.5,"resume":{"position":1054.5419921875,"total":5864},"runtime":"97","thumbnail":"special://masterprofile/Thumbnails/Video/0/08ee9681.tbn","year":2009},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/21_2008.VOB","genre":"Crime / Drama","label":"21","lastplayed":"2012-06-21 18:37:34","movieid":157,"mpaa":"Rated PG-13","playcount":2,"rating":7.4000000953674316406,"resume":{"position":491.0040283203125,"total":7213},"runtime":"120","thumbnail":"special://masterprofile/Thumbnails/Video/2/2315fdfa.tbn","year":2008},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/27 DRESSES (2008)/VIDEO_TS/VIDEO_TS.IFO","genre":"Comedy / Romance","label":"27 Dresses","lastplayed":"2012-06-23 22:46:37","movieid":68,"mpaa":"Rated PG-13 for language, some innuendo and sexuality.","playcount":0,"rating":6.0999999046325683594,"resume":{"position":1265.2410888671875,"total":6374},"runtime":"106","thumbnail":"special://masterprofile/Thumbnails/Video/8/81768287.tbn","year":2008},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/300 (2006)/VIDEO_TS/VIDEO_TS.IFO","genre":"Action / Fantasy / War","label":"300","lastplayed":"2012-06-21 18:34:34","movieid":69,"mpaa":"Rated R for graphic battle sequences throughout, some sexuality and nudity.","playcount":8,"rating":7.8000001907348632812,"resume":{"position":0,"total":0},"runtime":"117 min","thumbnail":"special://masterprofile/Thumbnails/Video/3/38f4f9ac.tbn","year":2006},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/1408 (2007)/VIDEO_TS/VIDEO_TS.IFO","genre":"Horror / Thriller","label":"1408","lastplayed":"2012-06-22 16:19:21","movieid":70,"mpaa":"Rated PG-13 for thematic material including disturbing sequences of violence and terror, frightening images and language.","playcount":2,"rating":6.9000000953674316406,"resume":{"position":0,"total":0},"runtime":"104 min  | 112 min (director's cut)","thumbnail":"special://masterprofile/Thumbnails/Video/3/3bdb01f7.tbn","year":2007},{"file":"smb://kb:k1klaus@192.168.2.3/xbmc_trailer/2012 (2009).mov","genre":"Action / Science Fiction / Thriller","label":"2012","lastplayed":"2012-06-20 11:05:40","movieid":45,"mpaa":"Rated PG-13","playcount":20,"rating":5.8000001907348632812,"resume":{"position":0,"total":0},"runtime":"2","thumbnail":"special://masterprofile/Thumbnails/Video/5/5ffe2442.tbn","year":2009},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/2012_2009.VOB","genre":"Action / Adventure / Drama / Thriller","label":"2012","lastplayed":"2012-06-23 18:47:52","movieid":158,"mpaa":"Rated PG-13","playcount":0,"rating":6.5,"resume":{"position":441.253021240234375,"total":9324},"runtime":"155","thumbnail":"special://masterprofile/Thumbnails/Video/d/d54c6dcb.tbn","year":2009},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/A BEAUTIFUL MIND (2001)/VIDEO_TS/VIDEO_TS.IFO","genre":"Biography / Drama","label":"A Beautiful Mind","lastplayed":"2012-06-24 08:44:37","movieid":71,"mpaa":"Rated PG-13 for intense thematic material, sexual content and a scene of violence.","playcount":5,"rating":7.9000000953674316406,"resume":{"position":0,"total":0},"runtime":"129","thumbnail":"special://masterprofile/Thumbnails/Video/0/0f486c01.tbn","year":2001},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/The MIGHTY HEART (2007)/title00.mkv","genre":"Drama / Thriller / Indie","label":"A Mighty Heart","lastplayed":"2012-06-20 18:03:50","movieid":269,"mpaa":"Rated R","playcount":1,"rating":7.6999998092651367188,"resume":{"position":0,"total":0},"runtime":"103","thumbnail":"special://masterprofile/Thumbnails/Video/b/b7c1bc2e.tbn","year":2007},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/a_walk_to_remember_2002.VOB","genre":"Drama / Romance / Family","label":"A Walk to Remember","lastplayed":"2012-06-13 09:22:18","movieid":160,"mpaa":"Rated PG","playcount":0,"rating":8.1999998092651367188,"resume":{"position":286.970001220703125,"total":3269},"runtime":"54","thumbnail":"special://masterprofile/Thumbnails/Video/d/d31464f5.tbn","year":2002},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/ABOUT A BOY (2002)/VIDEO_TS/VIDEO_TS.IFO","genre":"Comedy / Drama / Romance","label":"About a Boy","lastplayed":"2012-06-14 15:06:27","movieid":72,"mpaa":"Rated PG-13 for brief strong language and some thematic elements.","playcount":0,"rating":7.4000000953674316406,"resume":{"position":232.8410186767578125,"total":5823},"runtime":"97","thumbnail":"special://masterprofile/Thumbnails/Video/b/b721d9e6.tbn","year":2002},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/ALONG CAME POLLY (2004)/VIDEO_TS/VIDEO_TS.IFO","genre":"Comedy / Romance","label":"Along Came Polly","lastplayed":"2012-06-23 21:39:45","movieid":73,"mpaa":"Rated PG-13 for sexual content, language, crude humor and some drug references.","playcount":0,"rating":5.8000001907348632812,"resume":{"position":724.041015625,"total":5190},"runtime":"86","thumbnail":"special://masterprofile/Thumbnails/Video/d/dbc500b2.tbn","year":2004},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/AMERICAN GANGSTER (2007)/VIDEO_TS/VIDEO_TS.IFO","genre":"Crime / Drama","label":"American Gangster","lastplayed":"","movieid":74,"mpaa":"Rated R for violence, pervasive drug content and language, nudity and sexuality.","playcount":0,"rating":8,"resume":{"position":0,"total":0},"runtime":"157 min  | USA:176 min (unrated version)","thumbnail":"special://masterprofile/Thumbnails/Video/4/40fc1594.tbn","year":2007},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/An Inconvenient Truth (2006)/VIDEO_TS/VIDEO_TS.IFO","genre":"Documentary","label":"An Inconvenient Truth","lastplayed":"","movieid":75,"mpaa":"Rated PG for mild thematic elements.","playcount":0,"rating":8,"resume":{"position":0,"total":0},"runtime":"100 min","thumbnail":"special://masterprofile/Thumbnails/Video/5/5a2fb89a.tbn","year":2006},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/ANALYZE THIS (1999)/VIDEO_TS/VIDEO_TS.IFO","genre":"Comedy / Crime","label":"Analyze This","lastplayed":"2012-06-15 14:08:32","movieid":76,"mpaa":"Rated R for language, a scene of sexuality and some violence.","playcount":3,"rating":6.5999999046325683594,"resume":{"position":460.24102783203125,"total":5954},"runtime":"99","thumbnail":"special://masterprofile/Thumbnails/Video/d/dff0110f.tbn","year":1999},{"file":"smb://kb:k1klaus@192.168.2.3/Videos/angels_and_demons_2009.VOB","genre":"Mystery / Thriller","label":"Angels & Demons","lastplayed":"2012-06-24 18:52:25","movieid":161,"mpaa":"Rated PG-13","playcount":0,"rating":6.4000000953674316406,"resume":{"position":626.03302001953125,"total":8520},"runtime":"142","thumbnail":"special://masterprofile/Thumbnails/Video/e/e18499f6.

It's not a full JSON object.

scttnlsn commented 12 years ago

Regarding my last comment: I believe it has something to do with the length of the response. Is it capped anywhere on the HIT server?

sunnyhd commented 12 years ago

Ive seen the issue. Will solve that till tomorrow.

sunnyhd commented 12 years ago

The issue is fixed. The Json responses are fully returning now.

scttnlsn commented 12 years ago

Fantastic.

scttnlsn commented 12 years ago

@sunnyhd Have you been able to reproduce the eib messages in the XBMC responses? I am still seeing this problem fairly frequently.

scttnlsn commented 12 years ago

I'm also still seeing partial JSON responses:

user@wiregate343:~$ nc 192.168.2.20 8090
hitbot_listen xbmc!END!
hitbot_send xbmc {"jsonrpc":"2.0","method":"VideoLibrary.GetMovies","params":{"properties":["thumbnail","genre","mpaa","rating","runtime","year","file","studio","director","plot","votes","fanart","imdbnumber","trailer"]},"id":1}!END!
{"id":1,"jsonrpc":"2.0","result":{"limits":{"end":227,"start":0,"total":227},"movies":[{"director":"Richard Donner","fanart":"special://masterprofile/Thumbnails/Video/Fanart/13753caf.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/16 BLOCKS (2006)/VIDEO_TS/VIDEO_TS.IFO","genre":"Action / Crime / Drama / Thriller","imdbnumber":"tt0450232","label":"16 Blocks","movieid":1,"mpaa":"Rated PG-13 for violence, intense sequences of action, and some strong language.","plot":"Jack Mosley, a burnt-out detective, is assigned the unenviable task of transporting a fast-talking convict from jail to a courthouse 16 blocks away. However, along the way he learns that the man is supposed to testify against Mosley's colleagues, and the entire NYPD wants him dead. Mosley must choose between loyalty to his colleagues and protecting the witness, and never has such a short distance seemed so long...","rating":6.6999998092651367188,"runtime":"105 min  | Philippines:110 min","studio":"Alcon Entertainment","thumbnail":"special://masterprofile/Thumbnails/Video/1/13753caf.tbn","trailer":"","votes":"37,068","year":2006},{"director":"Anne Fletcher","fanart":"special://masterprofile/Thumbnails/Video/Fanart/81768287.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/27 DRESSES (2008)/VIDEO_TS/VIDEO_TS.IFO","genre":"Comedy / Romance","imdbnumber":"tt0988595","label":"27 Dresses","movieid":2,"mpaa":"Rated PG-13 for language, some innuendo and sexuality.","plot":"Two things about Jane: she never says no to her friends (she's been a bridesmaid 27 times and selflessly plans friends' weddings), and she's in love with her boss, George, nurturing dreams of a lovely, romantic wedding of her own. She meets Kevin, a cynical writer who finds her attractive, and that same week her flirtatious younger sister Tess comes to town. Jane silently watches George fall for Tess, a manipulative pretender. Worse, Jane may be called upon to plan their wedding. Meanwhile, Kevin tries to get Jane's attention and has an idea that may advance his career. Can Jane uncork her feelings?","rating":6.0999999046325683594,"runtime":"111 min","studio":"Fox 2000 Pictures","thumbnail":"special://masterprofile/Thumbnails/Video/8/81768287.tbn","trailer":"","votes":"24,857","year":2008},{"director":"Zack Snyder","fanart":"special://masterprofile/Thumbnails/Video/Fanart/38f4f9ac.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/300 (2006)/VIDEO_TS/VIDEO_TS.IFO","genre":"Action / Fantasy / War","imdbnumber":"tt0416449","label":"300","movieid":3,"mpaa":"Rated R for graphic battle sequences throughout, some sexuality and nudity.","plot":"In the Battle of Thermopylae of 480 BC an alliance of Greek city-states fought the invading Persian army in the mountain pass of Thermopylae. Vastly outnumbered, the Greeks held back the enemy in one of the most famous last stands of history. Persian King Xerxes lead a Army of well over 100,000 (Persian king Xerxes before war has about 170,000 army) men to Greece and was confronted by 300 Spartans, 700 Thespians and other Slave soldiers. Xerxes waited for 10 days for King Leonidas to surrender or withdraw left with no options he moved. The battle lasted for about 3 days and after which all 300 Spartans were killed. The Spartan defeat was not the one expected, as a local shepherd, named Ephialtes, defected to the Persians and informed Xerxes of a separate path through Thermopylae, which the Persians could use to outflank the Greeks.","rating":7.8000001907348632812,"runtime":"117 min","studio":"Warner Bros. Pictures","thumbnail":"special://masterprofile/Thumbnails/Video/3/38f4f9ac.tbn","trailer":"","votes":"216,515","year":2006},{"director":"Mikael Håfström","fanart":"special://masterprofile/Thumbnails/Video/Fanart/3bdb01f7.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/1408 (2007)/VIDEO_TS/VIDEO_TS.IFO","genre":"Horror / Thriller","imdbnumber":"tt0450385","label":"1408","movieid":4,"mpaa":"Rated PG-13 for thematic material including disturbing sequences of violence and terror, frightening images and language.","plot":"The cynical and skeptical writer Mike Enslin writes books evaluating supernatural phenomena in hotels, graveyards and other haunted places, usually debunking the mystery. While writing his last book, he travels from Los Angeles to New York to spend one night in the evil room 1408 of the Dolphin Hotel, which is permanently unavailable for guests. The reluctant manager Mr. Gerald Olin objects to his request and offers an upgrade, expensive booze and finally the reports relating the death of more than fifty guests along decades in the cursed room. However, Mike threatens Mr. Oiln, promising to sue the hotel, and finally checks in the room. Along the night, he finds that guests of room 1408 can check out when they like, but they can never leave the room alive.","rating":6.9000000953674316406,"runtime":"104 min  | 112 min (director's cut)","studio":"Dimension Films","thumbnail":"special://masterprofile/Thumbnails/Video/3/3bdb01f7.tbn","trailer":"","votes":"65,200","year":2007},{"director":"Ron Howard","fanart":"special://masterprofile/Thumbnails/Video/Fanart/0f486c01.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/A BEAUTIFUL MIND (2001)/VIDEO_TS/VIDEO_TS.IFO","genre":"Biography / Drama","imdbnumber":"tt0268978","label":"A Beautiful Mind","movieid":5,"mpaa":"Rated PG-13 for intense thematic material, sexual content and a scene of violence.","plot":"A biopic of the meteoric rise of John Forbes Nash Jr., a math prodigy able to solve problems that baffled the greatest of minds. And how he overcame years of suffering through schizophrenia to win the Nobel Prize.","rating":7.9000000953674316406,"runtime":"135 min","studio":"Universal Pictures","thumbnail":"special://masterprofile/Thumbnails/Video/0/0f486c01.tbn","trailer":"","votes":"113,475","year":2001},{"director":"Chris Weitz / Paul Weitz","fanart":"special://masterprofile/Thumbnails/Video/Fanart/b721d9e6.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/ABOUT A BOY (2002)/VIDEO_TS/VIDEO_TS.IFO","genre":"Comedy / Drama / Romance","imdbnumber":"tt0276751","label":"About a Boy","movieid":6,"mpaa":"Rated PG-13 for brief strong language and some thematic elements.","plot":"Will Freeman is a hip Londoner who one day realizes that his friends are all involved with the responsibilities of married life and that leaves him alone in the cold. Passing himself off as a single father, he starts to meet a string of single mums, confident in his ability to leave them behind when they start to ask for a commitment. But Will's hope of a continued bachelorhood is interrupted when he meets 12-year old Marcus, in many ways his complete opposite.","rating":7.4000000953674316406,"runtime":"101 min","studio":"Universal Pictures","thumbnail":"special://masterprofile/Thumbnails/Video/b/b721d9e6.tbn","trailer":"","votes":"44,981","year":2002},{"director":"John Hamburg","fanart":"special://masterprofile/Thumbnails/Video/Fanart/dbc500b2.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/ALONG CAME POLLY (2004)/VIDEO_TS/VIDEO_TS.IFO","genre":"Comedy / Romance","imdbnumber":"tt0343135","label":"Along Came Polly","movieid":7,"mpaa":"Rated PG-13 for sexual content, language, crude humor and some drug references.","plot":"Reuben Feffer thinks he's found the love of his life but on his honeymoon he discovers her cheating on him with a scuba instructor. Reuben travels back home to get his life on track. On a night out with best pal, Sandy Lyle, Reuben discovers an old school friend, Polly Prince. Reuben feels a connection straight away, and tries constantly to get her to like her. But it's not going to be easy for Reuben, especially when he spends his days calculating risks, and when someone unexpected turns up.","rating":5.8000001907348632812,"runtime":"90 min","studio":"Jersey Films","thumbnail":"special://masterprofile/Thumbnails/Video/d/dbc500b2.tbn","trailer":"","votes":"34,825","year":2004},{"director":"Ridley Scott","fanart":"special://masterprofile/Thumbnails/Video/Fanart/40fc1594.tbn","file":"smb://kb:k1klaus@192.168.2.3/Videos/AMERICAN GANGSTER (2007)/VIDEO_TS/VIDEO_TS.IFO","genre":"Crime / Drama","imdbnumber":"tt0765429","la
sunnyhd commented 12 years ago

An older HitServer version was started. Should be fixed now. Couldnt see any eib messages in the XBMC Bot.

scttnlsn commented 12 years ago

Still happening:

$ ssh user@marisamigliazzi.selfhost.eu
user@wiregate343:~$ nc 192.168.2.20 8090
hitbot_listen xbmc!END!
hitbot_send xbmc {"jsonrpc":"2.0","method":"Player.GetActivePlayers","params":{},"id":1}!END!
eibdlisten 0/7/100: 19 07 0C 
eibdlisten 0/7/100: 19 07 0C 
sunnyhd commented 12 years ago

Cant reproduce the issue. I have to send hitbot_listen eibd!END! to get eibd messages. I have send it to the programmer to check it.

sunnyhd commented 12 years ago

I updated the XBMC sources and have seen lots of messages in the node log matched for the eibd. Could you please check that on your side. I cant reproduce any messages of other bots in a terminal session when listening to a specific bot.

xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":82,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":82,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":82,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":82,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 1 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":83,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":83,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":83,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":83,"type":"movie"}},"sender":"xbmc"}} eib:address {"id" 2 eib:address {"id" 3 eib:address {"jsonrpc" 32 eib:address {"id" 4 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":84,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":84,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":84,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":84,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 5 eib:address {"id" 6 eib:address {"id" 7 eib:address {"id" 8 eib:address {"id" 9 eib:address {"id" 16 eib:address {"id" 17 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":85,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":85,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":85,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":85,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 18 eib:address {"id" 19 eib:address {"id" 20 eib:address {"id" 21 eib:address {"id" 22 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":86,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":86,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":86,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":86,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 23 eib:address {"id" 24 eib:address {"id" 25 eib:address {"id" 32 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":87,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":87,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":87,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":87,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 33 eib:address {"id" 34 eib:address {"id" 35 eib:address {"id" 36 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":88,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":88,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":88,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":88,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 37 eib:address {"id" 38 eib:address {"id" 39 eib:address {"id" 40 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":89,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":89,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":89,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":89,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 41 eib:address {"id" 48 eib:address {"id" 49 eib:address {"id" 50 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":90,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":90,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":90,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":90,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 51 eib:address {"id" 52 eib:address {"id" 53 eib:address {"id" 54 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":91,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":91,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":91,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":91,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 55 eib:address {"id" 56 eib:address {"id" 57 eib:address {"id" 64 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":92,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":92,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":92,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":92,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 65 eib:address {"id" 66 eib:address {"id" 67 eib:address {"id" 68 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":93,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":93,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":93,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":93,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 69 eib:address {"id" 70 eib:address {"id" 71 eib:address {"id" 72 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":94,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":94,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":94,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":94,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 73 eib:address {"id" 80 eib:address {"id" 81 eib:address {"id" 82 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":95,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":95,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":95,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":95,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 83 eib:address {"id" 84 eib:address {"id" 85 eib:address {"id" 86 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":96,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":96,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":96,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":96,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 87 eib:address {"id" 88 eib:address {"id" 89 eib:address {"id" 96 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":97,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":97,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":97,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":97,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 97 eib:address {"id" 98 eib:address {"id" 99 eib:address {"id" 100 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":98,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":98,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":98,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":98,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 101 eib:address {"id" 102 eib:address {"id" 103 eib:address {"id" 104 xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":99,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":99,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":99,"type":"movie"}},"sender":"xbmc"}} xbmc:notification {"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":99,"type":"movie"}},"sender":"xbmc"}} eib:address {"jsonrpc" 32 eib:address {"id" 105 eib:address {"id" 112 eib:address {"id" 113 eib:address {"id" 114

scttnlsn commented 12 years ago

I updated the proxy.js script a bit thinking that perhaps there could be a problem there. I can't consistently reproduce this though. Very strange and elusive bug.

I'll leave some netcat sessions open and watch for anything strange.