Jump to content


Photo

Music Library w/ Audio books flickering

audiobooks audio books music library roku flickering bug

  • Please log in to reply
38 replies to this topic

#21 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136081 posts
  • Local time: 07:57 AM

Posted 12 December 2018 - 01:25 AM

can you show a screenshot? can you also use the image editor in the web app to check the images assigned to the music library? perhaps it is a backdrop there.

 

Also, can you locate the music file on your drive, and then walk up the folder tree and check the contents of the folders at each level to see if the image is there? thanks.



#22 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 12 December 2018 - 02:16 AM

can you show a screenshot? can you also use the image editor in the web app to check the images assigned to the music library? perhaps it is a backdrop there.

 

Also, can you locate the music file on your drive, and then walk up the folder tree and check the contents of the folders at each level to see if the image is there? thanks.

 

I might be able take a screenshot on my Roku, but first I need a zip file so I can sideload the Emby app to it.  I have no idea where to find the zip.

 

The audio books folder is located on my desktop nested two branches down (so you have the container folder on the desktop, then within that folder is an audio books folder that contains the folders for the individual audio books).  I have ON the option to see Hidden Files on my Windows 7, and there's no image that matches what I'm seeing.  Just in case, I created a New Folder on the desktop and placed one of the single MP3 audio files that had been having the issue into that, and added a new Music library to Emby.  Same error comes up.

 

Looking at the flashing screen on my TV, it doesn't look like there's an actual image there.  It looks like lens flare fading in and out, and alternating with gray and black screens.  I took a terrible video recording (you'll have to excuse my sigh of exasperation at the beginning), so if you want I can send it your way (it's only 11 seconds long).


Edited by macwillard, 12 December 2018 - 02:40 AM.


#23 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 12 December 2018 - 02:33 AM

So I decided to see what a true audio (a song) would do in a Music library (since my single 2 MP3 files weren't working).  I created a new folder on the desktop, placed an M4A into the folder (doesn't even have cover art), and added that to a new Music library.  Went to the Roku, navigated to the new Music library.  Thought it was funny that the song didn't show up on the Latest list, but selected it through By title and tried to play it.  Received the message: Unable to determine items to play.

 

Tried it with an MP3 file (also no cover art).  Got the same message and then I was sent to the Roku home screen.  Emby had crashed (I have attached a log taken shortly after this experiment which was only a few minutes ago).  Returned to Emby and tried the song again.  Received the same error message, but Emby didn't crash.  I was merely left with the loading circle on the screen and no audio.

Attached Files

  • Attached File  Log.txt   2.48MB   1 downloads

Edited by macwillard, 12 December 2018 - 02:34 AM.


#24 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136081 posts
  • Local time: 07:57 AM

Posted 12 December 2018 - 02:42 AM

The crash is most likely image related and is resolved for the next release of the server. @speechles can you diagnose the playback problem? thanks.



#25 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5281 posts
  • Local time: 04:57 AM

Posted 12 December 2018 - 02:34 PM

@macwillard Are these newly added without having any metadata/ffprobing yet?

 

@Luke I cannot reproduce this yet. I am suspect it is missing metadata/mediasource and the audioplayer expects that to be there. This would cause the crash in app. I am chasing the issue blind atm looking for missing checks if data exists. It is probably when mediasource is invalid the problem occurs.


Edited by speechles, 12 December 2018 - 02:35 PM.


#26 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 12 December 2018 - 02:49 PM

@macwillard Are these newly added without having any metadata/ffprobing yet?

 

If you're referring to the audio files, they are newly added to Emby.  I'm afraid I don't know what ffprobing is, or what it entails to have metadata before Emby.



#27 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5281 posts
  • Local time: 04:57 AM

Posted 12 December 2018 - 03:05 PM

If you're referring to the audio files, they are newly added to Emby.  I'm afraid I don't know what ffprobing is, or what it entails to have metadata before Emby.

 

That is fine. I think I know what is going on here. After you added the files you did not go to scheduled tasks and choose scan. You beat the scanner to the files(this is why it didn't show in latest), this means certain behaviors are unpredictable when you do this. The server hasn't ffprobed the file. Ffprobe is a utility to pull media information from within the file. Emby uses this to tell the app what to do. The app sometimes assumes the server will always give it this information. I believe that is what is going on here. We are assuming we can get mediasource or mediastreams within mediasource when in fact it doesn't exist.

 

To tell if this is the case, after you add everything go to scheduled tasks and choose scan. Wait til the scan finishes and see if the same problem is there.

If it now works it was what I thought and I can fix this knowing what it is.

If it still doesn't work it is something else and I need to get to the bottom of it.

 

Once you let me know I can dig further. Thanks.


Edited by speechles, 12 December 2018 - 03:07 PM.


#28 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 12 December 2018 - 04:32 PM

That is fine. I think I know what is going on here. After you added the files you did not go to scheduled tasks and choose scan. You beat the scanner to the files(this is why it didn't show in latest), this means certain behaviors are unpredictable when you do this. The server hasn't ffprobed the file. Ffprobe is a utility to pull media information from within the file. Emby uses this to tell the app what to do. The app sometimes assumes the server will always give it this information. I believe that is what is going on here. We are assuming we can get mediasource or mediastreams within mediasource when in fact it doesn't exist.

 

To tell if this is the case, after you add everything go to scheduled tasks and choose scan. Wait til the scan finishes and see if the same problem is there.

If it now works it was what I thought and I can fix this knowing what it is.

If it still doesn't work it is something else and I need to get to the bottom of it.

 

Once you let me know I can dig further. Thanks.

 

I followed the directions (with a companion as a form of double-checking), but the flashing background is still there.  Not sure if this helps, but with the background continually flashing, I ventured into the Movies library and started one of the movies, then backed out.  The background was back to normal.



#29 Happy2Play OFFLINE  

Happy2Play

    Trial and Error

  • Moderators
  • 15347 posts
  • Local time: 04:57 AM
  • LocationWashington State

Posted 12 December 2018 - 04:38 PM

That post was in reference to your playback issue.

 

 

Tried it with an MP3 file (also no cover art).  Got the same message and then I was sent to the Roku home screen.  Emby had crashed (I have attached a log taken shortly after this experiment which was only a few minutes ago).  Returned to Emby and tried the song again.  Received the same error message, but Emby didn't crash.  I was merely left with the loading circle on the screen and no audio.

 

So was this playback issue related to missing metadata?

 

 

To tell if this is the case, after you add everything go to scheduled tasks and choose scan. Wait til the scan finishes and see if the same problem is there.

If it now works it was what I thought and I can fix this knowing what it is.

If it still doesn't work it is something else and I need to get to the bottom of it.

 



#30 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 12 December 2018 - 06:36 PM

That post was in reference to your playback issue.

 

 

So was this playback issue related to missing metadata?

 

I looked at the metadata for one of the audio books and saw that the file had all the general metadata, and these have never had an issue playing on my PC (via the VLC program).  What metadata does Emby require to play that I might look for that in the file details?



#31 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136081 posts
  • Local time: 07:57 AM

Posted 13 December 2018 - 11:36 AM

Can you try refreshing metadata on the album and then see if it plays after that? Thanks.



#32 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 13 December 2018 - 01:06 PM

Refreshing doesn't work on a single audio file, nor an album.  I've also noticed that the Play All feature in the album isn't working properly, either.  It will show the correct length, but the audio will be wrong.  In this album it started with track 2 and then skipped to track 5.  The tracks are in the correct order when viewing the album.



#33 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136081 posts
  • Local time: 07:57 AM

Posted 13 December 2018 - 01:32 PM

Can you attach the emby server log? Thanks.

#34 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 13 December 2018 - 02:13 PM

Find attached.

Attached Files

  • Attached File  Log.txt   218.08KB   1 downloads


#35 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5281 posts
  • Local time: 04:57 AM

Posted 13 December 2018 - 03:38 PM

Are you using the Emby Beta app? That random when it shouldn't be random bug should already be fixed in beta.



#36 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 13 December 2018 - 04:40 PM

Are you using the Emby Beta app? That random when it shouldn't be random bug should already be fixed in beta.

 

Using the Beta app didn't fix the random problem.  Should I just reinstall the Emby server and the stable app, recreate only the music library, let the initial scan do its job, and then re-scan through the Scheduled Tasks to see if that works?



#37 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136081 posts
  • Local time: 07:57 AM

Posted 14 December 2018 - 04:11 PM

@macwillard, we're looking into this, thanks.



#38 macwillard OFFLINE  

macwillard

    Member

  • Members
  • 18 posts
  • Local time: 03:57 AM

Posted 14 December 2018 - 05:42 PM

@macwillard, we're looking into this, thanks.

 

Good luck.  We're all counting on you.



#39 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5281 posts
  • Local time: 04:57 AM

Posted 14 December 2018 - 06:44 PM

Good luck.  We're all counting on you.

 

I was side tracked on another issue earlier. I got that resolved and may be a big update for non english speaking users very soon.

 

But in your case, I can start to tackle this one next. Please do not use the stable app. Use instead the beta app when we test with you. The stable app is no longer the same code base for sections. Please please stay on the beta Roku app there is no reason not to be on it. Thanks. I appreciate the fact you are sticking with us through this headache. It will get a remedy, failure is not an option. :)


Edited by speechles, 14 December 2018 - 06:44 PM.

  • Tang! likes this





Also tagged with one or more of these keywords: audiobooks, audio books, music, library, roku, flickering, bug

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users