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

16 years agoMerge git://staff.get-e.org/users/andrunko/lightmediascanner
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.

16 years agoUpdate package version
etrunko [Fri, 1 Feb 2008 19:12:12 +0000 (19:12 +0000)]
Update package version

16 years agoUpdate changelog
etrunko [Fri, 1 Feb 2008 19:08:57 +0000 (19:08 +0000)]
Update changelog

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

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

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

16 years agoUpdate dependency info for lightmediascanner-plugins package
etrunko [Fri, 1 Feb 2008 14:52:17 +0000 (14:52 +0000)]
Update dependency info for lightmediascanner-plugins package

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

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

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

16 years agoBuild lightmediascanner0-rm package
etrunko [Fri, 1 Feb 2008 14:20:21 +0000 (14:20 +0000)]
Build lightmediascanner0-rm package

16 years agoAdded lightmediascanner0-asf package to debian/control.
etrunko [Thu, 31 Jan 2008 22:43:41 +0000 (22:43 +0000)]
Added lightmediascanner0-asf package to debian/control.

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.

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

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).

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.

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.

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

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

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

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()).

16 years agoFunction to forcefully convert to some charset.
barbieri [Tue, 29 Jan 2008 22:07:39 +0000 (22:07 +0000)]
Function to forcefully convert to some charset.

One can use this function to avoid check for UTF-8 before converting,
this will avoid problems when you know the encoding and it was
accepted as UTF-8 (ie: UTF-16).

16 years agoUpdate packages versions
etrunko [Thu, 24 Jan 2008 22:19:35 +0000 (22:19 +0000)]
Update packages versions

16 years agoRuby example code
tak [Wed, 23 Jan 2008 16:15:09 +0000 (16:15 +0000)]
Ruby example code

16 years agoSay that users will access scanned data through SQLite3.
barbieri [Wed, 23 Jan 2008 16:04:04 +0000 (16:04 +0000)]
Say that users will access scanned data through SQLite3.

16 years agoDirect link to ruby SVN
barbieri [Wed, 23 Jan 2008 15:12:53 +0000 (15:12 +0000)]
Direct link to ruby SVN

16 years agoSet len to 0 if string is empty.
barbieri [Tue, 22 Jan 2008 21:25:39 +0000 (21:25 +0000)]
Set len to 0 if string is empty.

16 years agoFix problem with SubIFD in Exif.
barbieri [Tue, 22 Jan 2008 20:53:33 +0000 (20:53 +0000)]
Fix problem with SubIFD in Exif.

Patch-By: Leonardo Sobral Cunha <leonardo.cunha@openbossa.org>

16 years agoCheck for zero-padded strings.
barbieri [Tue, 22 Jan 2008 20:53:13 +0000 (20:53 +0000)]
Check for zero-padded strings.

16 years agoGet both lead artist and band, use in order: band, artist
barbieri [Tue, 22 Jan 2008 18:45:37 +0000 (18:45 +0000)]
Get both lead artist and band, use in order: band, artist

16 years agoCosmetic simplification.
barbieri [Tue, 22 Jan 2008 18:45:11 +0000 (18:45 +0000)]
Cosmetic simplification.

16 years agoJust get "lead artist" (TPE1), don't try others.
barbieri [Thu, 17 Jan 2008 21:46:14 +0000 (21:46 +0000)]
Just get "lead artist" (TPE1), don't try others.

id3lib helpers used to get all of those, using an *ordered* search for
the fields.

However these multiple searches were slow and I'm now doing one walk
and registering the found fields, in the order they're listed on the
file. This lead to "composer" showing before "lead artist" and thus
being used, producing undesired results for "cover albums" where you
want the artist to be the playing one, not the original.

We have 2 solutions, I used the first:
 * just get "lead artist", most of tag editors just edit them or at
   least enable users to change that. Most software just use this.
 * get all the fields, consider them as a group for "todo" analysis
   and at the end of the search use in the specific order. This is
   more complex and would require lots of allocation/copy/free to a
   case that is often uncommon.

16 years agoRuby API docs.
tak [Thu, 3 Jan 2008 13:00:46 +0000 (13:00 +0000)]
Ruby API docs.

16 years agoDoc updates, and small fix for Parser.
tak [Thu, 3 Jan 2008 12:39:03 +0000 (12:39 +0000)]
Doc updates, and small fix for Parser.

16 years agoUpdated documentation formatting
tak [Wed, 2 Jan 2008 17:56:56 +0000 (17:56 +0000)]
Updated documentation formatting

16 years agoRuby binding
tak [Wed, 2 Jan 2008 17:16:32 +0000 (17:16 +0000)]
Ruby binding

16 years agoAdd PNG image support (just size)
barbieri [Mon, 24 Dec 2007 15:28:58 +0000 (15:28 +0000)]
Add PNG image support (just size)

16 years agoAdd audio-dummy to build.
barbieri [Mon, 24 Dec 2007 15:28:27 +0000 (15:28 +0000)]
Add audio-dummy to build.

16 years agoAdd audio-dummy with missing audio formats.
barbieri [Fri, 21 Dec 2007 14:44:41 +0000 (14:44 +0000)]
Add audio-dummy with missing audio formats.

16 years agoAdd .wmv to video-dummy.
barbieri [Fri, 21 Dec 2007 14:44:11 +0000 (14:44 +0000)]
Add .wmv to video-dummy.

16 years agoUpdated packaging system
etrunko [Thu, 20 Dec 2007 22:08:04 +0000 (22:08 +0000)]
Updated packaging system

16 years agoAdd copyright to all files.
barbieri [Mon, 17 Dec 2007 21:33:07 +0000 (21:33 +0000)]
Add copyright to all files.

16 years agoAdd copyright to all source files.
barbieri [Mon, 17 Dec 2007 21:30:14 +0000 (21:30 +0000)]
Add copyright to all source files.

16 years agoConsider DQT frame as JFIF (ignore and get just the size).
barbieri [Mon, 17 Dec 2007 21:16:38 +0000 (21:16 +0000)]
Consider DQT frame as JFIF (ignore and get just the size).

If DQT frame is found, then no extra information is available,
consider like JFIF and go straight to image dimension.

16 years agoAlso get size from other SOF (progressive, extended sequential...)
barbieri [Mon, 17 Dec 2007 20:52:18 +0000 (20:52 +0000)]
Also get size from other SOF (progressive, extended sequential...)

16 years agoProvide means to stop check/process.
barbieri [Thu, 13 Dec 2007 22:07:45 +0000 (22:07 +0000)]
Provide means to stop check/process.

16 years agoAllow threads to run while processing.
barbieri [Thu, 13 Dec 2007 22:07:02 +0000 (22:07 +0000)]
Allow threads to run while processing.

16 years agoProvide stop_scanning()
barbieri [Thu, 13 Dec 2007 22:06:43 +0000 (22:06 +0000)]
Provide stop_scanning()

16 years agoPoint to correct SVN
barbieri [Thu, 13 Dec 2007 21:14:03 +0000 (21:14 +0000)]
Point to correct SVN

16 years agoadd git reference
barbieri [Thu, 13 Dec 2007 15:49:18 +0000 (15:49 +0000)]
add git reference

16 years agoAdd download section and SVN to front page.
barbieri [Thu, 13 Dec 2007 15:29:10 +0000 (15:29 +0000)]
Add download section and SVN to front page.

16 years agoAdd Doxyfiles to EXTRA_DIST
barbieri [Thu, 13 Dec 2007 15:15:17 +0000 (15:15 +0000)]
Add Doxyfiles to EXTRA_DIST

16 years agoMinor adjustments to webpage
barbieri [Thu, 13 Dec 2007 05:39:59 +0000 (05:39 +0000)]
Minor adjustments to webpage

16 years agofront page
barbieri [Thu, 13 Dec 2007 05:27:31 +0000 (05:27 +0000)]
front page

16 years agoAdd Python-docs to webpage
barbieri [Thu, 13 Dec 2007 05:10:43 +0000 (05:10 +0000)]
Add Python-docs to webpage

16 years agoAdd C-docs to webpage
barbieri [Thu, 13 Dec 2007 05:09:31 +0000 (05:09 +0000)]
Add C-docs to webpage

16 years agoDoxyGen support.
barbieri [Thu, 13 Dec 2007 05:03:53 +0000 (05:03 +0000)]
DoxyGen support.

16 years agoAdded debian packages
etrunko [Tue, 11 Dec 2007 05:53:03 +0000 (05:53 +0000)]
Added debian packages

16 years agoMerge branch 'master' of /home/gustavo/Development/git/python-lightmediascanner
barbieri [Mon, 10 Dec 2007 21:20:11 +0000 (21:20 +0000)]
Merge branch 'master' of /home/gustavo/Development/git/python-lightmediascanner

* 'master' of /home/gustavo/Development/git/python-lightmediascanner:
  Add lms_check() support.
  add charset support.
  Initial commit.

16 years agoMerge branch 'master' of /home/gustavo/Development/git/lightmediascanner
barbieri [Mon, 10 Dec 2007 21:05:52 +0000 (21:05 +0000)]
Merge branch 'master' of /home/gustavo/Development/git/lightmediascanner

* 'master' of /home/gustavo/Development/git/lightmediascanner: (60 commits)
  Modules are optional, don't fail when they fail.
  Adding support to ogg
  Implement lms_check()
  Refactor lightmediascanner_process.c
  Add missing new lines to messages
  Avoid breaking strict-aliasing rules.
  Use correct pointer types for iconv, avoid warnings.
  Move process stuff into own file, will add lms_check() and use part of it.
  Charset conversion support.
  Change plugin API to take a "context" instead of "db".
  Remove unused API macros.
  Cache lms_db_* per DB instance instead of globally.
  Provide data caching based on DB instance.
  Fix copy&paste legacy: s/ldi/ldv/g in lightmediascanner_db_video.c
  id3lib now uses playcnt.
  Add playcnt to audios table.
  PLS Parser.
  Also index audios by trackno.
  M3U parser.
  Fix memory leak and possible buffer overrun.
  ...

16 years agoInitial Repository Layout
barbieri [Mon, 10 Dec 2007 19:28:59 +0000 (19:28 +0000)]
Initial Repository Layout