summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cache: Support more media art types than just 'album'media-art-typesSam Thursfield2013-10-112-35/+88
| | | | | | | | | | | | | | | | | | | The media art storage spec https://wiki.gnome.org/MediaArtStorageSpec#Identifiers specifies the following possible values for prefix: 'album', 'artist', 'podcast', 'radio', 'track'. This commit adds support for all of these except 'track', which will currently raise a g_warning() if used to advise the caller that it is not supported. Rather than only supporting a fixed list of identifiers, any unknown prefix is accepted and handled in the same way as 'artist', 'radio' and 'podcast' media art. This commit also fixes https://bugzilla.gnome.org/show_bug.cgi?id=705834 where the path for 'album' media art where artist == NULL was calculated incorrectly.
* extract: Include two missing headersCarlos Garnacho2013-10-071-1/+3
| | | | | The call to media_art_plugin_init() was modified as it had the wrong arguments.
* extract: Fix two compile warningsCarlos Garnacho2013-10-072-2/+2
|
* extract: remove unused function parameterCarlos Garnacho2013-10-071-4/+3
|
* extract: Add media_art_process_file()Carlos Garnacho2013-10-072-0/+178
| | | | | | This function is similar to the current media_art_process(), but taking a GFile, mainly added for convenience in applications already using GIO.
* cache: Add media_art_get_file()Carlos Garnacho2013-10-072-35/+86
| | | | | | | This call is similar to media_art_get_path(), but using GFiles for in/out path parameters. This older function now internally uses the just added one, so internally operations happen on GFiles.
* tests: Add testcase for nested blocksJens Georg2013-10-021-0/+1
|
* doap: Fixed Sam's GNOME UserIDMartyn Russell2013-09-301-1/+1
|
* storage: renamed all "tracker-storage" to just "storage"Martyn Russell2013-09-275-228/+232
|
* build: Don't require tracker to compileMartyn Russell2013-09-271-2/+1
|
* Merge pull request #4 from kyoushuu/tracker-storageMartyn Russell2013-09-2710-31/+1776
|\ | | | | Add TrackerStorage and fix license file
| * Rename LICENSE to COPYING, and add COPYING.LESSERArnel A. Borja2013-08-312-4/+506
| | | | | | | | | | | | | | Autoconf adds COPYING which contains GPLv3, which is not what the sources are licensed with. Replace it with GPLv2 in a text file from GNU's website and add COPYING.LESSER for LGPLv2.1, so that the package would be under LGPLv2.1 license.
| * build: Fix distcheckArnel A. Borja2013-08-312-2/+5
| |
| * tests: Fix includesArnel A. Borja2013-08-311-1/+1
| |
| * extract: Use TrackerStorage to check if file is in a removable mediumArnel A. Borja2013-08-311-21/+12
| | | | | | | | | | | | This will initialize a TrackerStorage on init and unrefs it on shutdown. Removed warnings for missing TrackerStorage. Uncommented media_art_copy_to_local which now works again.
| * build: Require gio-2.0 and gio-unix-2.0 tooArnel A. Borja2013-08-311-1/+4
| | | | | | | | These libraries are needed by TrackerStorage.
| * libmediaart: Add marshalerArnel A. Borja2013-08-314-4/+29
| |
| * build: Move tracker-storage to libmediaartArnel A. Borja2013-08-313-8/+4
| |
| * libtracker-miner: Make the failed unmounts watchdog more relaxedCarlos Garnacho2013-08-311-1/+1
| | | | | | | | | | | | | | The timeout priority is now lower so ::mount-unmount has a chance to be processed before the watchdog if the miner's main loop is busy (say removing monitors). Also, the timeout is longer so we aren't overzealous on slow unmounts.
| * libtracker-miner: Fix C warningsJürg Billeter2013-08-311-2/+0
| |
| * libtracker-miner: Add watchdog for failed unmountsCarlos Garnacho2013-08-311-6/+83
| | | | | | | | | | | | | | Fixes NB#248873. If, for whatever reason, an unmount operation fails or doesn't respond in a timely fashion, TrackerStorage will emit ::mount-point-added again so Tracker keeps monitoring any further change in there.
| * libtracker-miner: Add introspection annotation to docs.Carlos Garnacho2013-08-311-6/+8
| |
| * libtracker-miner: Add mount-name to tracker:Volume as nie:title Author: ↵Lionel Landwerling2013-08-311-3/+6
| | | | | | | | Lionel Landwerling <lionel.g.landwerlin@linux.intel.com>
| * libtracker-miner,storage: Skip mount points without mount pathAleksander Morgado2013-08-311-4/+10
| |
| * libtracker-miner,storage: Improve loggingAleksander Morgado2013-08-311-6/+8
| |
| * libtracker-miner,storage: do not rely on g_drive_is_media_removable()Lionel Landwerlin2013-08-311-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes GB#640845 We don't want to rely on the g_drive_is_media_removable() method because it does not tell us whether a device can be disconnected from the system but rather if a device contains a media that might be extracted from it. In fact, this method maps the removable flag from the kernel block device subsystem. If we rely on g_drive_is_media_removable(), most of the USB harddrives are considered as non removable, and are therefor won't be indexed. This patch proposes to check whether or not the mount point is part of the system, and if it's not, we use g_volume_can_mount() method to check whether the filesystem can be mounted which gives us a better clue about whether the related device is removable or not (in the way tracker considers a device from being removable). Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>
| * libtracker-miner,storage: Fix indentation/alignmentAleksander Morgado2013-08-311-8/+8
| |
| * libtracker-miner,storage: Use g_mount_guess_content_type() to guess ↵Carlos Garnacho2013-08-311-97/+101
| | | | | | | | | | | | | | | | | | | | | | | | mountpoints' contents This function will detect content type properly for the different optical media types, ensuring a NULL content type just means it contains data. The is_optical check is still done aside, based on the content type, or the unix device. Fixes bug #642014 - Tracker cannot index optical data disc's data, reported by Simon Hong.
| * docs, libtracker-miner: Added missing 'Since:' tagsAleksander Morgado2013-08-312-0/+18
| |
| * libtracker-miner: Cleaned up documentationMartyn Russell2013-08-311-0/+12
| | | | | | | | Cleaned up several warnings during the build and missing documentation too
| * libtracker-miner, storage: Fix memleak, GUnixMountEntry was not being disposedAleksander Morgado2013-08-311-0/+1
| |
| * libtracker-miner, storage: if mount without volume, don't rely on is_blankAleksander Morgado2013-08-311-7/+12
| |
| * libtracker-miner, storage: improve loggingAleksander Morgado2013-08-311-2/+6
| |
| * libtracker-miner: avoid dead code in mount_guess_content_type()Aleksander Morgado2013-08-311-44/+45
| |
| * libtracker-miner: small alignment fixesAleksander Morgado2013-08-311-6/+6
| |
| * Fixes GB#623203: Fix segfault when guessing content type in mounts without pathAleksander Morgado2013-08-311-12/+24
| |
| * libtracker-miner: New helper macros to work with storage typesAleksander Morgado2013-08-311-6/+34
| | | | | | | | | | * TRACKER_STORAGE_TYPE_IS_REMOVABLE * TRACKER_STORAGE_TYPE_IS_OPTICAL
| * libtracker-miner: New tracker_storage_get_type_for_uuid API methodAleksander Morgado2013-08-312-12/+52
| |
| * Fixes GB#621015: Index removable media when miner-fs starts and configured ↵Aleksander Morgado2013-08-311-2/+2
| | | | | | | | to do so
| * libtracker-miner: Added some comments to the content guessing code()Martyn Russell2013-08-311-1/+18
| | | | | | | | | | - Added information about WHERE we got the code from - GIO - Added reasoning for why we have the is_multimedia check
| * libtracker-miner: support GMounts without GVolume in mount_guess_content_type()Aleksander Morgado2013-08-311-10/+15
| |
| * libtracker-miner, miner-fs: remove trailing whitespacesAleksander Morgado2013-08-311-2/+2
| |
| * libtracker-miner: Fixed broken is_optical detectionMartyn Russell2013-08-311-89/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we used content type guessing, this isn't full proof as I discovered during testing this branch. Now we use the same method GIO uses by looking at the filesystem type/device/mount point (in that order). Seems to work for all the formats tested here for me: - Compaq flash (EOS Canon card) - USB stick - CD (audio) - CD (game) - DVD (movie) - MMC (SD) - USB hard disk
| * libtracker-miner: minor indentation fixesAleksander Morgado2013-08-311-15/+12
| |
| * libtracker-miner: don't consider shadowed GMountsAleksander Morgado2013-08-311-2/+9
| |
| * libtracker-miner: properly detect removable mediaAleksander Morgado2013-08-311-2/+13
| |
| * Fixes GB#621001: don't allow whitespaces in UUIDsAleksander Morgado2013-08-311-2/+8
| | | | | | | | | | | | * Using MD5 of the mount name for the UUID of optical media * Using MD5 of the mount path for the UUID of GMounts without a corresponding GVolume
| * libtracker-miner: Use GMounts instead of GVolumesAleksander Morgado2013-08-311-226/+103
| | | | | | | | (as not all GMounts have a corresponding GVolume)
| * Fixes NB#172818: Tracker is not indexing new content on EMMCAleksander Morgado2013-08-311-21/+24
| | | | | | | | | | | | * If the mount point detected doesn't setup a GVolume (as it is in fstab), then just force a re-check of the directories indexed to see if anything changed.
| * libtracker-miner: Fixed documentation errors and added someMartyn Russell2013-08-311-0/+10
| | | | | | | | | | Some major sections like tracker-password-provider, tracker-storage and tracker-thumbnailer had no section description.