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

Cover art support 2 #1

Merged
merged 65 commits into from
Aug 4, 2014
Merged

Cover art support 2 #1

merged 65 commits into from
Aug 4, 2014

Conversation

cardinot
Copy link
Owner

  • redesign dlgtrackinfo to show covers
  • load cover in dlgtrackinfo
  • edit cover location in dlgtrackinfo
  • unset cover (load default)
  • reload cover from metadata
  • warning box issue
  • icon for each cover_art action
  • copy cover from external dir to track dir (if the user changes the cover)

- The current layout of dlgtrackinfo is not good, because it has not a size compatible with small screens (netbooks).
- It needs more work.
- dlgtrackinfo must handle the cover size and always display them with the same size (scaling).
In this way we would be loading it just once and all widgets would get it from CoverArtCache
we are drawing the pixmap in a QIcon and as it has a fixed size, it's not necessary rescaling pixmaps
- after that, future requestPixmaps will do the "searching step".
Should we handle it and avoid doing searchs after a purge?
Handling cases when:
- embedded cover is different from de current cover (ask if want to change)
- current cover is not NULL but embedded cover is NULL (ask if want to remove)
…"reload"

As it is using the search algorithm - it will try to reload the cover as normally we do (firstly looking in the id3tag and then in the trackdir)
…ack metadata from file"

When an user clicks on "reload track metadata from file", Mixxx must not touch the cover art
- as all fields are always overwritten when the user choose "reload" them,
it did not make sense having warning boxes (to warn about cases of overwriting) just for covers...
…ctory

This is important because the user could choose an image from a removable disk or any another place which could not be available in a “near future”.
So, it is much more safe let it together with the track.
It is also good because the user could reuse the cover in other software (automatic)…
cardinot pushed a commit that referenced this pull request Jul 21, 2014
replace memmove with direct assignments, saves ~ 10 % CPU time
…over_art on the right side

- It is very important that all fields have the same vertical spacing. I noticed that the only way to ensure it is drawing all fields in the same box_layout...
…utton

- the qpushbutton will rescale just covers which are bigger than the icon bounds, so it is important rescale all of then to ensure that it will always use as much space as possible...
…nto coverArtSupport_2

Conflicts:
	src/dlgtrackinfo.ui
cardinot added a commit that referenced this pull request Aug 4, 2014
@cardinot cardinot merged commit 8ee4974 into coverArtSupport Aug 4, 2014
cardinot pushed a commit that referenced this pull request Sep 29, 2014
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