Commit Graph

79 Commits

Author SHA1 Message Date
Ron Pedde
27d8a51309 add scan_type directive for doing brute-force scans 2004-11-29 05:55:25 +00:00
Ron Pedde
fd70a618d6 Still more attempts to better find the right mp3 frame header 2004-11-27 22:58:33 +00:00
Ron Pedde
f53a5ce363 Fix log bug spotted by keen-eyed debugger whodoneit. :) 2004-11-24 05:55:09 +00:00
Ron Pedde
a2a5c09c59 First pass at xing header parsing
Try more aggressive header scanning for badly-formed mp3
files.  Some pathalogical mp3 files aren't detected right --
I suspect because they have header signatures in id3v2 tags,
which shouldn't happen per the spec, but obviously does.
2004-11-22 07:16:56 +00:00
Paul Kim
5d813e8b13 db-gdbm.c:
- Added support for db_timestamp field. Field is the modification time
of the db record and is checked against the file modification time
in file system scans.

mp3-scanner.h:
- Added db_timestamp field. This is now distinct from the file's
modification time which may, in some cases, be embedded in the file.

mp3-scanner.c:
- Added mac_to_unix_time to convert mac timestamps to unix ones.
- Mp3 files get their modification time from the files mod time.
- AAC files get their modification time from the embedded mod time.
- AAC files get their added time from the embedded creation time.
2004-11-20 19:22:40 +00:00
Ron Pedde
5280856f95 Fix fd leak from bad files in mp3 scan 2004-11-18 06:56:04 +00:00
Ron Pedde
31aa0d8575 modularize debugging statements 2004-11-13 07:14:26 +00:00
Ron Pedde
35d5710d65 fix .url support for roku, which must have a asfm of pls. Doh. 2004-11-05 04:49:37 +00:00
Ron Pedde
493f0bffbf Support for streaming audio via .url files -- particularly for the Roku SoundBridge 2004-11-04 05:04:46 +00:00
Ron Pedde
baf7ba8bda add compilation flag for id3v2.2 2004-10-31 00:19:45 +00:00
Ron Pedde
099bcf911b Updates from Paul Kim 2004-10-27 22:09:16 +00:00
Ron Pedde
8af2421541 Oops... last batch of stuff that was in -pre1, but not tagged as such 2004-10-25 03:15:35 +00:00
Ron Pedde
d3217bc8ff rough estimate of bitrate for aac files 2004-10-15 23:00:19 +00:00
Ron Pedde
9bf4087971 Fix aac song length in files with a duration expressed in time intervals other than 10th of a second 2004-10-15 22:05:15 +00:00
Ron Pedde
7cc249142e Dynamic art for AAC files from Paul Kim 2004-10-15 20:10:39 +00:00
Ron Pedde
ebf43ff4fb Case insensitive extension check for those with all uppercased file names 2004-09-19 21:14:27 +00:00
Ron Pedde
679faff120 fix logging bug 2004-09-19 06:02:19 +00:00
Ron Pedde
9559452124 Fix date_added, modified problems. Also, fix db_exists 2004-09-19 05:18:49 +00:00
Ron Pedde
03f53ecc8f ARM (NSLU2) fixes for MP3 header scanning 2004-09-19 03:04:26 +00:00
Ron Pedde
537233256b Default browse/query 2004-09-18 04:12:43 +00:00
Ron Pedde
23fa058c64 fix typo in add_long, made mper tag not work 2004-09-14 04:03:57 +00:00
Ron Pedde
e43caee157 Add support for smart playlist manipulation by date added to database. Updated mt-daapd.playlist to match 2004-09-12 23:20:29 +00:00
Ron Pedde
86257b0129 Add decoding of Grouping, Composer, Comment and BPM for AAC files 2004-09-08 04:48:07 +00:00
Ron Pedde
5748b6502d Add support for TBPM (beats per minute) tag on MP3 files 2004-09-08 03:48:09 +00:00
David W. Berry
95989a91f0 Resolve problem parsing m4p files introduced with query changes. 2004-06-25 23:23:15 +00:00
David W. Berry
3294922dcf use hton instead of ntoh 2004-06-22 01:55:07 +00:00
David W. Berry
9492a64846 1. Implement browse and query. These are both still somewhat experimental
pending further verification against iTunes.  --enable-browse and
    --enable-query must be specified to configure to enable both options.
    browse support requires query support.
2.  Database iteration is now sorted and the database is not kept locked
    as long during iteration.
2004-06-14 19:01:06 +00:00
Ron Pedde
366a44702e fix valgrind errors 2004-04-26 23:47:25 +00:00
Ron Pedde
2dee0cebd4 Starting to fix signal stuff 2004-04-19 06:19:46 +00:00
Ron Pedde
ffee7a4acf add logging to find reason for file skipping 2004-04-16 04:03:35 +00:00
Ron Pedde
6170df9af4 logging enhancements 2004-04-13 04:23:36 +00:00
Ron Pedde
625729613b refactor for background updates 2004-04-07 03:51:01 +00:00
Ron Pedde
84ea7aa49c don't crash on 0 bitrate 2004-04-04 08:39:54 +00:00
Ron Pedde
2627002b2c Add support for MPEG 1, 2, and 2.5 layers I, II, and III 2004-04-04 06:34:44 +00:00
Ron Pedde
c702b4c7a3 Add support for composer, orchestra, conductor, and grouping 2004-03-16 07:54:37 +00:00
Ron Pedde
e296c15d04 Fixes from James Turner 2004-03-16 05:24:54 +00:00
Ron Pedde
c82841a551 Fix genre bugs in aac and mp3 2004-03-14 21:37:07 +00:00
Ron Pedde
6795f24fae Determine song length of aac files 2004-03-14 07:28:52 +00:00
Ron Pedde
1003467e63 Fix missing sync frame on bad id3 headers 2004-03-14 06:29:41 +00:00
Ron Pedde
7c8f83684a include config.h 2004-03-14 01:06:15 +00:00
Ron Pedde
922b9e2ae0 fix static playlists 2004-03-14 00:11:07 +00:00
Ron Pedde
c846b649d4 Fix the stupid strcasestr thing 2004-03-11 06:05:40 +00:00
Ron Pedde
b5462f8ca0 Add support for smart playlist icons 2004-03-11 05:47:15 +00:00
Ron Pedde
11eaaf6d4f Small fixes 2004-03-08 21:27:38 +00:00
Ron Pedde
cff316a742 start of background scanning 2004-03-08 19:21:03 +00:00
Ron Pedde
7df7ce5c83 First pass at .m4a support 2004-03-07 05:42:25 +00:00
Ron Pedde
449d2104db First pass on db stuff. Still some unpacking problems 2004-03-03 06:50:09 +00:00
Ron Pedde
ce28b4a9ea More -Wall cleanups 2004-02-25 16:13:37 +00:00
Ron Pedde
642f060ec6 Add specified file types 2004-02-23 03:27:49 +00:00
Ron Pedde
6f4df7885b Add disc number info 2004-02-18 20:34:08 +00:00