platform/upstream/lightmediascanner.git
15 years agoRelease 0.2 release_0.2.0
Gustavo Sverzut Barbieri [Sun, 5 Oct 2008 14:44:41 +0000 (11:44 -0300)]
Release 0.2

15 years agoRemove compiler warnings.
Gustavo Sverzut Barbieri [Sun, 5 Oct 2008 15:04:31 +0000 (12:04 -0300)]
Remove compiler warnings.

15 years agoNew column on audios table: artist_id.
Gustavo Lima Chaves [Wed, 17 Sep 2008 22:15:10 +0000 (19:15 -0300)]
New column on audios table: artist_id.

In the old schema, audio files with no album tags didn't get
their artist tags inserted on the DB, also.

15 years agoBugfix: using correct column.
Gustavo Lima Chaves [Fri, 19 Sep 2008 15:17:13 +0000 (12:17 -0300)]
Bugfix: using correct column.

15 years agoIntroducing new API function: lms_check_single_process().
Gustavo Lima Chaves [Tue, 16 Sep 2008 22:24:47 +0000 (19:24 -0300)]
Introducing new API function: lms_check_single_process().

It behaves as lms_check(), but without forking into a child process.
The test program was updated in order to choose which checking API
function to call.

15 years agoChanges on (lms_check's) functions to facilitate the choice between
Gustavo Lima Chaves [Tue, 16 Sep 2008 22:06:20 +0000 (19:06 -0300)]
Changes on (lms_check's) functions to facilitate the choice between
single process/original version mode of operation of LMS.

Now a custom _check_row() function may be used. Also preparing for
introduction of a new db struct.

15 years agoFactoring out code from (lms_check's) lms_check() and some related functions.
Gustavo Lima Chaves [Tue, 16 Sep 2008 21:17:10 +0000 (18:17 -0300)]
Factoring out code from (lms_check's) lms_check() and some related functions.

15 years agoIntroducing new API function: lms_process_single_process().
Gustavo Lima Chaves [Tue, 16 Sep 2008 13:51:25 +0000 (10:51 -0300)]
Introducing new API function: lms_process_single_process().

It behaves as lms_process(), but without forking into a child process.
The test program was updated in order to choose which processing API
function to call.

15 years agoAdapting _process_trigger() to call a custom process_file() function.
Gustavo Lima Chaves [Mon, 15 Sep 2008 22:26:31 +0000 (19:26 -0300)]
Adapting _process_trigger() to call a custom process_file() function.

The modification on struct pinfo was made because a new info struct is to
be introduced for the single-process version of LMS API functions. They
have struct cinfo as common fields.

15 years agoFactoring out code from (lms_process's) lms_process().
Gustavo Lima Chaves [Mon, 15 Sep 2008 22:11:47 +0000 (19:11 -0300)]
Factoring out code from (lms_process's) lms_process().

One of the created functions will manage the choice between
single process/original version mode of operation of LMS.

15 years agoFactoring out code from (lms_process's) _slave_work().
Gustavo Lima Chaves [Mon, 15 Sep 2008 21:52:13 +0000 (18:52 -0300)]
Factoring out code from (lms_process's) _slave_work().

The two created functions are going to be, later, used by
file processing functions for the single version lms API.

15 years agoAdd callback to report progress.
Gustavo Sverzut Barbieri [Fri, 8 Aug 2008 04:41:11 +0000 (01:41 -0300)]
Add callback to report progress.

15 years agoGet missing data from id3v1 when they are not available on id3v2.
Andre Moreira Magalhaes [Fri, 27 Jun 2008 17:22:10 +0000 (14:22 -0300)]
Get missing data from id3v1 when they are not available on id3v2.

15 years agoASF: Get album artist from extended content description.
Eduardo Lima (Etrunko) [Thu, 22 May 2008 23:48:39 +0000 (20:48 -0300)]
ASF: Get album artist from extended content description.

16 years agoUpdate my mail, add Etrunko.
Gustavo Sverzut Barbieri [Wed, 30 Apr 2008 22:27:27 +0000 (19:27 -0300)]
Update my mail, add Etrunko.

16 years agoProper handling of DT_UNKNOWN directory entry type.
Gustavo Sverzut Barbieri [Wed, 30 Apr 2008 19:19:52 +0000 (16:19 -0300)]
Proper handling of DT_UNKNOWN directory entry type.

Some file systems like ReiserFS and NFS use DT_UNKNOWN for both
files and directories, so in this case on must stat(2) the path
to get the real type of the file.

Thanks to Etrunko, Aloisio, Lauro and MoRpHeUz for point it.

16 years agoOGG: Avoid segfault when value returned by vorbis_comment_query is NULL.
Eduardo Lima (Etrunko) [Fri, 25 Apr 2008 20:56:50 +0000 (17:56 -0300)]
OGG: Avoid segfault when value returned by vorbis_comment_query is NULL.

Created new function to avoid code duplication.

16 years agoAdded example in test.c.
Eduardo Lima (Etrunko) [Thu, 17 Apr 2008 19:38:38 +0000 (16:38 -0300)]
Added example in test.c.

16 years agoOGG: Make ogg plugin work with both libvorbisidec (aka Tremor) and libvorbis.
Eduardo Lima (Etrunko) [Thu, 17 Apr 2008 19:32:23 +0000 (16:32 -0300)]
OGG: Make ogg plugin work with both libvorbisidec (aka Tremor) and libvorbis.

16 years agoconfigure.ac: Better check for mp4 libraries.
Eduardo Lima (Etrunko) [Thu, 17 Apr 2008 19:21:19 +0000 (16:21 -0300)]
configure.ac: Better check for mp4 libraries.

16 years agoFixed FSF address.
Eduardo Lima (Etrunko) [Mon, 14 Apr 2008 19:17:49 +0000 (16:17 -0300)]
Fixed FSF address.

16 years agoAdded flv to video-dummy.
Andre Moreira Magalhaes [Tue, 8 Apr 2008 20:14:26 +0000 (17:14 -0300)]
Added flv to video-dummy.

16 years agoRemoved dead code.
Andre Moreira Magalhaes [Fri, 14 Mar 2008 13:12:58 +0000 (10:12 -0300)]
Removed dead code.

16 years agoCorrect accounting for id3v1 strings.
Gustavo Sverzut Barbieri [Thu, 13 Mar 2008 21:03:04 +0000 (18:03 -0300)]
Correct accounting for id3v1 strings.

I was not counting the last character, but until it. Now it correctly
counts the number of letters.

16 years agoHandle possible realloc() errors.
Gustavo Sverzut Barbieri [Wed, 12 Mar 2008 23:22:17 +0000 (20:22 -0300)]
Handle possible realloc() errors.

16 years agoBetter handling of id3v1 fields.
Gustavo Sverzut Barbieri [Wed, 12 Mar 2008 22:30:19 +0000 (19:30 -0300)]
Better handling of id3v1 fields.

This will do less operations, handle strip, avoid leaks and also reuse
memory.

16 years agoIgnore frames that contain just the encoding info.
Andre Moreira Magalhaes [Tue, 11 Mar 2008 18:00:53 +0000 (15:00 -0300)]
Ignore frames that contain just the encoding info.

16 years agoMinor bugfixes.
Andre Moreira Magalhaes [Tue, 11 Mar 2008 18:01:11 +0000 (15:01 -0300)]
Minor bugfixes.

Do not stop parsing frames when a frame with 0 bytes is found.
Try to find id3v1 tag is parsing id3v2 fails.

16 years agoFix segmentation faults for zero-sized id3v2 frames.
Gustavo Sverzut Barbieri [Wed, 12 Mar 2008 22:15:06 +0000 (19:15 -0300)]
Fix segmentation faults for zero-sized id3v2 frames.

16 years agoAdd myself as author of id3
Gustavo Sverzut Barbieri [Fri, 7 Mar 2008 23:12:04 +0000 (20:12 -0300)]
Add myself as author of id3

16 years agoRework _find_id3v2() for simpler and faster code.
Gustavo Sverzut Barbieri [Fri, 7 Mar 2008 21:03:41 +0000 (18:03 -0300)]
Rework _find_id3v2() for simpler and faster code.

16 years agoid3: minor id3v2 dispatcher speedup.
Gustavo Sverzut Barbieri [Fri, 7 Mar 2008 20:15:55 +0000 (17:15 -0300)]
id3: minor id3v2 dispatcher speedup.

Reduce number of comparisons and calls to memcmp() for id3v2 frames by
using direct comparsions.

16 years agoMove logic to get specific frame contents to separate functions.
Gustavo Sverzut Barbieri [Fri, 7 Mar 2008 18:14:36 +0000 (15:14 -0300)]
Move logic to get specific frame contents to separate functions.

This will help to minimize _parse_id3v2_frame() binary size, very
useful because it'll avoid loading all the code for all the functions
given that just one is really used at time.

16 years agoid3: avoid some strips if content is known to be correct.
Gustavo Sverzut Barbieri [Fri, 7 Mar 2008 17:57:19 +0000 (14:57 -0300)]
id3: avoid some strips if content is known to be correct.

16 years agoid3: just change cur_artist_priority if it's actually used.
Gustavo Sverzut Barbieri [Fri, 7 Mar 2008 17:17:17 +0000 (14:17 -0300)]
id3: just change cur_artist_priority if it's actually used.

We should just change cur_artist_priority if the new artist is not empty.

16 years agoCosmetic: fit in 80 cols
Gustavo Sverzut Barbieri [Fri, 7 Mar 2008 15:38:49 +0000 (12:38 -0300)]
Cosmetic: fit in 80 cols

16 years agoSpeed up id3v1 genre usage.
Gustavo Sverzut Barbieri [Thu, 6 Mar 2008 23:16:24 +0000 (20:16 -0300)]
Speed up id3v1 genre usage.

This uses just one memory block containing all the strings and an
array with the offsets to its base, this also enables one to know the
string size with a simple calc.

By using just one memory block for strings should help with
relocations, by using the offsets we can save strlen() and strdup(),
using malloc() + memcpy() directly.

16 years agoShare id3v1_genre getter.
Gustavo Sverzut Barbieri [Thu, 6 Mar 2008 22:07:25 +0000 (19:07 -0300)]
Share id3v1_genre getter.

16 years agoMake defines dependent on real data, avoid getting out of sync.
Gustavo Sverzut Barbieri [Thu, 6 Mar 2008 21:40:59 +0000 (18:40 -0300)]
Make defines dependent on real data, avoid getting out of sync.

16 years agoUse posix_fadvise.
Andre Moreira Magalhaes [Thu, 6 Mar 2008 20:10:55 +0000 (17:10 -0300)]
Use posix_fadvise.

16 years agoImproved artist/genre handling.
Andre Moreira Magalhaes [Thu, 6 Mar 2008 19:34:06 +0000 (16:34 -0300)]
Improved artist/genre handling.

Check if the new artist is a valid string before replacing the current one,
even if the new one has a higher priority.
Proper handle ID3v2.3 genre enclosed by parentheses.

16 years agoFixed mp4 detection to not modify LIBS.
Andre Moreira Magalhaes [Thu, 6 Mar 2008 19:21:09 +0000 (16:21 -0300)]
Fixed mp4 detection to not modify LIBS.

16 years agoSmall bug fix.
Andre Moreira Magalhaes [Mon, 25 Feb 2008 20:50:59 +0000 (17:50 -0300)]
Small bug fix.

16 years agoUse TPE/TP 1 to 4 for artists.
Andre Moreira Magalhaes [Mon, 25 Feb 2008 19:17:49 +0000 (16:17 -0300)]
Use TPE/TP 1 to 4 for artists.

Fallback to other artist fields when appropriate.
Fixed some buffer overflows.

16 years agoProper handle UTF16 encoding.
Andre Moreira Magalhaes [Fri, 22 Feb 2008 21:23:12 +0000 (18:23 -0300)]
Proper handle UTF16 encoding.

16 years agoFix support for ID3v2.2.
Gustavo Sverzut Barbieri [Fri, 22 Feb 2008 14:56:00 +0000 (14:56 +0000)]
Fix support for ID3v2.2.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@87 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoMerge commit 'andrunko/master'
Gustavo Sverzut Barbieri [Wed, 20 Feb 2008 18:43:57 +0000 (18:43 +0000)]
Merge commit 'andrunko/master'

* commit 'andrunko/master':
  Added support for mov, qt, 3gp files to mp4 plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@83 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded TODO.
Gustavo Sverzut Barbieri [Wed, 20 Feb 2008 18:15:02 +0000 (18:15 +0000)]
Added TODO.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@82 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded support for mov, qt, 3gp files to mp4 plugin.
Andre Moreira Magalhaes [Wed, 20 Feb 2008 16:38:39 +0000 (13:38 -0300)]
Added support for mov, qt, 3gp files to mp4 plugin.

16 years agoMerge commit 'andrunko/master'
Gustavo Sverzut Barbieri [Fri, 15 Feb 2008 20:52:30 +0000 (20:52 +0000)]
Merge commit 'andrunko/master'

* commit 'andrunko/master':
  Use ctxt->cs_conv to convert encoding for id3v1 tag.
  Fix handling of encoding UTF16-LE.
  Proper handle encoding.
  Fixed _to_uint method.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@81 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoUse ctxt->cs_conv to convert encoding for id3v1 tag.
Andre Moreira Magalhaes [Fri, 15 Feb 2008 20:41:24 +0000 (17:41 -0300)]
Use ctxt->cs_conv to convert encoding for id3v1 tag.

16 years agoFixed _to_uint method.
Gustavo Sverzut Barbieri [Fri, 15 Feb 2008 20:37:48 +0000 (20:37 +0000)]
Fixed _to_uint method.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@80 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoFix handling of encoding UTF16-LE.
Andre Moreira Magalhaes [Fri, 15 Feb 2008 20:29:39 +0000 (17:29 -0300)]
Fix handling of encoding UTF16-LE.

16 years agoProper handle encoding.
Andre Moreira Magalhaes [Fri, 15 Feb 2008 18:19:58 +0000 (15:19 -0300)]
Proper handle encoding.

16 years agoFixed _to_uint method.
Andre Moreira Magalhaes [Fri, 15 Feb 2008 18:19:14 +0000 (15:19 -0300)]
Fixed _to_uint method.

16 years agoFix debug messages, show scanned path.
Gustavo Sverzut Barbieri [Fri, 15 Feb 2008 18:37:56 +0000 (18:37 +0000)]
Fix debug messages, show scanned path.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@79 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoMerge branch 'master' of git://staff.get-e.org/users/andrunko/lightmediascanner
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:58:32 +0000 (21:58 +0000)]
Merge branch 'master' of git://staff.get-e.org/users/andrunko/lightmediascanner

* 'master' of git://staff.get-e.org/users/andrunko/lightmediascanner:
  Some improvements.
  Improved _find_id3v2 method.
  Improved mp3 support.
  Removed supported extensions from audio dummy.
  Added flac plugin.
  Debug.
  Parse m4a files using mp4 plugin.
  Use lseek to discard frames.
  Added aac plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@78 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdd Andre and Renato to AUTHORS.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:51:32 +0000 (21:51 +0000)]
Add Andre and Renato to AUTHORS.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@77 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoSome improvements.
Andre Moreira Magalhaes [Thu, 14 Feb 2008 21:42:34 +0000 (18:42 -0300)]
Some improvements.

Changed #define ID3V2_GET_FRAME to static inline method.
Also static inline is_id3v2_second_sync_byte method.

16 years agoImproved _find_id3v2 method.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:39:49 +0000 (21:39 +0000)]
Improved _find_id3v2 method.

Check if the tag is in the beggining of the file (avoid some checks).
Decreased buffer size.
Removed compiler warning.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@76 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoImproved mp3 support.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:39:11 +0000 (21:39 +0000)]
Improved mp3 support.

Removed old id3lib plugin.
Renamed aac plugin to id3.
Use id3 (old aac) plugin to parse mp3 and aac files.
Improved id3 (old aac) plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@75 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRemoved supported extensions from audio dummy.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:38:32 +0000 (21:38 +0000)]
Removed supported extensions from audio dummy.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@74 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded flac plugin.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:38:09 +0000 (21:38 +0000)]
Added flac plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@73 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoDebug.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:37:43 +0000 (21:37 +0000)]
Debug.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@72 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoParse m4a files using mp4 plugin.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:37:23 +0000 (21:37 +0000)]
Parse m4a files using mp4 plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@71 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoUse lseek to discard frames.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:37:01 +0000 (21:37 +0000)]
Use lseek to discard frames.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@70 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded aac plugin.
Gustavo Sverzut Barbieri [Thu, 14 Feb 2008 21:36:32 +0000 (21:36 +0000)]
Added aac plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@69 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoImproved _find_id3v2 method.
Andre Moreira Magalhaes [Thu, 14 Feb 2008 18:59:32 +0000 (15:59 -0300)]
Improved _find_id3v2 method.

Check if the tag is in the beggining of the file (avoid some checks).
Decreased buffer size.
Removed compiler warning.

16 years agoImproved mp3 support.
Andre Moreira Magalhaes [Wed, 13 Feb 2008 20:42:38 +0000 (17:42 -0300)]
Improved mp3 support.

Removed old id3lib plugin.
Renamed aac plugin to id3.
Use id3 (old aac) plugin to parse mp3 and aac files.
Improved id3 (old aac) plugin.

16 years agoRemoved supported extensions from audio dummy.
Andre Moreira Magalhaes [Tue, 12 Feb 2008 19:38:30 +0000 (16:38 -0300)]
Removed supported extensions from audio dummy.

16 years agoAdded flac plugin.
Andre Moreira Magalhaes [Tue, 12 Feb 2008 19:37:50 +0000 (16:37 -0300)]
Added flac plugin.

16 years agoDebug.
Andre Moreira Magalhaes [Tue, 12 Feb 2008 19:37:35 +0000 (16:37 -0300)]
Debug.

16 years agoParse m4a files using mp4 plugin.
Andre Moreira Magalhaes [Mon, 11 Feb 2008 19:08:26 +0000 (16:08 -0300)]
Parse m4a files using mp4 plugin.

16 years agoUse lseek to discard frames.
Andre Moreira Magalhaes [Fri, 8 Feb 2008 20:37:31 +0000 (17:37 -0300)]
Use lseek to discard frames.

16 years agoFix typo
Gustavo Sverzut Barbieri [Fri, 8 Feb 2008 18:38:58 +0000 (18:38 +0000)]
Fix typo

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@68 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded aac plugin.
Andre Moreira Magalhaes [Fri, 1 Feb 2008 21:53:51 +0000 (18:53 -0300)]
Added aac plugin.

16 years agoProvide means to avoid check and fallback creation and usage.
Gustavo Sverzut Barbieri [Fri, 8 Feb 2008 17:58:51 +0000 (17:58 +0000)]
Provide means to avoid check and fallback creation and usage.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@67 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoogg.c: Minor coding style fixes
Gustavo Sverzut Barbieri [Fri, 8 Feb 2008 16:06:17 +0000 (16:06 +0000)]
ogg.c: Minor coding style fixes

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@66 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoImprove code reusage: string strip and free functions.
Gustavo Sverzut Barbieri [Fri, 8 Feb 2008 16:05:46 +0000 (16:05 +0000)]
Improve code reusage: string strip and free functions.

Provides two utilities around lms_strstrip():
 * lms_strstrip_and_free()
 * lms_string_size_strip_and_free()

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@65 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoBugfix in jpeg plugin to avoid missing header frame and image size
Gustavo Sverzut Barbieri [Fri, 8 Feb 2008 16:04:49 +0000 (16:04 +0000)]
Bugfix in jpeg plugin to avoid missing header frame and image size

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@64 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAlso copy trailing \0
Gustavo Sverzut Barbieri [Fri, 8 Feb 2008 16:04:25 +0000 (16:04 +0000)]
Also copy trailing \0

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@63 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRemove debug
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 19:45:21 +0000 (19:45 +0000)]
Remove debug

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@62 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoMerge git://staff.get-e.org/users/andrunko/lightmediascanner
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 19:44:51 +0000 (19:44 +0000)]
Merge git://staff.get-e.org/users/andrunko/lightmediascanner

* git://staff.get-e.org/users/andrunko/lightmediascanner:
  Make sure metadata is converted to the proper charset.
  Added mp4 plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@61 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoMake sure metadata is converted to the proper charset.
Andre Moreira Magalhaes [Fri, 1 Feb 2008 19:22:45 +0000 (16:22 -0300)]
Make sure metadata is converted to the proper charset.

16 years agoAdded mp4 plugin.
Andre Moreira Magalhaes [Fri, 1 Feb 2008 19:22:25 +0000 (16:22 -0300)]
Added mp4 plugin.

16 years agoAdd .flac to audio-dummy
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 18:55:27 +0000 (18:55 +0000)]
Add .flac to audio-dummy

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@58 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRequest POSIX_FADV_DONTNEED
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 15:15:22 +0000 (15:15 +0000)]
Request POSIX_FADV_DONTNEED

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@57 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRequest POSIX_FADV_DONTNEED, now correct
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 15:10:59 +0000 (15:10 +0000)]
Request POSIX_FADV_DONTNEED, now correct

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@56 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRequest POSIX_FADV_DONTNEED
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 14:51:54 +0000 (14:51 +0000)]
Request POSIX_FADV_DONTNEED

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@54 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoMinor warning cleanups
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 14:29:44 +0000 (14:29 +0000)]
Minor warning cleanups

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@53 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded real media plugin.
Gustavo Sverzut Barbieri [Fri, 1 Feb 2008 14:29:14 +0000 (14:29 +0000)]
Added real media plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@52 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoDo just one lseek where possible.
barbieri [Thu, 31 Jan 2008 19:13:04 +0000 (19:13 +0000)]
Do just one lseek where possible.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@49 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRemove ASF compiler warnings.
barbieri [Thu, 31 Jan 2008 19:12:45 +0000 (19:12 +0000)]
Remove ASF compiler warnings.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@48 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoBug fixes.
barbieri [Thu, 31 Jan 2008 19:12:24 +0000 (19:12 +0000)]
Bug fixes.

Fixed infinite loop on _skip_header_extension.
Proper strip artist string.
Use memcmp to compare attribute names (do not convert to UTF-16LE).

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@47 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRemoved wma from audio-dummy and wmv from video-dummy.
barbieri [Thu, 31 Jan 2008 19:12:02 +0000 (19:12 +0000)]
Removed wma from audio-dummy and wmv from video-dummy.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@46 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoRemoved some memory leaks and some coding style fixes.
barbieri [Thu, 31 Jan 2008 19:11:37 +0000 (19:11 +0000)]
Removed some memory leaks and some coding style fixes.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@45 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded some documentation.
barbieri [Thu, 31 Jan 2008 19:11:14 +0000 (19:11 +0000)]
Added some documentation.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@44 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdded asf/wma/wmv plugin.
barbieri [Thu, 31 Jan 2008 19:10:47 +0000 (19:10 +0000)]
Added asf/wma/wmv plugin.

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@43 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoAdd missing prototype
barbieri [Thu, 31 Jan 2008 14:58:56 +0000 (14:58 +0000)]
Add missing prototype

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@42 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5

16 years agoBetter handling of strings that failed encoding.
barbieri [Tue, 29 Jan 2008 22:08:12 +0000 (22:08 +0000)]
Better handling of strings that failed encoding.

Instead of just memset() the whole string to '?', just replace chars
that are not printable (according to ctypes.h isprint()).

git-svn-id: https://garage.maemo.org/svn/lms/lightmediascanner@41 fe9ffe84-2fc0-424c-a0c2-0ec162e4acf5