MarvinSchenkel / HomeyKodi

Driver and app for Homey to support Kodi
5 stars 9 forks source link

play music by artist Armin van Buuren #4

Closed WesRos closed 7 years ago

WesRos commented 7 years ago

Homey firmware 1.0.1

Kodi app version: 1.6.0

A voice command to start music by Artist works with one word, by example: Play music by artist Armin --> works Play music by artist Armin van Buuren --> didn't work

Tested by voice and by the http://[ip-homey]/manager/speech-input/

MarvinSchenkel commented 7 years ago

Could you please go to settings - > Kodi and screenshot the log that's relevant when you try to play music by artists Armin van Buuren? I know from memory that 'Gareth emery' works (2 words). I'll try Armin van buuren too, but in the meantime, please post your log

WesRos commented 7 years ago

I've not look to the logging. That helpful to analyse this problem. I've tested the command with other artist: like Basement Jaxx, Bad Manners, Armin van Buuren, Bob Marley.

Basement Jaxx and Bad Manners are working well. The other two not. All artist with only one word in the name is working.

Basement Jaxx

2016-11-23T20:50:24.637Z    "searchMusic()" null "ARTIST" " basement jaxx"
2016-11-23T20:50:24.637Z    "getKodiInstance" null
2016-11-23T20:50:28.980Z    "playMusic()" null [{"label":"Romeo","songid":15867},{"label":"Breakaway","songid":15868},{"label":"SFM","songid":15869},{"label":"Kissalude","songid":15870},{"label":"Jus 1 Kiss","songid":15871},{"label":"Broken Dreams","songid":15872},{"label":"I Want You","songid":15873},{"label":"Get Me Off","songid":15874},{"label":"Where's Your Head At","songid":15875},{"label":"Freakalude","songid":15876},{"label":"Crazy Girl","songid":15877},{"label":"Do Your Thing","songid":15878},{"label":"All I Know","songid":15879},{"label":"Red Alert","songid":15880},{"label":"Good Luck","songid":15881},{"label":"Romeo","songid":15882},{"label":"Oh My Gosh","songid":15883},{"label":"Bingo Bango","songid":15884},{"label":"Wheres Your Head At","songid":15885},{"label":"Rendez Vu","songid":15886},{"label":"Jump N Shout","songid":15887},{"label":"Lucky Star","songid":15888},{"label":"Plug It In","songid":15889},{"label":"Dont Know Me","songid":15890},{"label":"Do Your Thing","songid":15891},{"label":"Jus 1 Kiss","songid":15892},{"label":"Fly Life","songid":15893},{"label":"Samba Magic","songid":15894},{"label":"Romeo [Acoustic Mix]","songid":29243}]
2016-11-23T20:50:28.990Z    "getKodiInstance" null
2016-11-23T20:50:30.672Z    "onKodiPlay()"

Bad Manners

2016-11-23T20:49:55.926Z    {"transcript":"speel muziek van artiest bad manners","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-23T20:49:55.929Z    "searchMusic()" null "ARTIST" " bad manners"
2016-11-23T20:49:55.929Z    "getKodiInstance" null
2016-11-23T20:49:56.397Z    "Stil cannot reconnect: " {"code":"EHOSTUNREACH","errno":"EHOSTUNREACH","syscall":"connect","address":"10.10.10.5","port":9090}
2016-11-23T20:50:00.175Z    "playMusic()" null [{"label":"Don't Knock the Baldheads","songid":15854},{"label":"Black Night","songid":15855},{"label":"Down Berry Wood","songid":15856},{"label":"Happiness","songid":15857},{"label":"Heavy petting","songid":15858},{"label":"In the jungle","songid":15859},{"label":"No, no, no","songid":15860},{"label":"Randy Scouse gift","songid":15861},{"label":"Feel like jumping","songid":15862},{"label":"Red River Ska","songid":15863},{"label":"Liverpool & Birmingham","songid":15864},{"label":"Lager Delirium","songid":15865},{"label":"Go","songid":15866}]
2016-11-23T20:50:00.180Z    "getKodiInstance" null
2016-11-23T20:50:01.762Z    "onKodiPlay()"

Armin van Buuren isn't working:

2016-11-23T20:57:55.434Z    {"transcript":"speel muziek van artiest armin van buuren","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-23T20:57:55.439Z    "searchMusic()" null "ARTIST" " armin van buuren"
2016-11-23T20:57:55.439Z    "getKodiInstance" null
2016-11-23T20:57:55.751Z    "Trying to reconnect"
2016-11-23T20:57:59.505Z    "Stil cannot reconnect: " {"code":"EHOSTUNREACH","errno":"EHOSTUNREACH","syscall":"connect","address":"10.10.10.5","port":9090}
2016-11-23T20:58:00.054Z    "playMusic()" null [{"label":"Desiderium 207","songid":29801},{"label":"Mirage","songid":29802},{"label":"This Light Between Us","songid":29803},{"label":"Not Giving Up On Love","songid":29804},{"label":"I Don't Own You","songid":29805},{"label":"Full Focus","songid":29806},{"label":"Take A Moment","songid":29807},{"label":"Feels So Good","songid":29808},{"label":"Virtual Friend","songid":29809},{"label":"Drowning","songid":29810},{"label":"Down To Love","songid":29811},{"label":"Coming Home","songid":29812},{"label":"These Silent Hearts","songid":29813},{"label":"Orbion","songid":29814},{"label":"Minack","songid":29815},{"label":"Youtopia","songid":29816},{"label":"We Are Here To Make Some Noise","songid":22291},{"label":"Tranquility","songid":22332},{"label":"Sahara","songid":22333},{"label":"Under The Sun (Solar Stone Remix)","songid":22334},{"label":"Signs From The Universe","songid":22335},{"label":"Lady Blue (Original Beat)","songid":22336},{"label":"Velvet Morning (Aalto Remix)","songid":22337},{"label":"Escape (Phynn Mix)","songid":22338},{"label":"Future Funland (Astura Remix)","songid":22339},{"label":"The Search For Freedom","songid":22340},{"label":"Alba","songid":22341},{"label":"Satellite (Original Above & Beyond Remix)","songid":22342},{"label":"Spiral","songid":22343},{"label":"Burned With Desire (Rising Star Remix)","songid":22344},{"label":"Never Fade Away (Andy Duguid Mix)","songid":22857},{"label":"Change Your Mind (Myon and Shane 54 Remix)","songid":22858},{"label":"Paradise Lost","songid":22859},{"label":"Riddles In the Sand","songid":22860},{"label":"The Fractal Universe","songid":22861},{"label":"Iselilja (Sunn Jellie & The Blizzard Dub Remix)","songid":22862},{"label":"Miami Vibe (Omnia Remix)","songid":22863},{"label":"Deep Down","songid":22864},{"label":"Helpless (Monster Mix)","songid":22865},{"label":"You Walk Away","songid":22866},{"label":"Faces","songid":22867},{"label":"Nothing At All","songid":22868},{"label":"Shaguar","songid":22869},{"label":"Man On the Run (Nic Chagall Remix)","songid":22870},{"label":"Find Yourself (cosmic Gate Remix)","songid":22871},{"label":"Inside Of You (cosmic Gate Remix)","songid":22872},{"label":"Tuvan","songid":22873},{"label":"Sivan","songid":22874},{"label":"Onyric (stoneface & Terminal Remix)","songid":22875},{"label":"Freefalling","songid":22876},{"label":"Rosaires","songid":22877},{"label":"Sunset Boulevard","songid":22878},{"label":"Addicted","songid":22879},{"label":"Circles (andy Blueman Remix)","songid":22880},{"label":"Look Ahead","songid":22881},{"label":"Aztec","songid":22882},{"label":"Come To Me (asot 2009 Reconstruction)","songid":22883},{"label":"Blade Runner","songid":22884},{"label":"Monsun","songid":22885},{"label":"We Are Here To Make Some Noise","songid":25686},{"label":"We Are Here To Make Some Noise","songid":25725},{"label":"Burned With Desire (rising star Rmx)","songid":27090},{"label":"Light The Skies (Retrobyte's Classic Electrobounce Mix)","songid":27091},{"label":"Stay","songid":27092},{"label":"The Sound Of Goodbye","songid":27093},{"label":"Who Is Watching","songid":27094},{"label":"Sahara","songid":27095},{"label":"Sail [Original MiX]","songid":27096},{"label":"Rush Hour","songid":27097},{"label":"Shivers (Hammer & Bennett Remix)","songid":15749},{"label":"Theatrum (intro Rework)","songid":15780},{"label":"Character","songid":15781},{"label":"Lakota (Ilan Bluestone Remix)","songid":15782},{"label":"Gladius","songid":15783},{"label":"Dreams","songid":15784},{"label":"Aureolo","songid":15785},{"label":"Downpipe (Armin van Buuren Remix)","songid":15786},{"label":"Beautiful Life (Protoculture Remix)","songid":15787},{"label":"Violetta","songid":15788},{"label":"Immersion","songid":15789},{"label":"The Other Side","songid":15790},{"label":"Rise Again (Omnia Remix)","songid":15791},{"label":"World Falls Apart (Jorn van Deynhoven Remix)","songid":15792},{"label":"Euphoria","songid":15793},{"label":"The Evil ID","songid":15794},{"label":"Until the End (Club Mix)","songid":15795},{"label":"Dark Warrior","songid":15796},{"label":"Ragnarok","songid":15797},{"label":"A Cry to the Moon","songid":15798},{"label":"Eternal Flame (Solarstone Pure Mix)","songid":15799},{"label":"Black Hole (Jorn van Deynhoven Remix)","songid":15800},{"label":"The Queen","songid":15801},{"label":"The One","songid":15802},{"label":"Six Zero Zero","songid":15803},{"label":"First Coming (Ian Standerwick Remix)","songid":15804},{"label":"We Are Not Afraid of 138","songid":15805},{"label":"Silhouette (Allen & Envy Remix)","songid":15806},{"label":"Apprehension (Aly & Fila Mix)","songid":15807},{"label":"Who's Afraid of 138! (Photographer Remix)","songid":15808},{"label":"Freaked","songid":15809},{"label":"Skyfire","songid":15810},{"label":"Airport","songid":15811},{"label":"Shivers","songid":15812},{"label":"Beyond the Time","songid":15813},{"label":"Breathe In Deep","songid":29817},{"label":"Take Me Where I Wanna Go","songid":29818},{"label":"I Surrender","songid":29819},{"label":"Love Too Hard","songid":29820},{"label":"Virtual Friend (Acoustic Mix)","songid":29821}]
2016-11-23T20:58:00.083Z    "getKodiInstance" null

Same for Bob Marley:

2016-11-23T21:01:08.353Z    {"transcript":"speel muziek van artiest bob marley","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-23T21:01:08.358Z    "searchMusic()" null "ARTIST" " bob marley"
2016-11-23T21:01:08.359Z    "getKodiInstance" null
2016-11-23T21:01:12.044Z    "Trying to reconnect"
2016-11-23T21:01:13.099Z    "playMusic()" null [{"label":"Riding High","songid":15988},{"label":"Lively Up Yourself","songid":15989},{"label":"Sun Is Shinning (Original)","songid":15990},{"label":"Trench Town Rock","songid":15991},{"label":"Small Axe","songid":15992},{"label":"Put It On","songid":15993},{"label":"Kaya","songid":15994},{"label":"400 Years","songid":15995},{"label":"Brain Washing","songid":15996},{"label":"African Herbman","songid":15997},{"label":"Stand Alone","songid":15998},{"label":"Duppy Conqueror","songid":15999},{"label":"Positive Vibrator","songid":16000},{"label":"Exodus","songid":16001},{"label":"Stir It Up","songid":16002},{"label":"Rat Race","songid":16003},{"label":"Concrete Jungle","songid":16004},{"label":"Kinky Reggae","songid":16005},{"label":"Lively Up Yourself","songid":16006},{"label":"Rebel Music","songid":16007},{"label":"War","songid":16008},{"label":"Is This Love","songid":16009},{"label":"Heathen","songid":16010},{"label":"Punky Reggae Party","songid":16011},{"label":"Jammin'","songid":16012},{"label":"Go, Tell It On The Mountain","songid":16013},{"label":"Soul Shakedown Party [Version]","songid":16014},{"label":"Mrchatterbox [Version]","songid":16015},{"label":"Hold On To This Feeling","songid":16016},{"label":"Hold On To This Feeling [Version]","songid":16017},{"label":"Sugar, Sugar","songid":16018},{"label":"Can't You See [Alternate Version]","songid":16019},{"label":"Mrchatterbox [Alternate Version]","songid":16020},{"label":"Soon Come","songid":16021},{"label":"Soon Come [Version]","songid":16022},{"label":"Stop The Train","songid":16023},{"label":"Soul Captive","songid":16024},{"label":"Cheer Up","songid":16025},{"label":"Give Me A Ticket [Alternate Version]","songid":16026},{"label":"Burnin' And Lootin'","songid":16027},{"label":"Duppy Conqueror","songid":16028},{"label":"Get Up, Stand Up","songid":16029},{"label":"Hallelujah Time","songid":16030},{"label":"I Shot The Sheriff","songid":16031},{"label":"One Foundation","songid":16032},{"label":"Pass It On","songid":16033},{"label":"Put It On","songid":16034},{"label":"Rastaman Chant","songid":16035},{"label":"Small Axe","songid":16036},{"label":"400 Years","songid":16037},{"label":"Concrete Jungle","songid":16038},{"label":"Kinky Reggae","songid":16039},{"label":"Midnight Ravers","songid":16040},{"label":"No More Trouble","songid":16041},{"label":"Rock It Baby","songid":16042},{"label":"Slave Driver","songid":16043},{"label":"Stir It Up","songid":16044},{"label":"Stop That Train","songid":16045},{"label":"Trench Town","songid":16046},{"label":"Blackman Redemption","songid":16047},{"label":"Buffalo Soldier","songid":16048},{"label":"Chant Down Babylon","songid":16049},{"label":"Jump Nyabinghi","songid":16050},{"label":"Rastaman Live Up","songid":16051},{"label":"Stiff Necked Fools","songid":16052},{"label":"Mix Upmix Up","songid":16053},{"label":"& The Wailers Give Thanks And Praises","songid":16054},{"label":"I Know_New","songid":16055},{"label":"All In One","songid":16077},{"label":"Keep On Skanking","songid":16078},{"label":"Shocks Of Mighty (Soul Almighty Ve","songid":16079},{"label":"Brand New Second Hand","songid":16080},{"label":"Jungle Dub","songid":16081},{"label":"Satisfy My Soul Babe (Version)","songid":16082},{"label":"Dracula (Version)","songid":16083},{"label":"Vs. Lee Scratch Perry Dreamland (Featuring Bunny Wailer)","songid":16084},{"label":"Comma Comma","songid":16085},{"label":"Keep On Moving","songid":16086},{"label":"Oppening","songid":16116},{"label":"Natural Mystic","songid":16117},{"label":"Rastaman Vibration","songid":16118},{"label":"Revelation","songid":16119},{"label":"I Shot The Sheriff","songid":16120},{"label":"War No More Trouble","songid":16121},{"label":"Zimbabwe","songid":16122},{"label":"Jamming","songid":16123},{"label":"No Woman No Cry","songid":16124},{"label":"Zion Train","songid":16125},{"label":"Exodus","songid":16126},{"label":"Redemption Song","songid":16127},{"label":"Could You Be Loved","songid":16128},{"label":"We Can Make It Work","songid":16129},{"label":"Natty Dread","songid":16130},{"label":"Is This Love","songid":16131},{"label":"Get Up Stand Up","songid":16132},{"label":"Trenchtown Rock","songid":16133},{"label":"Burnin' And Lootin'","songid":16134},{"label":"Them Belly Full (But We Hungry)","songid":16135},{"label":"No Woman No Cry","songid":16136},{"label":"Lively Up Yourself","songid":16137},{"label":"I Shot The Sheriff","songid":16138},{"label":"Get Up, Stand Up","songid":16139},{"label":"Natty Dread","songid":16140},{"label":"Positive Vibration","songid":16141},{"label":"War","songid":16142},{"label":"Jammin'","songid":16143},{"label":"Trenchtown Rock","songid":16144},{"label":"Them Belly Full (But We Hungry)","songid":16145},{"label":"I Shot The Sheriff","songid":16146},{"label":"Rebel Music","songid":16147},{"label":"Lively Up Yorself","songid":16148},{"label":"Running Away","songid":16149},{"label":"Rastaman Vibration","songid":16150},{"label":"Bend Down Low","songid":16151},{"label":"Catch A Fire","songid":16152},{"label":"Can't Blame The Youths","songid":16153},{"label":"Stop That Train","songid":16154},{"label":"Burning And Lootin","songid":16155},{"label":"Kinky Reggae","songid":16156},{"label":"Get Up Stand Up","songid":16157},{"label":"Lively Up Yourself","songid":16158},{"label":"Walk The Proud Land","songid":16159},{"label":"Trenchtown Rock","songid":16160},{"label":"Burnin' And Lootin'","songid":16161},{"label":"Them Belly Full","songid":16162},{"label":"Lively Up Yourself","songid":16163},{"label":"No Woman No Cry","songid":16164},{"label":"I Shot The Sheriff","songid":16165},{"label":"Get Up, Stand Up","songid":16166},{"label":"Lively Up Yourself","songid":16167},{"label":"No Woman No Cry","songid":16168},{"label":"Them Belly Full","songid":16169},{"label":"Rebel Music","songid":16170},{"label":"So Jah Seh","songid":16171},{"label":"Natty Dread","songid":16172},{"label":"Bend Down Low","songid":16173},{"label":"Revolution","songid":16174},{"label":"Talkin' Blues","songid":16175},{"label":"Keep On Moving","songid":16176},{"label":"Rock Roots Reegea","songid":16177},{"label":"Africa Unite","songid":16178},{"label":"Natural Mystic [Tuff Gong]","songid":16179},{"label":"Iron Lion Zion","songid":16180},{"label":"Natural Mystic","songid":16181},{"label":"One Drop","songid":16182},{"label":"Pimpers Paradise","songid":16183},{"label":"Natural Mystic [Tuff Gong]","songid":16184},{"label":"So Much Trouble In The World","songid":16185},{"label":"War","songid":16187},{"label":"Trenchtown Rock","songid":16188},{"label":"Natural Mystic [Tuff Gong]","songid":16189},{"label":"Lion Of Judah","songid":16190},{"label":"Natural Mystic","songid":16191},{"label":"Trenchtown Rock","songid":16192},{"label":"Natty Dread","songid":16193},{"label":"Positive Vibration","songid":16194},{"label":"War","songid":16195},{"label":"Jammin'","songid":16196},{"label":"Jah Live","songid":16197},{"label":"Night Shift","songid":16198},{"label":"War","songid":16199},{"label":"Cry To Me","songid":16200},{"label":"Positive Vibration","songid":16201},{"label":"Rat Race","songid":16202},{"label":"Johnny Was","songid":16203},{"label":"Who The Cap Fit","songid":16204},{"label":"Roots Rock Reggae","songid":16205},{"label":"Want More","songid":16206},{"label":"Crazy Baldhead","songid":16207},{"label":"Rock To The Rock","songid":16218},{"label":"Rocking Steady","songid":16219},{"label":"How Many Times","songid":16220},{"label":"Touch Me","songid":16221},{"label":"Mellow Mood","songid":16222},{"label":"There She Goes","songid":16223},{"label":"Soul Rebel","songid":16224},{"label":"Put It On","songid":16225},{"label":"Chances Are","songid":16226},{"label":"Love","songid":16227},{"label":"Bend Down Low","songid":16228},{"label":"The World Is Changing","songid":16229},{"label":"Nice Time","songid":16230},{"label":"Treat You Right","songid":16231},{"label":"What Goes Around Comes Around","songid":16232},{"label":"What Goes Around Comes Around (Version)","songid":16233},{"label":"Redder Than Red (with Peter Tosh)","songid":16234},{"label":"Guava Jelly (This Train) (Acoustic)","songid":16235},{"label":"Craven Choke Puppy","songid":16236},{"label":"Acoustic Medley","songid":16237},{"label":"Dance Do The Reggae","songid":16238},{"label":"Dub Feeling","songid":16239},{"label":"Satisfy My Soul Jah-Jah","songid":16240},{"label":"Trouble Dub","songid":16241},{"label":"Cry To Me","songid":16242},{"label":"Cry To Me (Acoustic) (Rare)","songid":16243},{"label":"Gonna Get You (Very Rare)","songid":16244},{"label":"Guava Jelly","songid":16245},{"label":"I'm Hurting Inside","songid":16246},{"label":"Lick Samba","songid":16247},{"label":"Pour Down Your Sunshine","songid":16248},{"label":"Reggae On Broadway","songid":16249},{"label":"Screw Face","songid":16250},{"label":"Stay With Me","songid":16251},{"label":"Gonna Get You","songid":16252},{"label":"So Much Trouble In The World","songid":16253},{"label":"Top Rankin'","songid":16254},{"label":"Babylon System","songid":16255},{"label":"Survival","songid":16256},{"label":"Africa Unite","songid":16257},{"label":"One Drop","songid":16258},{"label":"Ride Natty Ride","songid":16259},{"label":"Ambush In The Night","songid":16260},{"label":"Wake Up And Live","songid":16261},{"label":"Zimbabwe","songid":16262},{"label":"Rastaman Chant","songid":16263},{"label":"Bend Down Low","songid":16264},{"label":"You Can't Blame The Youth","songid":16265},{"label":"Soul Rebe Keep On Moving","songid":16266},{"label":"Stop That Train","songid":16268},{"label":"Burnin' And The Lootin'","songid":16269},{"label":"Slave Driver","songid":16270},{"label":"Redemption Song","songid":16271},{"label":"Coming In From The Cold","songid":16272},{"label":"Could You Be Loved","songid":16273},{"label":"Is This Love","songid":16274},{"label":"Coming In From The Cold","songid":16275},{"label":"Real Situation","songid":16276},{"label":"Bad Card","songid":16277},{"label":"We And Dem","songid":16278},{"label":"Work","songid":16279},{"label":"Zion Train","songid":16280},{"label":"Pimper's Paradise","songid":16281},{"label":"Could You Be Loved","songid":16282},{"label":"Forever Loving Jah","songid":16283},{"label":"Redemption Song","songid":16284},{"label":"Judge Not","songid":22967},{"label":"Stir It Up (Original)","songid":22968},{"label":"Back Out","songid":22970},{"label":"No Sympathy (Version)","songid":22971},{"label":"Who The Cap Fit","songid":22972},{"label":"Do It Twice","songid":22973},{"label":"Legalize It","songid":22974},{"label":"Caution","songid":22975},{"label":"One Cup Of Coffee","songid":22976},{"label":"Hypocrites - Songs Of Freedom","songid":22977},{"label":"Wake Up And Live","songid":22978},{"label":"Don't Rock My Boat","songid":22979},{"label":"Mellow Mood (Original)","songid":22980},{"label":"Smile Jamaica","songid":22981},{"label":"Thank You Lord (Original)","songid":22982},{"label":"Bus Dem Shut (Pyaka)","songid":22983},{"label":"One Dub","songid":22984},{"label":"One Love","songid":22985},{"label":"Bend Down Low","songid":22986},{"label":"Kinky Reggae","songid":22987},{"label":"Cheer Up","songid":22988},{"label":"Why Should I (Previously Unreleased)","songid":23002},{"label":"Lee Scratch Perry Vs Try Me","songid":23004},{"label":"Soul Rebel (Original)","songid":23005},{"label":"No Water","songid":23006},{"label":"Keep On Moving (London Version)","songid":23007},{"label":"I'm Still Waiting","songid":23008},{"label":"Simmer Down","songid":23009},{"label":"Legalize It (Live 4-10-75)","songid":23010},{"label":"Kaya","songid":23011},{"label":"Lively Up Yourself","songid":23012},{"label":"Pick Myself Up","songid":23013},{"label":"Reggae Fever","songid":23014},{"label":"Jah Live (Original)","songid":23018},{"label":"Don't Rock My Boat (Original, Later Known As 'Satisfy My Soul')","songid":23031},{"label":"Feel Alright","songid":23036},{"label":"Rhythm","songid":23037},{"label":"Rocking Steady","songid":23038},{"label":"Adam And Eve","songid":23039},{"label":"Wisdom (Later Known As 'Stiff Necked Fools' And 'Fools Die')","songid":23040},{"label":"This Train (Alternate)","songid":23041},{"label":"Thank You Lord (Alternate)","songid":23042},{"label":"Give Me Ticket (Original - Also Known As 'The Letter')","songid":23043},{"label":"Trouble On The Road Again","songid":23044},{"label":"Black Progress (Version)","songid":23046}]
2016-11-23T21:01:13.195Z    "getKodiInstance" null
2016-11-23T21:01:15.047Z    "Stil cannot reconnect: " {"code":"EHOSTUNREACH","errno":"EHOSTUNREACH","syscall":"connect","address":"10.10.10.5","port":9090}

Looking into the logging, you could see that the app would try to connect to another Kodi. Earlier I had add another Kodi device to Homey. Could this be the reason for this issue? The Kodi device is already removed from Homey. Should I reinstall the Kodi App to clear the cache?

MarvinSchenkel commented 7 years ago

This could definitely be the reason. Multiple Kodi devices are currently not supported, this could explain why it 'sometimes' works. Try to delete all your Kodi devices from the devices menu, disable the Kodi app under 'Apps' (just to be sure), then re-add the Kodi device you're actually using and try again.

WesRos commented 7 years ago

I've removed the Kodi devices and had disabled the Kodi app in the Setting Menu. Enable the Kodi app again and create a new Kodi device.

2016-11-24T19:14:22.611Z    {"transcript":"speel muziek van artiest armin van buuren","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-24T19:14:22.627Z    "searchMusic()" null "ARTIST" " armin van buuren"
2016-11-24T19:14:22.629Z    "getKodiInstance" null
2016-11-24T19:14:29.093Z    "playMusic()" null [{"label":"Desiderium 207","songid":29801},{"label":"Mirage","songid":29802},{"label":"This Light Between Us","songid":29803},{"label":"Not Giving Up On Love","songid":29804},{"label":"I Don't Own You","songid":29805},{"label":"Full Focus","songid":29806},{"label":"Take A Moment","songid":29807},{"label":"Feels So Good","songid":29808},{"label":"Virtual Friend","songid":29809},{"label":"Drowning","songid":29810},{"label":"Down To Love","songid":29811},{"label":"Coming Home","songid":29812},{"label":"These Silent Hearts","songid":29813},{"label":"Orbion","songid":29814},{"label":"Minack","songid":29815},{"label":"Youtopia","songid":29816},{"label":"We Are Here To Make Some Noise","songid":22291},{"label":"Tranquility","songid":22332},{"label":"Sahara","songid":22333},{"label":"Under The Sun (Solar Stone Remix)","songid":22334},{"label":"Signs From The Universe","songid":22335},{"label":"Lady Blue (Original Beat)","songid":22336},{"label":"Velvet Morning (Aalto Remix)","songid":22337},{"label":"Escape (Phynn Mix)","songid":22338},{"label":"Future Funland (Astura Remix)","songid":22339},{"label":"The Search For Freedom","songid":22340},{"label":"Alba","songid":22341},{"label":"Satellite (Original Above & Beyond Remix)","songid":22342},{"label":"Spiral","songid":22343},{"label":"Burned With Desire (Rising Star Remix)","songid":22344},{"label":"Never Fade Away (Andy Duguid Mix)","songid":22857},{"label":"Change Your Mind (Myon and Shane 54 Remix)","songid":22858},{"label":"Paradise Lost","songid":22859},{"label":"Riddles In the Sand","songid":22860},{"label":"The Fractal Universe","songid":22861},{"label":"Iselilja (Sunn Jellie & The Blizzard Dub Remix)","songid":22862},{"label":"Miami Vibe (Omnia Remix)","songid":22863},{"label":"Deep Down","songid":22864},{"label":"Helpless (Monster Mix)","songid":22865},{"label":"You Walk Away","songid":22866},{"label":"Faces","songid":22867},{"label":"Nothing At All","songid":22868},{"label":"Shaguar","songid":22869},{"label":"Man On the Run (Nic Chagall Remix)","songid":22870},{"label":"Find Yourself (cosmic Gate Remix)","songid":22871},{"label":"Inside Of You (cosmic Gate Remix)","songid":22872},{"label":"Tuvan","songid":22873},{"label":"Sivan","songid":22874},{"label":"Onyric (stoneface & Terminal Remix)","songid":22875},{"label":"Freefalling","songid":22876},{"label":"Rosaires","songid":22877},{"label":"Sunset Boulevard","songid":22878},{"label":"Addicted","songid":22879},{"label":"Circles (andy Blueman Remix)","songid":22880},{"label":"Look Ahead","songid":22881},{"label":"Aztec","songid":22882},{"label":"Come To Me (asot 2009 Reconstruction)","songid":22883},{"label":"Blade Runner","songid":22884},{"label":"Monsun","songid":22885},{"label":"We Are Here To Make Some Noise","songid":25686},{"label":"We Are Here To Make Some Noise","songid":25725},{"label":"Burned With Desire (rising star Rmx)","songid":27090},{"label":"Light The Skies (Retrobyte's Classic Electrobounce Mix)","songid":27091},{"label":"Stay","songid":27092},{"label":"The Sound Of Goodbye","songid":27093},{"label":"Who Is Watching","songid":27094},{"label":"Sahara","songid":27095},{"label":"Sail [Original MiX]","songid":27096},{"label":"Rush Hour","songid":27097},{"label":"Shivers (Hammer & Bennett Remix)","songid":15749},{"label":"Theatrum (intro Rework)","songid":15780},{"label":"Character","songid":15781},{"label":"Lakota (Ilan Bluestone Remix)","songid":15782},{"label":"Gladius","songid":15783},{"label":"Dreams","songid":15784},{"label":"Aureolo","songid":15785},{"label":"Downpipe (Armin van Buuren Remix)","songid":15786},{"label":"Beautiful Life (Protoculture Remix)","songid":15787},{"label":"Violetta","songid":15788},{"label":"Immersion","songid":15789},{"label":"The Other Side","songid":15790},{"label":"Rise Again (Omnia Remix)","songid":15791},{"label":"World Falls Apart (Jorn van Deynhoven Remix)","songid":15792},{"label":"Euphoria","songid":15793},{"label":"The Evil ID","songid":15794},{"label":"Until the End (Club Mix)","songid":15795},{"label":"Dark Warrior","songid":15796},{"label":"Ragnarok","songid":15797},{"label":"A Cry to the Moon","songid":15798},{"label":"Eternal Flame (Solarstone Pure Mix)","songid":15799},{"label":"Black Hole (Jorn van Deynhoven Remix)","songid":15800},{"label":"The Queen","songid":15801},{"label":"The One","songid":15802},{"label":"Six Zero Zero","songid":15803},{"label":"First Coming (Ian Standerwick Remix)","songid":15804},{"label":"We Are Not Afraid of 138","songid":15805},{"label":"Silhouette (Allen & Envy Remix)","songid":15806},{"label":"Apprehension (Aly & Fila Mix)","songid":15807},{"label":"Who's Afraid of 138! (Photographer Remix)","songid":15808},{"label":"Freaked","songid":15809},{"label":"Skyfire","songid":15810},{"label":"Airport","songid":15811},{"label":"Shivers","songid":15812},{"label":"Beyond the Time","songid":15813},{"label":"Breathe In Deep","songid":29817},{"label":"Take Me Where I Wanna Go","songid":29818},{"label":"I Surrender","songid":29819},{"label":"Love Too Hard","songid":29820},{"label":"Virtual Friend (Acoustic Mix)","songid":29821}]
2016-11-24T19:14:29.184Z    "getKodiInstance" null

I would search for a artiest in the database with only some songs with the same issue. Maybe its related to the number of songs.

Or could it be some special characters, like: "Who's Afraid of 138! (Photographer Remix)"

WesRos commented 7 years ago

For artist Daft Punk it even not working:

2016-11-24T19:32:55.414Z    {"transcript":"speel muziek van artiest daft punk","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-24T19:32:55.464Z    "searchMusic()" null "ARTIST" " daft punk"
2016-11-24T19:32:55.465Z    "getKodiInstance" null
2016-11-24T19:33:42.317Z    {"transcript":"speel muziek van artiest daft punk","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-24T19:33:42.321Z    "searchMusic()" null "ARTIST" " daft punk"
2016-11-24T19:33:42.322Z    "getKodiInstance" null

This command give zero songs back in the log. Normally Homey makes a announcement that there are no songs for this artist.

WesRos commented 7 years ago

Now it isn't working anymore for artist who were working before. Like Bad Manners and Basement Jaxx, see my second post.

Log when its not working:

2016-11-24T19:41:31.405Z    {"transcript":"speel muziek van artiest bad manners","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-24T19:41:31.410Z    "searchMusic()" null "ARTIST" " bad manners"
2016-11-24T19:41:31.411Z    "getKodiInstance" null
2016-11-24T19:41:44.894Z    {"transcript":"speel muziek van artiest basement jaxx","session":"homey","triggers":[{"id":"kodi_play_music","position":0,"text":"speel muziek"}],"devices":[],"time":false,"agent":"homey:app:nl.marvinschenkel.kodi"}
2016-11-24T19:41:44.898Z    "searchMusic()" null "ARTIST" " basement jaxx"
2016-11-24T19:41:44.901Z    "getKodiInstance" null

After rebooting Homey its working again, except artists with many songs.

MarvinSchenkel commented 7 years ago

Thanks a bunch for providing such detailed information, you're a legend! Whenever I have some more free time, I will definitely dig into this to figure out what's going on. I am going on holidays in less than a week, so hopefully I have time before that.

Could you please try to:

I must admit that I never really test the Dutch language, so maybe there's something wrong with interpreting Dutch.

Thanks!

MarvinSchenkel commented 7 years ago

Just read it's working after a reboot. Could it be a connectivity issue? What hardware are you using for your Kodi? Also, are you technically capable of downloading the source from Github and running the app on Homey through the CLI?

WesRos commented 7 years ago

It isn't working after the reboot:

After rebooting Homey its working again, except artists with many songs.

Last weeks I didn't do the tests you recommended. This issue isn't very imported for me. Starting a playlist or start the party mode for music would be nicer. I would help you, as far as I can. I've the technically capability to running the app.

I think the cause is related to the number of track of these artist.

MarvinSchenkel commented 7 years ago

Sorry, I have been on holidays. have you done some more testing? How many tracks do the artists have that are causing an issue?

MarvinSchenkel commented 7 years ago

Bump bump?

Could you check if this issue still exists in 1.8? If not , please close the issue

WesRos commented 7 years ago

Yes, your right! You've the bump bump me. The same thing is present. I think its because Kodi is busy with to read the database for the artist. Than he disconnect Homey.

2017-02-24T20:38:21.492Z "Kodi connection error: " {} 2017-02-24T20:38:21.493Z "Trying to reconnect" 2017-02-24T20:38:21.864Z "startListeningForEvents(10.10.10.3)" 2017-02-24T20:38:21.869Z "Triggering kodi_reconnect"

The database for Homey is on another server. When asking Homey to play an artist without a BIG list of tracks, there isn't a problem. Maybe you could fix this issue to make the connection timeout larger.

WesRos commented 7 years ago

Timeline: 2017-02-24T20:38:16.872Z Start voice command 2017-02-24T20:38:16.895Z Start query 2017-02-24T20:38:21.326Z Get tracks out of the database 2017-02-24T20:38:21.447Z "getKodiInstance" null 2017-02-24T20:38:21.492Z "Kodi connection error: " {} 2017-02-24T20:38:21.493Z "Trying to reconnect" 2017-02-24T20:38:21.864Z "startListeningForEvents(10.10.10.3)" 2017-02-24T20:38:21.869Z "Triggering kodi_reconnect"

The time gap between between query and response = >4 seconds

WesRos commented 7 years ago

The reason from this error is the connection between Kodi and the Kodi database on another device. Its not your Kodi Homey app. Thanks for helping!