Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable for short movies dont work #136

Open
urstin opened this issue Apr 9, 2020 · 3 comments
Open

disable for short movies dont work #136

urstin opened this issue Apr 9, 2020 · 3 comments

Comments

@urstin
Copy link

urstin commented Apr 9, 2020

i want to disable the dimming when i am wathcing a episode.
if i select the option it is not working any more.

@marcpaulchand
Copy link

Can you let us know you ~/.kodi/temp/kodi.log ?
Maybe there is some info inside...

@urstin
Copy link
Author

urstin commented Apr 19, 2020

here you go:

2020-04-19 18:05:56.593 T:1915311664 NOTICE: VideoPlayer::OpenFile: nfs://192.168.2.2/volume1/Serien/It's Always Sunny in Philadelphia/Staffel 7/Its.Always.Sunny.in.Philadelphia.S07E06.HDTV.XviD-ASAP.avi
2020-04-19 18:05:56.595 T:1713365728 NOTICE: Creating InputStream
2020-04-19 18:05:56.620 T:1713365728 NOTICE: Creating Demuxer
2020-04-19 18:05:57.488 T:1713365728 NOTICE: Opening stream: 0 source: 256
2020-04-19 18:05:57.488 T:1713365728 NOTICE: Whitelist search for: width: 624, height: 352, fps: 23.976, 3D: false
2020-04-19 18:05:57.491 T:1713365728 NOTICE: Display resolution ADJUST : 1920x1080 (1920x1080) @ 23.98 - Full Screen (52) (weight: 0.000)
2020-04-19 18:05:57.692 T:1915311664 NOTICE: VideoPlayer: OnLostDisplay received
2020-04-19 18:05:57.692 T:1915311664 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
2020-04-19 18:05:57.692 T:1915311664 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
2020-04-19 18:05:57.940 T:1915311664 NOTICE: VideoPlayer: OnResetDisplay received
2020-04-19 18:05:57.941 T:1915311664 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
2020-04-19 18:05:57.941 T:1915311664 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
2020-04-19 18:05:57.956 T:1713365728 NOTICE: Creating video codec with codec id: 12
2020-04-19 18:05:57.973 T:1713365728 NOTICE: Creating video thread
2020-04-19 18:05:57.973 T:1543500512 NOTICE: running thread: video_thread
2020-04-19 18:05:57.975 T:1713365728 NOTICE: Opening stream: 1 source: 256
2020-04-19 18:05:57.975 T:1713365728 NOTICE: Finding audio codec for: 86017
2020-04-19 18:05:57.975 T:1713365728 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder mp3float
2020-04-19 18:05:57.975 T:1713365728 NOTICE: Creating audio thread
2020-04-19 18:05:57.976 T:1458930400 NOTICE: running thread: CVideoPlayerAudio::Process()
2020-04-19 18:05:57.987 T:1458930400 NOTICE: Creating audio stream (codec id: 86017, channels: 2, sample rate: 48000, no pass-through)
2020-04-19 18:05:58.211 T:1915311664 NOTICE: Whitelist search for: width: 624, height: 352, fps: 23.976, 3D: false
2020-04-19 18:05:58.216 T:1915311664 NOTICE: Display resolution ADJUST : 1920x1080 (1920x1080) @ 23.98 - Full Screen (52) (weight: 0.000)
2020-04-19 18:06:07.497 T:1915311664 NOTICE: VideoPlayer: OnLostDisplay received
2020-04-19 18:06:07.750 T:1915311664 NOTICE: VideoPlayer: OnResetDisplay received
2020-04-19 18:06:07.788 T:1915311664 NOTICE: CVideoPlayer::CloseFile()
2020-04-19 18:06:07.794 T:1713365728 NOTICE: CVideoPlayer::OnExit()
2020-04-19 18:06:07.795 T:1713365728 NOTICE: Closing stream player 1
2020-04-19 18:06:07.795 T:1713365728 NOTICE: Waiting for audio thread to exit
2020-04-19 18:06:07.812 T:1458930400 NOTICE: thread end: CVideoPlayerAudio::OnExit()
2020-04-19 18:06:07.813 T:1713365728 NOTICE: Closing audio device
2020-04-19 18:06:07.820 T:1915311664 NOTICE: VideoPlayer: waiting for threads to exit
2020-04-19 18:06:07.863 T:1713365728 NOTICE: Deleting audio codec
2020-04-19 18:06:07.863 T:1713365728 NOTICE: Closing stream player 2
2020-04-19 18:06:07.863 T:1713365728 NOTICE: waiting for video thread to exit
2020-04-19 18:06:07.903 T:1543500512 NOTICE: thread end: video_thread
2020-04-19 18:06:07.905 T:1713365728 NOTICE: deleting video codec
2020-04-19 18:06:07.912 T:1915311664 NOTICE: VideoPlayer: finished waiting
2020-04-19 18:06:07.913 T:1915311664 NOTICE: CVideoPlayer::CloseFile()
2020-04-19 18:06:07.913 T:1915311664 NOTICE: VideoPlayer: waiting for threads to exit
2020-04-19 18:06:07.913 T:1915311664 NOTICE: VideoPlayer: finished waiting

@fefux
Copy link

fefux commented Oct 31, 2020

hello @urstin ,
Same issue for me and after tests, duration seems to be in minutes and not in seconds.
If I put 35 as value, episode under 35 minutes don't affect lights and episode longer than 35 minutes does.

Not at all, duration are well in seconds. The problems seems to be the return of getTotalTime() which can be 0 if the function is called to soon before the stream start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants