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
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
Ron Pedde
9289f526db
-Wall fixes
2004-02-15 00:51:11 +00:00
Ron Pedde
d58c2c6ede
Fix problem with genres greater than 148
2004-02-09 17:42:57 +00:00
Ron Pedde
58a3d45cef
Add track tags
2004-01-27 05:30:06 +00:00
Ron Pedde
10f7ca1790
merge new-rend-branch
2004-01-20 04:41:20 +00:00
Ron Pedde
fcde8d4bd8
Better scanner fix for solaris
2004-01-13 15:39:30 +00:00
Ron Pedde
9119ab738a
utf8 comments
2004-01-13 15:29:31 +00:00
Ron Pedde
09e9f8c571
don't translate comments from utf8
2004-01-13 04:30:32 +00:00
Ron Pedde
3cfaf1f44d
Fix error messages on init_scan
2004-01-04 21:32:04 +00:00
Ron Pedde
eac98e0a61
Fix stat time fields
2003-12-09 15:56:17 +00:00
Ron Pedde
af983110a2
playing with date stuff -- seems wrong
2003-12-09 05:48:06 +00:00
Ron Pedde
47dd724c35
Add scanning for year tag - TDRC
2003-12-07 00:24:01 +00:00
Ron Pedde
9eb513bfa8
add smart-playlist evaluation to mp3 adder. Arguably deserves to go in db_add
2003-12-05 05:59:51 +00:00
Ron Pedde
ebf850a12e
debug msgs for m3u processing. Why are not all playlists showing up?
2003-12-03 20:25:23 +00:00
Ron Pedde
7f15282951
Handle m3u files
2003-12-02 06:20:54 +00:00
Ron Pedde
ca10ac95ec
Change ID handling to inode
2003-12-02 05:27:32 +00:00
Ron Pedde
1b5e2ca2c4
More linux fixes
2003-12-01 20:06:09 +00:00
Ron Pedde
8a79262ef5
Fah
2003-12-01 03:24:17 +00:00
Ron Pedde
7f5d8f96b1
Fix ID3v1 tags
2003-12-01 03:23:43 +00:00
Ron Pedde
74238741d1
notify memory checker about utf-8 strings
2003-11-26 06:11:30 +00:00
Ron Pedde
85c4cdc9fe
replace fsetpos junk with fseek
2003-11-14 22:38:02 +00:00
Ron Pedde
9bc76676b3
Fix fpos_t thing
2003-11-14 19:19:29 +00:00
Ron Pedde
0885bbfb50
Skip mp3 files with no sync frame
2003-11-14 16:19:21 +00:00
Ron Pedde
c38085474e
Now serving...
2003-11-12 02:59:45 +00:00
Ron Pedde
1f54c8225e
Add extra tags to mp3 struct. Enable recursive dir scanning
2003-11-10 03:58:39 +00:00
Ron Pedde
dd0569502c
Mostly fixed scanning bug
2003-11-07 04:54:24 +00:00
Ron Pedde
3805df1ee8
add electricfence to detect some heap trouncing, fix some update handling bugs, make run on linux. Still some linux issues
2003-11-05 18:57:13 +00:00
Ron Pedde
c2dcb67bc7
fix dir scanning
2003-11-04 23:00:36 +00:00
Ron Pedde
621d18135e
More mp3 scanner adds
2003-11-04 21:25:50 +00:00
Ron Pedde
5a7b5c3f8d
stupid stub
2003-11-04 06:11:31 +00:00