10 second autocommit doesn't trigger unless you first also have 50 files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moovida |
Fix Released
|
High
|
Benjamin Kampmann | ||
moovida (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Because of a missing initial call to _reset_
Steps to reproduce:
1) Backup and delete your database (~/.elisa-
2) Make sure all the entries of the [directories] section in your configuration file are empty lists except for one, say music, that should contain a directory that contains less than 50 audio files in total.
3) Start elisa, notice that shortly after the main UI shows up the media scanner reports scanning your music directory
4) Wait for more than 10 sec.
5) Run the following select query on the DB with sqlite:
$ sqlite3 elisa.db 'select * from music_tracks;'
Expected result: all the audio files contained in the folder are listed, they are indexed in the DB.
Current result: nothing is listed, the indexed files are not committed to the DB.
Related branches
Changed in elisa: | |
importance: | Undecided → High |
milestone: | none → 0.5.18 |
status: | New → Confirmed |
Changed in elisa: | |
assignee: | nobody → lightyear |
status: | Confirmed → In Progress |
description: | updated |
Changed in elisa: | |
status: | In Progress → Fix Committed |
Changed in elisa: | |
status: | Fix Committed → Fix Released |
Changed in moovida (Ubuntu): | |
status: | New → Fix Released |
tags: | added: oem-services |
There is no real end-user impact as a commit is performed when exiting elisa, and while running, storm caches the contents of the DB.