Jump to content

[gelöst] Kodi kann die Musikdatenbank nicht abspielen


looking111

Recommended Posts

looking111

Hallo Leute,

 

Emby 3.5.3.0 und Kodi 17.6 auf Ubuntu 18.04

 

Die Musiksammlung mit Emby hat am Kodi hier bei mir noch nie richtig funktioniert. Ich hab dann mal zum Test mit dem EmbyPlugin in Kodi die lokale Datenbank gelöscht und neu eingelesen. Beim ersten mal gingen ein paar Alben, die meisten Lieder waren doppelt. Habs dann nochmal gelöscht und neu eingelesen... also nur am Kodi. Nun ist zwar nichts doppelt aber dafür kann man auch nix abspielen. Bei den doppelten Einträgen konnte man übrigens alle beide abspielen.

 

Wenn ich nun bei Kodi auf Play klicke, kommt diese Meldung im Kodilog:

23:56:40.550 T:139800994211008   ERROR: Open - failed to open source <musicdb://recentlyplayedalbums/136/2251.mp3?albumid=136>
23:56:40.550 T:139800994211008   ERROR: Init: Error opening file musicdb://recentlyplayedalbums/136/2251.mp3?albumid=136
23:56:40.550 T:139800994211008   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://recentlyplayedalbums/136/2251.mp3?albumid=136
23:56:40.550 T:139800994211008 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:56:40.550 T:139800994211008   ERROR: Playlist Player: skipping unplayable item: 14, path [musicdb://recentlyplayedalbums/136/2251.mp3?albumid=136]
23:56:40.638 T:139800994211008   ERROR: Open - failed to open source <musicdb://recentlyplayedalbums/136/2252.mp3?albumid=136>
23:56:40.638 T:139800994211008   ERROR: Init: Error opening file musicdb://recentlyplayedalbums/136/2252.mp3?albumid=136
23:56:40.638 T:139800994211008   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://recentlyplayedalbums/136/2252.mp3?albumid=136
23:56:40.638 T:139800994211008 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:56:40.638 T:139800994211008   ERROR: Playlist Player: skipping unplayable item: 15, path [musicdb://recentlyplayedalbums/136/2252.mp3?albumid=136]

Vielleicht kann mir ja jemand weiterhelfen warum das bei mir nicht will. Wenn ihr noch mehr Infos und Logs benötigt einfach sagen.

 

Lieben Dank und glg :)

 

Edited by looking111
Link to comment
Share on other sites

Angelblue05

You have to check your music paths in Emby. Unfortunately, the logging for music in Kodi is unhelpful, what does your path to your music look like in Emby? Do you have an optional network folder set up for your music library?

 

@@sualfred

Link to comment
Share on other sites

looking111

You have to check your music paths in Emby. Unfortunately, the logging for music in Kodi is unhelpful, what does your path to your music look like in Emby? Do you have an optional network folder set up for your music library?

 

@@sualfred

Yes i have. Videos are on /home/Videos-Filme and Music is on /home/Musik

  • Like 1
Link to comment
Share on other sites

looking111

I found something like really interesting. I found an entry in kodi's favorites.

<favourite name="Alben" thumb="http://embyserver.local:8096/Items/8a05b0252259a1dbd62df97522638439/Images/Primary/0/c4f4eeae079d9b22604767af776500c6/jpg/480/480/0/0">ActivateWindow(10025,"upnp://008d3016f8e0424585ce9ece4fe349a7/albums_8a05b0252259a1dbd62df97522638439/",return)</favourite>

Sorry, but i didn't find out how i added this, because no button has this url... or no more. But the thing is every song from this view is working fine. Here are the log for:

23:22:03.579 T:140602448533248 WARNING: Previous line repeats 3 times.
23:22:03.579 T:140602448533248  NOTICE: EMBY.kodimonitor -> Method: Player.OnPlay Data: {"item":{"album":"Grosse Freiheit","artist":["Unheilig"],"title":"Das Meer","track":1,"type":"song"},"player":{"playerid":0,"speed":1}}
23:22:03.584 T:140602448533248  NOTICE: EMBY.kodimonitor -> Item is invalid for playstate update
23:22:04.638 T:140602448533248  NOTICE: Previous line repeats 1 times.
23:22:04.638 T:140602448533248  NOTICE: EMBY.kodimonitor -> Method: Playlist.OnClear Data: {"playlistid":2}
23:22:05.131 T:140600971699968 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2

But if i play a song from the dashboard, for example from recentlyplayedalbums it did not work, here are the errormessage from log:

2

3:21:22.957 T:140605007389888 WARNING: Previous line repeats 3 times.
23:21:22.957 T:140605007389888   ERROR: Open - failed to open source <musicdb://recentlyplayedalbums/136/2237.mp3?albumid=136>
23:21:22.957 T:140602448533248  NOTICE: EMBY.kodimonitor -> Method: Playlist.OnClear Data: {"playlistid":0}
23:21:22.957 T:140605007389888   ERROR: Init: Error opening file musicdb://recentlyplayedalbums/136/2237.mp3?albumid=136
23:21:22.957 T:140605007389888   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://recentlyplayedalbums/136/2237.mp3?albumid=136
23:21:22.957 T:140605007389888 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:21:22.957 T:140605007389888   ERROR: Playlist Player: skipping unplayable item: 0, path [musicdb://recentlyplayedalbums/136/2237.mp3?albumid=136]
23:21:24.863 T:140602448533248  NOTICE: EMBY.kodimonitor -> Method: Playlist.OnClear Data: {"playlistid":0}
23:21:25.130 T:140600971699968 WARNING: COutput::StateMachine - signal: 3 form port: timer not handled for state: 2

And if i choose "albums" from dash and would play one song, i get a lot of errros in the log:

23:24:16.894 T:140605007389888 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:24:16.894 T:140605007389888   ERROR: Playlist Player: skipping unplayable item: 4, path [musicdb://albums/136/2241.mp3?albumid=136]
23:24:16.981 T:140605007389888   ERROR: Open - failed to open source <musicdb://albums/136/2242.mp3?albumid=136>
23:24:16.981 T:140605007389888   ERROR: Init: Error opening file musicdb://albums/136/2242.mp3?albumid=136
23:24:16.981 T:140605007389888   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://albums/136/2242.mp3?albumid=136
23:24:16.982 T:140605007389888 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:24:16.982 T:140605007389888   ERROR: Playlist Player: skipping unplayable item: 5, path [musicdb://albums/136/2242.mp3?albumid=136]
23:24:17.069 T:140605007389888   ERROR: Open - failed to open source <musicdb://albums/136/2243.mp3?albumid=136>
23:24:17.069 T:140605007389888   ERROR: Init: Error opening file musicdb://albums/136/2243.mp3?albumid=136
23:24:17.069 T:140605007389888   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://albums/136/2243.mp3?albumid=136
23:24:17.069 T:140605007389888 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:24:17.069 T:140605007389888   ERROR: Playlist Player: skipping unplayable item: 6, path [musicdb://albums/136/2243.mp3?albumid=136]
23:24:17.157 T:140605007389888   ERROR: Open - failed to open source <musicdb://albums/136/2244.mp3?albumid=136>
23:24:17.157 T:140605007389888   ERROR: Init: Error opening file musicdb://albums/136/2244.mp3?albumid=136
23:24:17.158 T:140605007389888   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://albums/136/2244.mp3?albumid=136
23:24:17.158 T:140605007389888 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:24:17.158 T:140605007389888   ERROR: Playlist Player: skipping unplayable item: 7, path [musicdb://albums/136/2244.mp3?albumid=136]
23:24:17.243 T:140605007389888   ERROR: Open - failed to open source <musicdb://albums/136/2245.mp3?albumid=136>
23:24:17.243 T:140605007389888   ERROR: Init: Error opening file musicdb://albums/136/2245.mp3?albumid=136
23:24:17.243 T:140605007389888   ERROR: CAudioDecoder: Unable to Init Codec while loading file musicdb://albums/136/2245.mp3?albumid=136
23:24:17.243 T:140605007389888 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
23:24:17.243 T:140605007389888   ERROR: Playlist Player: skipping unplayable item: 8, path [musicdb://albums/136/2245.mp3?albumid=136]
23:24:17.328 T:140605007389888   ERROR: Open - failed to open source <musicdb://albums/136/2246.mp3?albumid=136>

Here the Embypluginconfiguration:

<settings>
    <setting id="LastIncrementalSync" value="2018-12-26T22:13:51Z" />
    <setting id="SyncInstallRunDone" value="true" />
    <setting id="accessToken" value="" />
    <setting id="additionalUsers" value="" />
    <setting id="askCinema" value="false" />
    <setting id="backupPath" value="" />
    <setting id="connectMsg" value="true" />
    <setting id="connectUsername" value="" />
    <setting id="dbSyncScreensaver" value="false" />
    <setting id="dblock" value="false" />
    <setting id="deleteMovies" value="false" />
    <setting id="deleteTV" value="false" />
    <setting id="deviceName" value="Kodi" />
    <setting id="deviceNameOpt" value="false" />
    <setting id="displayMessage" value="4" />
    <setting id="downloadThreads" value="3" />
    <setting id="enableCinema" value="true" />
    <setting id="enableContext" value="true" />
    <setting id="enableContextTranscode" value="true" />
    <setting id="enableCoverArt" value="true" />
    <setting id="enableExportSongRating" value="true" />
    <setting id="enableExternalSubs" value="false" />
    <setting id="enableImportSongRating" value="true" />
    <setting id="enableMusic" value="true" />
    <setting id="enableTextureCache" value="true" />
    <setting id="enableUpdateSongRating" value="true" />
    <setting id="failedCount" value="0" />
    <setting id="idMethod" value="0" />
    <setting id="ignoreSpecialsNextEpisodes" value="false" />
    <setting id="ignoreTranscode" value="" />
    <setting id="imageCacheLimit" value="5" />
    <setting id="incSyncIndicator" value="10" />
    <setting id="limitIndex" value="15" />
    <setting id="logLevel" value="1" />
    <setting id="markPlayed" value="90" />
    <setting id="metricLogging" value="true" />
    <setting id="networkCreds" value="" />
    <setting id="newContent" value="true" />
    <setting id="newmusictime" value="2" />
    <setting id="newvideotime" value="5" />
    <setting id="offerDelete" value="false" />
    <setting id="offlinetMsg" value="true" />
    <setting id="playFromStream" value="true" />
    <setting id="restartMsg" value="false" />
    <setting id="resumeJumpBack" value="10" />
    <setting id="server" value="http://emby.local:8096" />
    <setting id="serverId" value="008d301fz6e0424585ce9ec35je349a7" />
    <setting id="serverName" value="stream.osit.cc" />
    <setting id="serverSync" value="true" />
    <setting id="skipContextMenu" value="false" />
    <setting id="skipDialogTranscode" value="0" />
    <setting id="sslcert" value="None" />
    <setting id="sslverify" value="false" />
    <setting id="startupDelay" value="0" />
    <setting id="streamMusic" value="false" />
    <setting id="syncEmptyShows" value="false" />
    <setting id="token" value="36eadbb7bm3242b984cdebfde4fok6d7" />
    <setting id="transcodeHi10P" value="false" />
    <setting id="transcode_h265" value="false" />
    <setting id="useDirectPaths" value="0" />
    <setting id="userId" value="664a27b3073306849e750ffd921ae689" />
    <setting id="username" value="embyserver" />
    <setting id="videoBitrate" value="21" />
</settings>

Maybe with that information you can say more :)

 

Thanks a lot! :) :) :)

Edited by looking111
Link to comment
Share on other sites

  • 1 month later...
looking111

Nachdem ich auf Kodi trotz Datenbank Neuimports nichts mehr abspielen konnte (nur über Emby Remote) habe ich kurzer Hand Kodi auf 18 installiert und das gesamte Benutzerprofil mit allen Daten neu gebaut. Keine Plugins, nur Emby und VNSI/VDR. Nun gestern am Abend ausgeschaltet und schon gehts nicht mehr. Ich kann weder Videos noch Musik abspielen. Was mache ich falsch. Jetzt ist ja wirklich alles neu  und frisch. Hier das ist die Fehlermeldung vom Log aus Kodi.

 

Emby selbst auf dem Server geht es gut, keine bösen Meldungen.

 

Das einzige was war das beim Ersten initialisieren der Datenbank in Kodi ein Videofile nicht gelesen werden konnte. Blöde Zeichen im Dateinamen. Ich habs einfach gelöscht. Beim erneuten Start des Plugins auf Kodi wurde ich gefragt ob ich die Datenbank dort einlesen möchte wo vorher aufgehört wurde. Das habe ich natürlich mit "JA" bestätigt.

2019-02-01 16:19:46.534 Info HttpServer: HTTP SUBSCRIBE http://myemby.local:8096/dlna/008d3016f8e0424585ce9ece4fe349a7/contentdirectory/events. UserAgent:
2019-02-01 16:19:46.535 Info HttpServer: HTTP Response 200 to myemby.local. Time: 0ms. http://myemby.local:8096/dlna/008d3016f8e0424585ce9ece4fe349a7/contentdirectory/events

Hier nun der Kodierror.

16:13:52.453 T:139857903678400   ERROR: Control 55 in window 10025 has been asked to focus, but it can't
16:13:52.879 T:139857232414464   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named requests
                                            Traceback (most recent call last):
                                              File "/home/xbmc/.kodi/addons/plugin.video.emby/default.py", line 25, in <module>
                                                from entrypoint import Events
                                              File "/home/xbmc/.kodi/addons/plugin.video.emby/resources/lib/entrypoint/__init__.py", line 10, in <module>
                                                from helper import loghandler
                                              File "/home/xbmc/.kodi/addons/plugin.video.emby/resources/lib/helper/loghandler.py", line 9, in <module>
                                                import database
                                              File "/home/xbmc/.kodi/addons/plugin.video.emby/resources/lib/database/__init__.py", line 17, in <module>
                                                from objects import obj
                                              File "/home/xbmc/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/__init__.py", line 4, in <module>
                                                from movies import Movies
                                              File "/home/xbmc/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/movies.py", line 11, in <module>
                                                from kodi import Movies as KodiDb, queries as QU
                                              File "/home/xbmc/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/kodi/__init__.py", line 1, in <module>
                                                from kodi import Kodi
                                              File "/home/xbmc/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/kodi/kodi.py", line 9, in <module>
                                                import artwork
                                              File "/home/xbmc/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/kodi/artwork.py", line 16, in <module>
                                                import requests
                                            ImportError: No module named requests
                                            -->End of Python script error report<--
16:13:52.902 T:139857253132032   ERROR: GetDirectory - Error getting plugin://plugin.video.emby/?content_type=video
16:13:52.906 T:139857903678400   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.emby/?content_type=video) failed

Vielen Dank für eure Tipps.

 

Link to comment
Share on other sites

looking111

So, nachdem ich jetzt nochmal alles neu gemacht habe und die Musikvideos weg gelassen habe, funktioniert es. Manno.

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...