Add a setting in the covers preferences dialog to disable automatic fetching

Bug #425866 reported by Steve Dodier-Lazaro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Low
Unassigned

Bug Description

At the moment, users can remove covers but these will be fetched again automatically.

The proposed behaviour is that a setting is added in the preferences dialog (covers section, which is quite empty right now). This setting would be named "Fetch album cover on playback start" and could have the following values :

Always
If not manually removed before
Never

Also, since the automatic cover fetcher would have to respect this implementation, the user-removed covers there could have a different icon (such as a gtk-remove like grey icon), and when displayed in the main GUI, the nocover icon could be used. Users would have to explicitely click on "Fetch cover" in the menu to have the covers back (of course this would immediately reset the "dont fetch covers" flag in the db).

Such an implementation could be seen as a bugfix for the fact that the covers are re-fetched after being removed and thus land in 0.3.0.x.

Revision history for this message
Steve Dodier-Lazaro (sidi) wrote :

Part 1 implemented as a bugfix in order to enable users to actually remove covers in Exaile 0.3.0.x

WARNING: due to problems with my branch, I could NOT check this patch. I can not guarantee it'll work or even run so please check it out before anything.

Revision history for this message
Steve Dodier-Lazaro (sidi) wrote :

I'm tired, sorry.

Changed in exaile:
assignee: Aren Olson (reacocard) → Steve Dodier (sidi)
status: Confirmed → Incomplete
status: Incomplete → In Progress
Revision history for this message
reacocard (reacocard) wrote :

Patch has multiple issues - no settings import, prefs checkbox is unchecked by default and doesn't appear to actually set anything on the backend, etc. Please redo it and actually test it this time.

Revision history for this message
Steve Dodier-Lazaro (sidi) wrote :

All my apologizes for that. I'm uploading a new patch, tested the setting, and it works here. The cover will get shown only if it was already in the trackdb for that track, when automatic fetching is disabled.

Revision history for this message
reacocard (reacocard) wrote :

logic has been put into 0.3.0.x, we can't add the gui part as that would break string freeze.

logic only has also been put into trunk since this patch is pre-gtkbuilder, so the gui side of it does not apply cleanly.

Changed in exaile:
milestone: 0.3.0.2 → 0.3.1
Revision history for this message
Ubuntuxer (johannes-schw) wrote :

I updated your patch and fixed a small bug, so it runs on the current branch.

Revision history for this message
Ubuntuxer (johannes-schw) wrote :

Upps, I forgot to upload patch.

Revision history for this message
reacocard (reacocard) wrote :

fixed trunk/2729

Changed in exaile:
assignee: Steve Dodier (sidi) → nobody
status: In Progress → Fix Committed
reacocard (reacocard)
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.