Skip to content

Improve handling of elapsed/remaining time reporting in Foobar2000#11337

Merged
feerrenrut merged 7 commits into
nvaccess:masterfrom
bramd:foobar2000
Sep 10, 2020
Merged

Improve handling of elapsed/remaining time reporting in Foobar2000#11337
feerrenrut merged 7 commits into
nvaccess:masterfrom
bramd:foobar2000

Conversation

@bramd

@bramd bramd commented Jul 5, 2020

Copy link
Copy Markdown
Contributor

Link to issue number:

None

Summary of the issue:

If Foobar2000's status bar contains elapsed time, but not the total time, reporting of elapsed time doesn't work.
This happens when Foobar2000 is playing a live stream.

Description of how this pull request fixes the issue:

Report the elapsed time, even if total time is not available. It also reports clearly if fetching total time/remaining time fails.

Testing performed:

Tested in Foobar2000 1.5.4.

Known issues with pull request:

None

Change log entry:

  • Section: Bug fixes
    • Report elapsed time in Foobar2000 if no total time is available (e.g. when playing a live stream)

bramd added 2 commits July 5, 2020 22:07
 * Report elapsed time if total time is not available (e.g. when playing
   a live stream)
 * Report when remaining/total time is not available instead of keeping
   silent
@AppVeyorBot

Copy link
Copy Markdown

@Brian1Gaff

Brian1Gaff commented Jul 5, 2020 via email

Copy link
Copy Markdown

@bramd

bramd commented Jul 5, 2020 via email

Copy link
Copy Markdown
Contributor Author

Comment thread source/appModules/foobar2000.py Outdated
feerrenrut
feerrenrut previously approved these changes Sep 10, 2020

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bramd

@feerrenrut feerrenrut merged commit e245b98 into nvaccess:master Sep 10, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.4 milestone Sep 10, 2020
@cary-rowen

Copy link
Copy Markdown
Contributor

Is there a corresponding translation item update for this PR? Sorry I didn't see it.

@feerrenrut

Copy link
Copy Markdown
Contributor

@cary-rowen it should be in the changes document "- Report elapsed time in Foobar2000 if no total time is available (e.g. when playing a live stream). (#11337)"

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

Successfully merging this pull request may close these issues.

6 participants