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
[estuary] optionally show date/duration if recordings sort mode is size or duration #17691
Conversation
@@ -213,7 +213,7 @@ | |||
<top>60</top> | |||
<height>200</height> | |||
<wrapmultiline>true</wrapmultiline> | |||
<label>$INFO[ListItem.TimerType,[COLOR grey]$LOCALIZE[803]:[/COLOR] ,[CR]]$INFO[ListItem.Duration,[COLOR grey]$LOCALIZE[180]:[/COLOR] ,[CR]]$VAR[ExpirationDateTimeLabel,[CR]]$VAR[FlagLabel]</label> | |||
<label>$INFO[ListItem.TimerType,[COLOR grey]$LOCALIZE[803]:[/COLOR] ,[CR]]$VAR[DateDurationLabel,[CR]]$VAR[ExpirationDateTimeLabel,[CR]]$VAR[FlagLabel]</label>x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stray x
at the end of the line
don't think there's a need to include a [CR]
in the $VAR?
it's already included in the individual infolabels.
likely $VAR[ExpirationDateTimeLabel,[CR]]
doesn't need it either, could you please double-check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure where the x
came from!
If I remove the CRs nothing displays. No date/duration/progress bar. It's all blank.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I just removed the X
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I remove the CRs nothing displays.
that shouldn't happen... please give this a shot:
<label>$INFO[ListItem.TimerType,[COLOR grey]$LOCALIZE[803]:[/COLOR] ,[CR]]$VAR[DateDurationLabel]$VAR[ExpirationDateTimeLabel]$VAR[FlagLabel]</label>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, you are right. I got mixed up in square brackets! that works.
PR updated ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ok now @ronie ?
fe00601
to
c784eac
Compare
@ronie is this ok now? |
it's a bit hard for me to test as i do not have a proper pvr setup. as we now (potentially) display these 5 infolabels:
and a progress-bar in the same area, it could lead to this: someone would need to double-check if such a thing could occur in any of the pvr windows:
|
Good point. That could only happen for recordings with size as the sort method possibly. Everything else would be ok as we dropped date Or duration . Let me check it tomorrow. |
c784eac
to
ed3aec7
Compare
Ok, confirmed as only effecting recordings when size is the chosen sort mode. Note that for recordings So what I did was make the duration value conditional on whether a not there is a expiration value available. Sorting by size will be used when a user wants to delete recordings and in this case So we should be good now @ronie ;) |
great, thx for the confirmation! |
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
[estuary] optionally show date/duration if recordings sort mode is size or duration
Description
When adding support for sorting by recording sizes the date field was removed from the right panel.
This PR allows for them when using different the sorting modes of duration/size. When size is selected both date and duration are shown as they can be seen nowhere else. If Duration is selected only data is how.
Motivation and Context
@ksooo pointed out the omission.
How Has This Been Tested?
Using iptvsimple and vuplus on MacOSX
Screenshots (if appropriate):
Types of change
Checklist: