[Solved] Samsung Q9 series issues

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
speckledegg
Posts: 34
Joined: Wed Apr 22, 2015 12:57 am

[Solved] Samsung Q9 series issues

Post by speckledegg »

Hi All - I wonder if anyone is having the same issues as me and may have a workaround.

I have a Samsung QE65Q95T. UMS works and connects, but the interface on the TV is terrible.

Some features, such as moving the files after they've been watched, or marking them do not work at all. I'm pretty sure this is just Samsung's rubbish software rather than a UMS problem, but I thought I'd check in case anyone else was having similar issues and figured out how to fix it? Is there a better way to use UMS with a QE65Q95T?

Any thoughts?

Cheers - Mark :)
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Samsung Q9 series issues

Post by Nadahar »

There's not much you can do about a terrible interface except use a "remote controller" like BubbleUPnP on an Android device to do the browsing and playback control.

When it comes to moving or marking files after they have been (fully) player, this has nothing to do with the TV. This is something UMS is supposed to handle all by itself, so if this doesn't work the problem is with UMS.
User avatar
mik_s
Moderator
Posts: 1115
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Samsung Q9 series issues

Post by mik_s »

There has been problems with thumbnails being cached and not being updated marking them as fully played in previous versions, but now I think about it nothing I have watched has recently has been marked as fully played even after restarting both UMS and the mediaplayer on the PS4 which should clear the cache.

Just checked on my PS4 and I think the fully played logic is broken, this is the last thing I watched
The PS4 does not like to pause transcoded videos for some reason and usually throws an error, so I have to stop instead if I need to do something. This shows correctly that the file is not fully played.

Code: Select all

TRACE 2021-07-17 03:48:45.466 [StartPlaying Event] Matched media renderer "PlayStation 4 mod" based on address 192.168.1.67
INFO  2021-07-17 03:48:45.482 [StartPlaying Event] Started playing Charmed (2018) S02E14 - Sudden Death.mkv on your PlayStation 4 mod
DEBUG 2021-07-17 03:48:45.482 [StartPlaying Event] The full filename of which is: K:\Users\Mik\Videos\-Episodes\Charmed\Charmed (2018) S02E14 - Sudden Death.mkv and the address of the renderer is: 192.168.1.67
TRACE 2021-07-17 04:15:46.732 [StopPlaying Event] Matched media renderer "PlayStation 4 mod" based on address 192.168.1.67
INFO  2021-07-17 04:15:46.917 [StopPlaying Event] Stopped playing Charmed (2018) S02E14 - Sudden Death.mkv on PlayStation 4 mod
DEBUG 2021-07-17 04:15:46.917 [StopPlaying Event] The full filename of which is "K:\Users\Mik\Videos\-Episodes\Charmed\Charmed (2018) S02E14 - Sudden Death.mkv" and the address of the renderer is 192.168.1.67
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event] Fully Played feature logging:
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event]    duration: 2443.284
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event]    getLastStartPosition: 0.0
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event]    getStartTime: 1626490125482
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event]    getLastStartSystemTime: 1.626490122421E12
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event]    elapsed: 1621.435
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event]    minimum play time needed: 2247.82128
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event] Searching for file in FILES_STATUS with "SELECT * FROM FILES_STATUS WHERE FILENAME = 'K:\Users\Mik\Videos\-Episodes\Charmed\Charmed (2018) S02E14 - Sudden Death.mkv' LIMIT 1" before update
TRACE 2021-07-17 04:15:46.917 [StopPlaying Event] final decision: not fully played
DEBUG 2021-07-17 04:15:53.303 [UPNP-AliveMessageSender] Sending ALIVE...
and this is resuming

Code: Select all

TRACE 2021-07-17 04:17:07.808 [StartPlaying Event] Matched media renderer "PlayStation 4 mod" based on address 192.168.1.67
INFO  2021-07-17 04:17:07.808 [StartPlaying Event] Started playing Charmed (2018) S02E14 - Sudden Death.mkv on your PlayStation 4 mod
DEBUG 2021-07-17 04:17:07.808 [StartPlaying Event] The full filename of which is: K:\Users\Mik\Videos\-Episodes\Charmed\Charmed (2018) S02E14 - Sudden Death.mkv and the address of the renderer is: 192.168.1.67
TRACE 2021-07-17 04:30:52.533 [StopPlaying Event] Matched media renderer "PlayStation 4 mod" based on address 192.168.1.67
INFO  2021-07-17 04:30:54.215 [StopPlaying Event] Stopped playing Charmed (2018) S02E14 - Sudden Death.mkv on PlayStation 4 mod
DEBUG 2021-07-17 04:30:54.215 [StopPlaying Event] The full filename of which is "K:\Users\Mik\Videos\-Episodes\Charmed\Charmed (2018) S02E14 - Sudden Death.mkv" and the address of the renderer is 192.168.1.67
TRACE 2021-07-17 04:30:54.215 [StopPlaying Event] Fully Played feature logging:
TRACE 2021-07-17 04:30:54.215 [StopPlaying Event]    duration: 2443.284
TRACE 2021-07-17 04:30:54.215 [StopPlaying Event]    getLastStartPosition: 1610.0
TRACE 2021-07-17 04:30:54.215 [StopPlaying Event]    getStartTime: 1626491827808
TRACE 2021-07-17 04:30:54.215 [StopPlaying Event]    getLastStartSystemTime: 1.626491834457E12
TRACE 2021-07-17 04:30:54.215 [StopPlaying Event]    elapsed: 2429.758
TRACE 2021-07-17 04:30:54.215 [StopPlaying Event]    minimum play time needed: 2247.82128
DEBUG 2021-07-17 04:31:22.476 [UPNP-AliveMessageSender] Sending ALIVE...
There is no "final decision:" which would usually say "fully played"
(I had stopped the video when the credits were showing, but to make sure it would count I played the last few seconds again)
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Samsung Q9 series issues

Post by Nadahar »

@mik_s It might be broken, I wouldn't know, but I can tell you that there's no "advanced" logic that keeps track of what part of the file you have played and then looks at the total when evaluating whether it is "fully played". This would be quite complicated to do.

So, when you stop the playback in the middle, it won't be fully played. Likewise, when you resume and then watch the rest, it won't be fully played. In addition to this, there are some major flaws in the logic which means that it doesn't really know what parts you have played. Instead it merely keeps track of how long you have played that file, so if you have paused playback, reversed and played some parts again etc, it all "counts" towards the "fully played". All it really looks at is that it has been "playing" (including pause and seek) for at least 90% of the duration of the media.

I did point this out "back in the day", but the assertion was that it was "good enough".
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Samsung Q9 series issues

Post by SubJunk »

You're right that there are edge cases with the logic Nadahar, but it's better than you described here at least; if a user seeks to half way through the file, we start the timer again at half way, etc.
Anyway there is room for improvement for sure, and I am a more capable developer now than I was when I worked on that years ago, so maybe I can improve it.

I'll look into this now.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Samsung Q9 series issues

Post by SubJunk »

I have just verified that the fully played feature works for me. There are some settings that need to be enabled for this, can you please see our article about it https://support.universalmediaserver.co ... kmrk-setup

If after doing those steps, and restarting the program, the feature still doesn't work, please post a log package as described in viewtopic.php?f=9&t=556
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Samsung Q9 series issues

Post by Nadahar »

I was talking about renderers that doesn't support AVTransport, and as far as I remember that is how it works in those situations. I could be wrong though, it's been a long time since I saw that code.
User avatar
mik_s
Moderator
Posts: 1115
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Samsung Q9 series issues

Post by mik_s »

posted log on GitHub.

@speckledegg could you post yours too so we can see if the same thing is happening, or maybe something unrelated.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Samsung Q9 series issues

Post by SubJunk »

Thanks for the logs
I can see that the file was in a folder that is not monitored, so the feature is working properly here. If you want it to work for that directory you'll need to enable the "Monitor played status of files" checkbox (step 3 of https://support.universalmediaserver.co ... kmrk-setup)
User avatar
mik_s
Moderator
Posts: 1115
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Samsung Q9 series issues

Post by mik_s »

I tried on a folder that is monitored in the shared content tab and marking does work (I still need to quit and restart the ps4 media player for the thumbnail to change, but I guess that is not a UMS problem)

The previous videos was part of a virtual folder which used to be monitored. @speckledegg are you using virtual folders too?
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Post Reply