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

Add marquee text type and fix metadata for UI #53

Open
wants to merge 2 commits into
base: 21.02
Choose a base branch
from

Conversation

AIIX
Copy link
Contributor

@AIIX AIIX commented Jan 9, 2022

Description

  • Adds marquee text
  • Fixes Metadata, gives first preference to CPS sending correct metadata and if still author / title is missing then and only then will it try extracting title and author metadata from file using the QT inbuilt functionality
  • Fixes Visualizations to not overflow under duration and position text
  • Fixes resume from any point after song has ended

Type of PR

If your PR fits more than one category, there is a high chance you should submit more than one PR. Please consider this carefully before opening the PR.
Either delete those that do not apply, or add an x between the square brackets like so: - [x]

  • Bugfix
  • Feature implementation
  • Refactor of code (without functional changes)
  • Documentation improvements
  • Test improvements

CLA

  • Yes

console.log("Image: " + root.thumbnail)
// If CPS Title or Author is missing try fetch it from qmultimedia metainfo
if (!root.title && root.playerMeta) {
console.log("Should not be here")
Copy link
Contributor

Choose a reason for hiding this comment

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

Little nitpick - can we try to be more descriptive with these?

Maybe something like the comment above, then we may not need the comment at all eg:

"CPS metadata is missing the track title. Fetching qmultimedia metainfo"

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.

2 participants