Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
CU LRC Lyric with Airplay?
#1
Hi guys,

im Robert (25) from Germany. Just because its my first Post in here :-)

I stream my music via simfy (local streaming provider) and airplay on my tv. That work's great, until i try to activate the Lyrics. He loads the screen on the right side where my track is showed up. After that, it just crashes, the lyric-screen shut down and the music stops.
If i deactivate the scraper in lyric addon options (i think it wont search for lyrics in the internet then), it will crash anyway, so i think it hasnt something to do with the connection or something like that.

Tested on two different Model B Raspberry-Pi Devices with newest Raspbmc and the newest OpenELEC build. Same results on Frodo Windows-Version.


Debug-Log from Windows-PC while trying:

17:22:56 T:5048 DEBUG: CU LRC Lyrics: Baidu: searching lyrics for - pipe://3/
17:22:57 T:6096 DEBUG: Keyboard: scancode: 38, sym: 0134, unicode: 0000, modifier: 100
17:22:57 T:6096 DEBUG: CApplication::OnKey: alt-leftalt (4f0d4) pressed, action is
17:22:57 T:6096 DEBUG: ------ Window Deinit (Pointer.xml) ------
17:22:57 T:6096 DEBUG: CWinEventsWin32::WndProcWindow is active
17:22:57 T:6096 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Windows\explorer.exe
17:22:57 T:5048 DEBUG: CU LRC Lyrics: Baidu: LyricsFetcher::get_lyrics (37) ['NoneType' object has no attribute 'group']
17:22:57 T:5048 DEBUG: CU LRC Lyrics: lyricwiki: searching lyrics for - pipe://3/
17:22:57 T:5048 DEBUG: CU LRC Lyrics: lyricsmode: searching lyrics for - pipe://3/
17:22:57 T:5048 DEBUG: CU LRC Lyrics: lyricsmode: search url: http://www.lyricsmode.com/lyrics///pipe://3/.html
17:22:57 T:5048 DEBUG: CU LRC Lyrics: lyricsmode: search url: http://www.lyricsmode.com/search.php?wha...%2F%2F3%2F
17:22:57 T:5048 DEBUG: CU LRC Lyrics: lyricstime: searching lyrics for - pipe://3/
17:22:57 T:5048 DEBUG: CU LRC Lyrics: lyricstime: search url: http://www.lyricstime.com/-pipe://3/-lyrics.html
17:22:57 T:5048 DEBUG: CU LRC Lyrics: lyricstime: LyricsFetcher::get_lyrics (35) [list index out of range]
17:22:57 T:5048 DEBUG: CU LRC Lyrics: no lyrics found
17:22:57 T:5048 DEBUG: CU LRC Lyrics: myPlayer event: ended
17:22:57 T:5048 ERROR: EXCEPTION: Non-Existent Control 605
17:22:57 T:5048 ERROR: EXCEPTION: Non-Existent Control 299
17:22:57 T:5048 INFO: Scriptresult: Success
17:22:57 T:5048 ERROR: Failed to run the gc to clean up after running prior to shutting down the Interpreter C:\Users\user\AppData\Roaming\XBMC\addons\script.cu.lrclyrics\default.py
17:22:57 T:5048 WARNING: The python script "C:\Users\user\AppData\Roaming\XBMC\addons\script.cu.lrclyrics\default.py" has left several classes in memory that we couldn't clean up. The classes include: Window,Player,WindowXMLDialog
17:22:57 T:5048 INFO: Python script stopped
17:22:57 T:5048 DEBUG: Thread XBPyThread 5048 terminating
17:22:57 T:6096 DEBUG: waiting for python thread 2 (C:\Users\user\AppData\Roaming\XBMC\addons\script.cu.lrclyrics\default.py) to stop
17:22:57 T:6096 DEBUG: python thread 2 (C:\Users\user\AppData\Roaming\XBMC\addons\script.cu.lrclyrics\default.py) destructed
17:22:58 T:6096 DEBUG: ------ Window Deinit (C:\Program Files (x86)\XBMC\addons\skin.confluence\720p\script-XBMC_Lyrics-main.xml) ------




Same error from my Raspbmc nightly build:

17:37:53 T:2764960832 DEBUG: Python thread: start processing
17:37:54 T:3038199808 DEBUG: ------ Window Deinit (PlayerControls.xml) ------
17:37:54 T:2764960832 NOTICE: -->Python Interpreter Initialized<--
17:37:54 T:2764960832 DEBUG: Process - The source file to load is /home/pi/.xbmc/addons/script.cu.lrclyrics/default.py
17:37:54 T:2764960832 DEBUG: Process - Setting the Python path to /home/pi/.xbmc/addons/script.cu.lrclyrics:/home/pi/.xbmc/addons/script.module.xbmcswift/lib:/home/pi/.xbmc/addons/script.module.t0mm0.common/lib:/home/pi/.xbmc/addons/script.module.chardet/lib:/home/pi/.upgrade/xbmc-rbp-20130305/xbmc-bcm/xbmc-bin/share/xbmc/addons/weather.wunderground/resources/lib/wunderground:/home/pi/.upgrade/xbmc-rbp-20130305/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.module.simplejson/lib:/home/pi/.xbmc/addons/script.module.beautifulsoup/lib:/home/pi/.upgrade/xbmc-rbp-20130305/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.module.pil/lib:/home/pi/.xbmc/addons/script.common.plugin.cache/lib:/home/pi/.xbmc/addons/script.module.simple.downloader/lib:/home/pi/.xbmc/addons/script.module.urlresolver/lib:/home/pi/.xbmc/addons/script.module.parsedom/lib:/home/pi/.xbmc/addons/script.module.xbmcswift2/lib:/home/pi/.xbmc/addons/script.module.feedparser/lib:/home/pi/.upgrade/xbmc-rbp-20130305/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.module.pysqlite/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:
17:37:54 T:2764960832 DEBUG: Process - Entering source directory /home/pi/.xbmc/addons/script.cu.lrclyrics
17:37:54 T:2764960832 DEBUG: Instantiating addon using automatically obtained id of "script.cu.lrclyrics" dependent on version 2.1.0 of the xbmc.python api
17:37:54 T:2764960832 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x2e3bf90
17:37:54 T:3038199808 DEBUG: ------ Window Init (/home/pi/.upgrade/xbmc-rbp-20130305/xbmc-bcm/xbmc-bin/share/xbmc/addons/skin.confluence/720p/script-XBMC_Lyrics-main.xml) ------
17:37:54 T:3038199808 INFO: Loading skin file: /home/pi/.upgrade/xbmc-rbp-20130305/xbmc-bcm/xbmc-bin/share/xbmc/addons/skin.confluence/720p/script-XBMC_Lyrics-main.xml, load type: LOAD_ON_GUI_INIT
17:37:54 T:3038199808 DEBUG: POParser: loaded 19 strings from file /home/pi/.xbmc/addons/script.cu.lrclyrics/resources/language/German/strings.po
17:37:54 T:3038199808 DEBUG: POParser: loaded 2 strings from file /home/pi/.xbmc/addons/script.cu.lrclyrics/resources/language/English/strings.po
17:37:55 T:3038199808 DEBUG: CGUIMediaWindow::GetDirectory ()
17:37:55 T:3038199808 DEBUG: ParentPath = []
17:37:55 T:2764960832 ERROR: EXCEPTION: Non-Existent Control 299
17:37:55 T:2764960832 DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0x2e3bf90
17:37:55 T:2764960832 DEBUG: Previous line repeats 1 times.
17:37:55 T:2764960832 DEBUG: CU LRC Lyrics: myPlayer event: started
17:37:55 T:2764960832 DEBUG: CU LRC Lyrics: Current Song: KRS-One:Tell The Devil "Ha!"
17:37:55 T:2764960832 DEBUG: POParser: loaded 19 strings from file /home/pi/.xbmc/addons/script.cu.lrclyrics/resources/language/German/strings.po
17:37:55 T:2764960832 DEBUG: POParser: loaded 2 strings from file /home/pi/.xbmc/addons/script.cu.lrclyrics/resources/language/English/strings.po
17:37:56 T:2764960832 DEBUG: CU LRC Lyrics: no lyrics found
17:37:56 T:2764960832 ERROR: EXCEPTION: Non-Existent Control 605
17:37:56 T:2764960832 ERROR: EXCEPTION: Non-Existent Control 299
17:37:58 T:2773349440 DEBUG: COMXPlayerAudio - CDVDMsg::GENERAL_EOF
17:37:59 T:2773349440 DEBUG: COMXAudio::WaitCompletion - got eos
17:37:59 T:2882974784 NOTICE: COMXPlayer::OnExit()
17:37:59 T:2882974784 DEBUG: OMXClock::OMXStop
17:37:59 T:2882974784 NOTICE: OMXPlayer: eof, waiting for queues to empty
17:37:59 T:2882974784 NOTICE: OMXPlayer: closing audio stream
17:37:59 T:2882974784 NOTICE: Closing audio stream
17:37:59 T:2882974784 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
17:37:59 T:2773349440 DEBUG: COMXPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
17:37:59 T:2773349440 NOTICE: thread end: OMXPlayerAudio::OnExit()
17:37:59 T:2773349440 DEBUG: Thread COMXPlayerAudio 2773349440 terminating
17:37:59 T:2882974784 DEBUG: OMXClock::OMXStop
17:37:59 T:2882974784 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.audio_render handle 0x03076f30 dllopen : 1
17:37:59 T:2882974784 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.audio_mixer handle 0x02d6ea58 dllopen : 1
17:37:59 T:2882974784 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.audio_decode handle 0x02d6f408 dllopen : 1
17:37:59 T:2882974784 NOTICE: OMXClock using video as reference
17:37:59 T:2882974784 DEBUG: OMXClock::OMXReset audio / video : 0 / 0 start audio / video : 0 / 0 wait mask 0
17:37:59 T:2882974784 NOTICE: COMXPlayer::OnExit() deleting demuxer
17:37:59 T:2882974784 NOTICE: COMXPlayer::OnExit() deleting input stream
17:37:59 T:2882974784 DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
17:37:59 T:2882974784 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
17:37:59 T:2882974784 DEBUG: Thread COMXPlayer 2882974784 terminating
17:37:59 T:3038199808 DEBUG: FreeVisualisation() started
17:37:59 T:3038199808 INFO: ADDON: Dll Stopped - OpenGL Spectrum
17:37:59 T:3038199808 INFO: ADDON: Dll Destroyed - OpenGL Spectrum
17:37:59 T:3038199808 DEBUG: FreeVisualisation() done
17:37:59 T:2882974784 NOTICE: Thread Jobworker start, auto delete: true
17:37:59 T:2882974784 DEBUG: DoWork - Saving file state for audio item pipe://1/
17:37:59 T:2764960832 DEBUG: CU LRC Lyrics: myPlayer event: ended
17:37:59 T:3038199808 DEBUG: COMXPlayer::CloseFile
17:37:59 T:3038199808 DEBUG: COMXPlayer: waiting for threads to exit
17:37:59 T:3038199808 DEBUG: COMXPlayer: finished waiting
17:37:59 T:3038199808 DEBUG: LinuxRendererGL: Cleaning up GL resources
17:37:59 T:3038199808 DEBUG: OMXClock::OMXStop
17:37:59 T:3038199808 NOTICE: OMXClock using video as reference
17:37:59 T:3038199808 DEBUG: OMXClock::OMXReset audio / video : 0 / 0 start audio / video : 0 / 0 wait mask 0
17:37:59 T:3038199808 DEBUG: OMXClock::OMXStop
17:37:59 T:3038199808 NOTICE: OMXClock using video as reference
17:37:59 T:3038199808 DEBUG: OMXClock::OMXReset audio / video : 0 / 0 start audio / video : 0 / 0 wait mask 0
17:37:59 T:3038199808 DEBUG: COMXCoreComponent:Big Grineinitialize : OMX.broadcom.clock handle 0x024f77e8 dllopen : 1
17:37:59 T:2764960832 INFO: Scriptresult: Success
17:37:59 T:2764960832 ERROR: Failed to run the gc to clean up after running prior to shutting down the Interpreter /home/pi/.xbmc/addons/script.cu.lrclyrics/default.py
17:37:59 T:2764960832 WARNING: The python script "/home/pi/.xbmc/addons/script.cu.lrclyrics/default.py" has left several classes in memory that we couldn't clean up. The classes include: Window,Player,WindowXMLDialog
17:37:59 T:2764960832 INFO: Python script stopped
17:37:59 T:2764960832 DEBUG: Thread XBPyThread 2764960832 terminating
17:37:59 T:3038199808 DEBUG: waiting for python thread 5 (/home/pi/.xbmc/addons/script.cu.lrclyrics/default.py) to stop
17:37:59 T:3038199808 DEBUG: python thread 5 (/home/pi/.xbmc/addons/script.cu.lrclyrics/default.py) destructed
17:37:59 T:3038199808 DEBUG: ------ Window Deinit (/home/pi/.upgrade/xbmc-rbp-20130305/xbmc-bcm/xbmc-bin/share/xbmc/addons/skin.confluence/720p/script-XBMC_Lyrics-main.xml) ------
17:38:29 T:2882974784 DEBUG: Thread Jobworker 2882974784 terminating (autodelete)
17:38:29 T:3038199808 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcodec-53-arm.so)
17:38:29 T:3038199808 DEBUG: Unloading: avcodec-53-arm.so
17:38:30 T:3038199808 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/swresample-0-arm.so)
17:38:30 T:3038199808 DEBUG: Unloading: swresample-0-arm.so


At the End its the same error for all that platforms:


WARNING: The python script "/home/pi/.xbmc/addons/script.cu.lrclyrics/default.py" has left several classes in memory that we couldn't clean up. The classes include: Window,Player,WindowXMLDialog

I can add the log from OpenELEC too, but i think its the same ^^

Thank you in advance and best regards.

Robert
Reply
#2
i see no sign of the script crashing in either of those logfiles.
in fact, it reports it exited normally (INFO: Scriptresult: Success)

the key problem here is that the music stops...
if the music ends, the script will quit as a result of that.

i don't have any airplay devices myself, so that makes it hard to troubleshoot.


ps. when reporting a problem, always post a full Debug Log not just a part of it.
use xbmclogs.com and paste the url on the forum.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Hey ronie,

thanks for your reply!

I think exactly that happens, the music stops and the lyrics addon is still on for a few more seconds.

Now heres my full Log, i hope i made everything right this time. Smile

Windows 7:
http://xbmclogs.com/show.php?id=5310

Raspberry Pi, Raspbmc:
http://xbmclogs.com/show.php?id=5315

And from Raspberry Pi, OpenElec, just to make it complete:
http://xbmclogs.com/show.php?id=5319

On the brink:
Does Line 84 in my Pi log mean, that it starts only with 1280x720? It's connected via HDMI.

19:57:23 T:3038482432 NOTICE: Found ([email protected]) at 19, setting to RES_DESKTOP at 16
Reply
#4
if you haven't already done so, disable the 'search for embedded lyrics' option.
that's the only thing i can think of that could mess things up.


...and yes, your pi runs at 1280x720.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
Oh wow, you're a genius! Smile
It runs without this option, if i deactivate the synchronisation! great.
With synchronisation on, its the same effect as always, except that he searches first before airplay crashes. It's a bummer (cuz of the auto scroll in lyric ^^), but im not wondering that this option wont work (cause of the delay in airplay i think?).

What im really wondering about is the resolution oO Its connected via hdmi to an full hd samsung tv. thought it sets the correct resolution automatically.

Thx for all your help yet! =)
Reply
#6
(2013-03-19, 00:37)robby1337 Wrote: Oh wow, you're a genius! Smile
It runs without this option, if i deactivate the synchronisation! great.
With synchronisation on, its the same effect as always, except that he searches first before airplay crashes. It's a bummer (cuz of the auto scroll in lyric ^^), but im not wondering that this option wont work (cause of the delay in airplay i think?).
most of the lrc scraper should work i think?
only Alsong and GomAudio could cause issues i think.

both these, as well as the embedded option try to open the audiofile to extract some data.
since the file is already playing, this means the file will be opened twice.
maybe airplay doesn't support that...
[/quote]

(2013-03-19, 00:37)robby1337 Wrote: What im really wondering about is the resolution oO Its connected via hdmi to an full hd samsung tv. thought it sets the correct resolution automatically.

all rpi distros default to 1280x720 afaik, it's to save some resources.
you can most likely override this in settings > system > video output
or in the distro specific settings.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
(2013-03-19, 00:55)ronie Wrote: most of the lrc scraper should work i think?
only Alsong and GomAudio could cause issues i think.

both these, as well as the embedded option try to open the audiofile to extract some data.
since the file is already playing, this means the file will be opened twice.
maybe airplay doesn't support that...


Yeah, if i deactivated both, it works without airplay crashes. I dont know what i have to expect from these addon. Does it normally see that a track is changed or that the musics already begun?
My prob with it is actually, for the first track i start, i have to press M, choose lyrics, it has to load and so on..in this time my track is already at second 20 while the sync starts at beginning. So it doesnt run synchronized with music.
And if the track is at the end, the addon doesnt recognize a new track has begun. I have to close the addon, press M again and so.
I dont know, maybe i expect too much? ^^

Quote:all rpi distros default to 1280x720 afaik, it's to save some resources.
you can most likely override this in settings > system > video output
or in the distro specific settings.

1920 x 1080 is set in the menu. So it changes resolution while boot process? I mean, it rly doesnt look like 1280 x 720 (but could be better i think), it just confuses me Smile
Reply
#8
(2013-03-19, 03:57)robby1337 Wrote:
(2013-03-19, 00:55)ronie Wrote: most of the lrc scraper should work i think?
only Alsong and GomAudio could cause issues i think.

both these, as well as the embedded option try to open the audiofile to extract some data.
since the file is already playing, this means the file will be opened twice.
maybe airplay doesn't support that...


Yeah, if i deactivated both, it works without airplay crashes. I dont know what i have to expect from these addon. Does it normally see that a track is changed or that the musics already begun?
My prob with it is actually, for the first track i start, i have to press M, choose lyrics, it has to load and so on..in this time my track is already at second 20 while the sync starts at beginning. So it doesnt run synchronized with music.
And if the track is at the end, the addon doesnt recognize a new track has begun. I have to close the addon, press M again and so.
I dont know, maybe i expect too much? ^^
nope, all of that should work correctly out of the box.

again, i don't have any experience with airplay, so there may be some limitations there i'm unaware of.


(2013-03-19, 03:57)robby1337 Wrote: 1920 x 1080 is set in the menu. So it changes resolution while boot process? I mean, it rly doesnt look like 1280 x 720 (but could be better i think), it just confuses me Smile

i'm afraid i'll have to refer you too:
http://forum.xbmc.org/forumdisplay.php?fid=166
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#9
Yeah i know that you havent that big idea of airplay.^^

But you helped me a lot anyway, so big big thx!
Reply

Logout Mark Read Team Forum Stats Members Help
CU LRC Lyric with Airplay?0