Commit Graph

97 Commits

Author SHA1 Message Date
Ron Pedde
2762f6730b hook wma scanner into mp3-scanner, add more metainfo 2005-04-14 06:23:05 +00:00
Ron Pedde
622171c1b1 Add daap.songcodectype, normalize daap.songformat and daap.songdescription. 2005-04-04 02:21:26 +00:00
Ron Pedde
17c7b8d875 Move ssc check to dmap-building time, rather than scanning time so that transcoding can be done on a per-user-agent basis 2005-03-20 23:43:24 +00:00
Ron Pedde
adc26c90b4 Big performance wins 2005-03-19 10:02:19 +00:00
Ron Pedde
847d10b361 First pass of sqlite backend 2005-03-11 06:39:40 +00:00
Ron Pedde
9afb28a4ab Add Tim's ogg and flac patches, plus convert the existing ogg metainfo reading
stuff to use vorbisfile.
2005-02-27 00:41:55 +00:00
Ron Pedde
ecaae83ce5 Add config option latin1_tags to fix utf-8 tags in text fields purporting to be latin1. Sadly, this is an all-or-nothing option. Perhaps one could autodetect? 2005-02-24 05:04:05 +00:00
Ron Pedde
de5ed17847 Fix problems with scanning fileinfo of files with uppercase extensions 2005-02-22 07:23:09 +00:00
Ron Pedde
bdd5ba39da integrate server-side conversion patches, -Wall cleanups, AMD64 fixes, and xml-rpc cleanups 2005-02-21 08:10:37 +00:00
Ron Pedde
f2ff609742 start framework for xml-rpc calls. 2005-02-17 04:24:16 +00:00
Ron Pedde
70ea2d7561 fix divide-by-zero bug. Doh 2005-02-05 21:22:47 +00:00
Ron Pedde
1b38b66340 Tune down the seek errors on frame scanning 2005-01-12 04:04:00 +00:00
Ron Pedde
cd91e5362d fix problem with id3v2 comments 2005-01-09 21:50:48 +00:00
Ron Pedde
9976d7b2cf Minor ogg fixups 2004-12-25 06:24:32 +00:00
Paul Kim
7aa6aa0062 configure.in:
- Added support for optional Ogg/Vorbis support via the --enable-oggvorbis
flag.

Makefile.am:
- Added conditional compilation of ogg.c dependant on whether Ogg/Vorbis
support is enabled.

mp3-scanner.c:
- Added hook for Ogg/Vorbis support.
- Commented out code which set the "item_kind" of ogg files differently.
It now sets it the same as other audio files. They show up in iTunes
now but they will not stream.

ogg.c:
- Initial check-in.
- Code adapted from 'ogginfo' program. Does parsing of Ogg/Vorbis tags.
2004-12-06 03:06:12 +00:00
Ron Pedde
7823fae9d5 Stop unchanged static playlists from incrementing version number. Fix memory leak with background rescans and static playlists 2004-12-03 06:43:20 +00:00
Ron Pedde
b033952af2 Handle short file errors better 2004-11-29 06:37:52 +00:00
Ron Pedde
b50617d356 bad type - off_t vs fpos_t 2004-11-29 06:01:27 +00:00
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