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

Last Played date requires admin privileges #794

Open
Atlantiantokra opened this issue Nov 7, 2024 · 0 comments
Open

Last Played date requires admin privileges #794

Atlantiantokra opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Atlantiantokra
Copy link

Atlantiantokra commented Nov 7, 2024

Describe the bug
The client is not able to create the xml tag <lastplayed> in .nfo files without admin privileges

To Reproduce
Steps to reproduce the behavior:

  1. Using the Client play any unplayed video file
  2. move the current position to between the minimum and maximum resume percentages
  3. exit the video or client

Expected behavior
On exiting the video a line should be added with the tag <lastplayed> which records the date and time you stopped playing the video

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 32H2
  • Installation Method: windows installer

Additional context
Without the tag being made then watched videos will be placed last in the 'continue watching' list and the 'date played' sorting feature is useless
The client is able to edit and remove existing tags without admin privileges but does not create them unless running as administrator
The bug is not present when using a web browser

I am using client 1.11.1 and server 10.10.0

Relevant log entries included below. Actual server URL has been replaced with %ServerURL%. Lines listing available modes for Display #0 omitted

2024-11-07 07:03:01.525 [debug] unknown @ 0 - mkv: seek done
2024-11-07 07:03:01.525 [debug] unknown @ 0 - vd: Decoder format: 720x576 [16:15] nv12 bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=720x576+0+0
2024-11-07 07:03:01.525 [debug] unknown @ 0 - vd: Using container aspect ratio.
2024-11-07 07:03:01.541 [debug] unknown @ 0 - cplayer: first video frame after restart shown
2024-11-07 07:03:01.542 [debug] unknown @ 0 - cplayer: audio ready
2024-11-07 07:03:01.542 [debug] unknown @ 0 - cplayer: starting audio playback
2024-11-07 07:03:01.542 [debug] unknown @ 0 - cplayer: playback restart complete @ 869.233000, audio=playing, video=playing
2024-11-07 07:03:01.542 [info] unknown @ 0 - Entering state: playing
2024-11-07 07:03:04.063 [debug] onLoadingChanged @ 181 - WebEngineLoadRequest starting: %ServerURL%
2024-11-07 07:03:04.093 [info] unknown @ 0 - JS: [RouterHistory] history update [object Object]
2024-11-07 07:03:04.096 [info] unknown @ 0 - JS: [ViewManagerPage] restoring view [%s] itemDetails/index.html
2024-11-07 07:03:04.096 [info] unknown @ 0 - JS: [viewContainer] tryRestoreView [object Object]
2024-11-07 07:03:04.096 [info] unknown @ 0 - JS: [ConnectionRequired] connection state undefined
2024-11-07 07:03:04.097 [debug] unknown @ 0 - cplayer: Set property: sub-delay=0.000000 -> 1
2024-11-07 07:03:04.097 [debug] unknown @ 0 - cplayer: EOF code: 4  
2024-11-07 07:03:04.097 [debug] unknown @ 0 - Enabling OS screensaver
2024-11-07 07:03:04.097 [info] unknown @ 0 - JS: [nowPlayingBar:onPlaybackStopped] event: playbackstop
2024-11-07 07:03:04.173 [debug] unknown @ 0 - cplayer: Set property: video-unscaled=false -> 1
2024-11-07 07:03:04.173 [debug] unknown @ 0 - cplayer: Set property: video-aspect-override="-1" -> 1
2024-11-07 07:03:04.173 [debug] unknown @ 0 - cplayer: Set property: keepaspect=true -> 1
2024-11-07 07:03:04.173 [debug] unknown @ 0 - cplayer: Set property: panscan=0.000000 -> 1
2024-11-07 07:03:04.174 [info] unknown @ 0 - Entering state: buffering
2024-11-07 07:03:04.174 [debug] unknown @ 0 - Enabling OS screensaver
2024-11-07 07:03:04.174 [debug] unknown @ 0 - cplayer: finished playback, success (reason 2)
2024-11-07 07:03:04.174 [info] unknown @ 0 - Entering state: canceled
2024-11-07 07:03:04.174 [info] unknown @ 0 - Entering state: canceled
2024-11-07 07:03:04.343 [info] unknown @ 0 - "DisplayManager found 1 Display(s)."
2024-11-07 07:03:04.343 [info] unknown @ 0 - "Available modes for Display #0 (NVIDIA GeForce RTX 3060)"

2024-11-07 07:03:04.344 [info] unknown @ 0 - "DisplayManager : Current Display Mode on Display #0 is  3840 x 2160 x 32bpp @60Hz"
2024-11-07 07:03:04.344 [info] unknown @ 0 - Looking for a display at: QRect(992,125 897x869) (center: QPoint(1440,559) )
2024-11-07 07:03:04.344 [info] unknown @ 0 - Looking at display 0 "\\\\.\\DISPLAY1"
2024-11-07 07:03:04.344 [info] unknown @ 0 - Position on virtual desktop: QRect(0,0 3840x2160)
2024-11-07 07:03:04.344 [info] unknown @ 0 - Display index: 0
2024-11-07 07:03:04.345 [info] unknown @ 0 - Looking for a display at: QRect(992,125 897x869) (center: QPoint(1440,559) )
2024-11-07 07:03:04.345 [info] unknown @ 0 - Looking at display 0 "\\\\.\\DISPLAY1"
2024-11-07 07:03:04.345 [info] unknown @ 0 - Position on virtual desktop: QRect(0,0 3840x2160)
2024-11-07 07:03:04.345 [info] unknown @ 0 - Display index: 0
2024-11-07 07:03:04.345 [debug] unknown @ 0 - "Parsing other configuration: "
2024-11-07 07:03:04.345 [debug] unknown @ 0 - "Parsing other configuration: "
2024-11-07 07:03:04.348 [debug] unknown @ 0 - vo/libmpv: mpv_render_context_render() not being called or stuck.
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: video-sync="audio" -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: hwdec="auto-copy" -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: hwdec-image-format="no" -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: deinterlace="no" -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: display-fps-override=60.000000 -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: audio-delay=0.000000 -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: demuxer-max-bytes=78643200 -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: video-unscaled=false -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: video-aspect-override="-1" -> 1
2024-11-07 07:03:04.348 [debug] unknown @ 0 - cplayer: Set property: keepaspect=true -> 1
2024-11-07 07:03:04.349 [debug] unknown @ 0 - cplayer: Set property: panscan=0.000000 -> 1
2024-11-07 07:03:04.349 [debug] unknown @ 0 - Enabling OS screensaver
2024-11-07 07:03:04.349 [info] unknown @ 0 - JS: Cannot find connection of signal playing to 
2024-11-07 07:03:04.349 [info] unknown @ 0 - JS: Cannot find connection of signal positionUpdate to 
2024-11-07 07:03:04.350 [info] unknown @ 0 - JS: Cannot find connection of signal finished to 
2024-11-07 07:03:04.350 [info] unknown @ 0 - JS: Cannot find connection of signal updateDuration to 
2024-11-07 07:03:04.350 [info] unknown @ 0 - JS: Cannot find connection of signal error to 
2024-11-07 07:03:04.350 [info] unknown @ 0 - JS: Cannot find connection of signal paused to 
2024-11-07 07:03:04.350 [info] unknown @ 0 - JS: Requesting url without automatic networking: %ServerURL%/Sessions/Playing/Stopped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant