Hi all
Ive updated to master last week and have been using it and noticed that
play from last position doesn't seem work. It always plays from the start.
Looking into this, I found that in the recordedmarkup table there are
multiple entries for both LASTPLAYPOS and BOOKMARK.
Also the query for the last played position grabs these into a QMap
where the key is the frame number and the value is the type. These keys
according to the QMap documentation are sorted in ascending order,
however the frame number is taken as the first element of the iterator
thus the lowest value (close to 0 (80) in this case).
This presents a design question.
1. should there be multiple entries in the recorded markup table per
recording for each type or are multiple ok?
2. If the above is ok, then query should be pulling from the last key
not the first.
What is the intended use and I'll fix this issue?
Using mariadb 10.6 (newly upgraded) but was on 10.2 previously. I don't
think this is a DB issue.
Cheers
Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Ive updated to master last week and have been using it and noticed that
play from last position doesn't seem work. It always plays from the start.
Looking into this, I found that in the recordedmarkup table there are
multiple entries for both LASTPLAYPOS and BOOKMARK.
Also the query for the last played position grabs these into a QMap
where the key is the frame number and the value is the type. These keys
according to the QMap documentation are sorted in ascending order,
however the frame number is taken as the first element of the iterator
thus the lowest value (close to 0 (80) in this case).
This presents a design question.
1. should there be multiple entries in the recorded markup table per
recording for each type or are multiple ok?
2. If the above is ok, then query should be pulling from the last key
not the first.
What is the intended use and I'll fix this issue?
Using mariadb 10.6 (newly upgraded) but was on 10.2 previously. I don't
think this is a DB issue.
Cheers
Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org