Jump to content


Photo

Weird Bug

MBS

  • Please log in to reply
63 replies to this topic

#41 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 4755 posts
  • Local time: 04:38 PM
  • LocationAustin, TX

Posted 14 April 2015 - 08:59 AM

Thanks @olerocker - can you give us some help with the timestamps of interest though?  That is a LOT to look through.  Also the name/id of the items of interest would be helpful.

 

Finally - the first server log is playback through Kodi?  Or is everything web playback?

 

xnappo



#42 olerocker OFFLINE  

olerocker

    Advanced Member

  • Members
  • 52 posts
  • Local time: 12:38 AM

Posted 14 April 2015 - 09:24 AM

Sure, just tell what you want me to look at and i post the info (not to experienced in this type of thing, but i will do my best).

 

What do you meen by timestamps and name/ids ? (again sorry for the ignorence)

 

Yes, the first log is playback through Kodi. The second, mostly through web playback remotely.



#43 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 4755 posts
  • Local time: 04:38 PM
  • LocationAustin, TX

Posted 14 April 2015 - 09:25 AM

So in the log, on the left side is the time - what time did you start playback, and what was it that you played? 



#44 olerocker OFFLINE  

olerocker

    Advanced Member

  • Members
  • 52 posts
  • Local time: 12:38 AM

Posted 14 April 2015 - 10:18 AM

OK, i started playback the exact time that i downloaded the subtitle that is shown in the log.

i started the playback and paused to get the subtitle.

 

the file path:

\\NIK-SERVER\mediapool\_Videos\Tv Shows\The Shield\Season 3\The Shield - 3x05 - Mum.avi

 

and the playback time was:

2015-04-14 13:53:09.2292

 

Attached Files



#45 breezytm OFFLINE  

breezytm

    Advanced Member

  • Members
  • 718 posts
  • Local time: 04:38 PM

Posted 14 April 2015 - 07:22 PM

The issue is back for me as well. @xnappo are you not seeing the issue on your setup?



#46 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 4755 posts
  • Local time: 04:38 PM
  • LocationAustin, TX

Posted 14 April 2015 - 07:46 PM

... I am not running the new addon yet :)


  • breezytm likes this

#47 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 4755 posts
  • Local time: 04:38 PM
  • LocationAustin, TX

Posted 14 April 2015 - 07:50 PM

Oooohh - I have seen this - I don't think it has anything to do with the new addon.  Somehow Emby sees srt files and does wacky things.  @Luke - is there a way to exclude file types as an experiment?



#48 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153466 posts
  • Local time: 05:38 PM

Posted 14 April 2015 - 09:09 PM

No. Does what exactly?

#49 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 4755 posts
  • Local time: 04:38 PM
  • LocationAustin, TX

Posted 14 April 2015 - 09:31 PM

From the log, basically looks like some access clash then things go badly.

2015-04-14 13:51:41.6190 Error - HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.
2015-04-14 13:53:09.2292 Error - LibraryMonitor: Error determining if file is locked: \\NIK-SERVER\mediapool\_Videos\Tv Shows\The Shield\Season 3\The Shield - 3x05 - Mum.el.srt
	*** Error Report ***
	Version: 3.0.5572.0
	Command line: C:\Users\nik\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 2
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\nik\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\nik\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Access to the path '\\NIK-SERVER\mediapool\_Videos\Tv Shows\The Shield\Season 3\The Shield - 3x05 - Mum.el.srt' is denied.
	System.UnauthorizedAccessException
	   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
	   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
	   at MediaBrowser.Common.Implementations.IO.CommonFileSystem.GetFileStream(String path, FileMode mode, FileAccess access, FileShare share, Boolean isAsync)
	   at MediaBrowser.Server.Implementations.IO.LibraryMonitor.IsFileLocked(String path)
	
2015-04-14 13:53:09.3384 Info - LibraryMonitor: \\NIK-SERVER\mediapool\_Videos\Tv Shows\The Shield\Season 3\The Shield - 3x05 - Mum.el.srt reports change.
2015-04-14 13:53:09.3384 Info - LibraryMonitor: Season 3 (\\NIK-SERVER\mediapool\_Videos\Tv Shows\The Shield\Season 3) will be refreshed.
2015-04-14 14:46:23.7096 Error - HttpServer: Error in SharpWebSocket: An exception has occurred while receiving a message.


#50 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153466 posts
  • Local time: 05:38 PM

Posted 14 April 2015 - 09:37 PM

Not sure that's the root problem. It should recover from that and continue on. We log everything relentlessly sometimes to a fault.

#51 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 4755 posts
  • Local time: 04:38 PM
  • LocationAustin, TX

Posted 14 April 2015 - 09:41 PM

@olerocker, we need you to post the FULL log file from when the error occurs.  So:

 

1. Delete the log file

2. Recreate the problem

3. Post the full log file and tell us what you tried to play and at what time, and what the database looked like before and after the corruption.

 

Thanks!
xnappo



#52 olerocker OFFLINE  

olerocker

    Advanced Member

  • Members
  • 52 posts
  • Local time: 12:38 AM

Posted 15 April 2015 - 04:15 AM

Ok I will try to do this today just a few question.

1. Is there some kind of level setting for the log file ?
2. When you say how the database looked before and after the corruption do you mean screenshots from the web browser ?

Sorry if I'm being a pain.

Edited by olerocker, 15 April 2015 - 04:17 AM.


#53 xnappo OFFLINE  

xnappo

    Advanced Member

  • Developers
  • 4755 posts
  • Local time: 04:38 PM
  • LocationAustin, TX

Posted 15 April 2015 - 08:16 AM

Not at all - you are being quite helpful.

 

1. @Luke Does he need to turn on more logging on the server side?

2. Yeah, screenshots of the Web client showing before and after would be helpful.

 

Thanks,

xnappo


  • Angelblue05 likes this

#54 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153466 posts
  • Local time: 05:38 PM

Posted 15 April 2015 - 09:52 AM

debug



#55 olerocker OFFLINE  

olerocker

    Advanced Member

  • Members
  • 52 posts
  • Local time: 12:38 AM

Posted 15 April 2015 - 02:21 PM

Ok, here we go.

 

I tried playing a few files to document what seems to be happening that could be corrupting the metadata.

 

1. In the Main Screen before and after pics i have marked the video files that were played.

    a.) The file marked as S3,E10 had a subtitle file already in its folder.

    b.) The file marked as S3,E11 had no subtitle at all.

    c.) The files marked as S3,E12 - S3,E13 had subtitles downloaded by kodi through the programĀ“s subtitle option.

 

This is the timestamp of this little attempt.

 

17:37-----------S3,E10 - start
18:23-----------S3,E10 - stopped

18:24-----------S3,E11 - start
19:09-----------S3,E11 - stopped

19:13-----------S3,E12 - start (paused to download subtitle)
19:58-----------S3,E12 - stopped

20:01-----------S3,E13 - start (paused to download subtitle)
20:44-----------S3,E13 - stopped

 

From what I see, something happens to the metadata when you ask for kodi to download a subtitle.

 

Though after the playback of file S3,E11 metadata appeared to be correct in the web browser.

But after playing back file S3,E12 both those files metadata got corrupted.

Cant understand while that would happen to a previous file though.

 

This is documented in:

server-63564711992_Log1.txt

 

 

2. On server-63564711992_Log2.txt I have documented the behaviour of just 1 file being played S3,E12.

 

Also i have submitted a before and  after pic concerning the metadata of a the altered metadata file that was played.

 

Hope this helps. For anything more feel free ta ask.

Attached Files


Edited by olerocker, 15 April 2015 - 02:27 PM.

  • xnappo likes this

#56 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153466 posts
  • Local time: 05:38 PM

Posted 15 April 2015 - 02:27 PM

how about a screenshot of the folder. thanks.



#57 olerocker OFFLINE  

olerocker

    Advanced Member

  • Members
  • 52 posts
  • Local time: 12:38 AM

Posted 15 April 2015 - 03:27 PM

The folder of the video files ?

Attached Files


Edited by olerocker, 15 April 2015 - 03:33 PM.

  • breezytm likes this

#58 breezytm OFFLINE  

breezytm

    Advanced Member

  • Members
  • 718 posts
  • Local time: 04:38 PM

Posted 27 April 2015 - 12:30 AM

Maybe the problem really isn't Emby for Kodi add-on-on related.

 

I uninstalled the add-on about two weeks ago and refreshed my library. I went throught everything single season to make sure the server didn't have the scrabbled info and they were fine. Whatever was messed up I fixed. Randomly I am seeing the issue again. I thought I'll share. 



#59 Angelblue05 OFFLINE  

Angelblue05

    Advanced Member

  • Developers
  • 12738 posts
  • Local time: 03:38 PM

Posted 27 April 2015 - 12:46 AM

@breezytm

 

I believe this is solved in dev (I am on it, and I've not experienced the issue again). Basically any changed that would be detected in the content's folder was causing the episode to lose the season/episode number.

 

Is that what you've been experiencing as well?



#60 breezytm OFFLINE  

breezytm

    Advanced Member

  • Members
  • 718 posts
  • Local time: 04:38 PM

Posted 27 April 2015 - 02:22 AM

Well recently I deleted all the backdrops folders, theme files, .srt files, and a few others. I just want to keep my folders clean. That may explain it. 

 

I will switch to dev branch. 







Also tagged with one or more of these keywords: MBS

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users