Ron Pedde
1b8244b7f3
Add auth handler to plugin
2006-04-24 08:44:04 +00:00
Ron Pedde
ad0455d09a
more gdbm
2006-04-13 02:19:56 +00:00
Ron Pedde
476ee42faf
starting simple gdbm backend
2006-03-27 01:48:43 +00:00
Ron Pedde
847d10b361
First pass of sqlite backend
2005-03-11 06:39:40 +00:00
Ron Pedde
be980f515d
Fix miscounted items on rescans
2005-01-17 05:20:13 +00:00
Ron Pedde
c8a4fdd19d
Order playlist items in the order they are in the playlist, rather than inverted
2005-01-11 01:12:02 +00:00
Ron Pedde
133e971edc
Fixes for the "Doesn't actually delete stuff on rescan" bug. Thanks to Roger Mundt for the logs and documentation to track this down.
2005-01-09 20:02:01 +00:00
Ron Pedde
34c3ba8b2a
Automatically update database on version change
2004-12-21 04:37:35 +00:00
Ron Pedde
398988f566
64-bit inode support
2004-12-08 03:21:12 +00:00
Ron Pedde
c75a402576
more verbose error to try and highlight permissions problems
2004-12-07 00:25:17 +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
a95f75c667
Bump the version count
2004-11-22 07:23:04 +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
cbbddc5750
protect gdbm_* functions from reentrancy
2004-11-18 17:46:11 +00:00
Ron Pedde
5280856f95
Fix fd leak from bad files in mp3 scan
2004-11-18 06:56:04 +00:00
Ron Pedde
2fa6a01019
Fix race in db_find/db_exists
2004-11-16 05:30:44 +00:00
Ron Pedde
cbfbd9990f
readlock on db_find. a db_find during a background rescan apparently kills the db handle. still a small race there, need to rethink locking altogether.
2004-11-15 05:39:11 +00:00
Ron Pedde
90e50f9818
didn't actually *fix* the leak
2004-11-14 11:46:58 +00:00
Ron Pedde
c09b93d252
typos -- didn't compile
2004-11-14 07:24:37 +00:00
Ron Pedde
6c1f12ab61
fix gigantic memory leak on db enum
2004-11-14 06:45:13 +00:00
Ron Pedde
e24b0b7a66
Fix memory leak -- not disposing of mp3 struct returned by db_find in main
2004-11-13 20:58:30 +00:00
Ron Pedde
31aa0d8575
modularize debugging statements
2004-11-13 07:14:26 +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
b77068393d
do a reorg of the database following a db scan, to try and compact the db
2004-10-25 04:49:20 +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
491e7f8b57
dereferencing freed memory
2004-10-10 11:24:02 +00:00
Ron Pedde
e600a30528
remove insertion sort for performance reasons
2004-10-10 06:58:28 +00:00
Ron Pedde
fc5fc7dfa6
Comments
2004-09-25 21:43:56 +00:00
Ron Pedde
8577bec027
fix some really ugly memory leaks
2004-09-19 06:00:07 +00:00
Ron Pedde
9559452124
Fix date_added, modified problems. Also, fix db_exists
2004-09-19 05:18:49 +00:00
Ron Pedde
9ac1213126
pedantic typecasting
2004-09-19 03:06:08 +00:00
Ron Pedde
78ba4d7f20
hold lock during db enum -- reduce memory requirements by serializing updates (partcuarly with rescan_interval), and because the enum isn't currently reentrant
2004-09-18 05:24:34 +00:00
Ron Pedde
9cf3551c0c
redo locking to allow for background rescanning. Add db_rescan to determine if the db is in rescan mode
2004-09-15 04:59:14 +00:00
Ron Pedde
d9d0acd412
Allow empty playlists
2004-09-15 03:14:56 +00:00
Ron Pedde
9727812201
Remove playlist if last file is removed from the playlist on an update
2004-09-15 03:03:45 +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
5748b6502d
Add support for TBPM (beats per minute) tag on MP3 files
2004-09-08 03:48:09 +00:00
David W. Berry
0ba13be4be
fix problem with m4p files crashing sorting
2004-06-22 01:52:26 +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
483d354468
Fix gdbm for debian stable, configure problem with new howl
2004-06-02 05:28:52 +00:00
Ron Pedde
4370cb960c
Seeking working on iTunes 4.5
2004-04-28 23:51:26 +00:00
Ron Pedde
3978d0932c
More fixes for iTunes 4.5
2004-04-28 18:55:22 +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
ffff21d118
Fix problems with not noticing removed files
2004-04-06 21:27:31 +00:00
Ron Pedde
5710d771d0
too many -lgdbm
2004-04-06 20:06:41 +00:00
Ron Pedde
543e8c1ee1
make gdbm the default
2004-04-06 15:26:46 +00:00
Ron Pedde
451b522dfd
fix db_init after dropping privs
2004-04-06 13:44:26 +00:00
Ron Pedde
8273834a8c
Add feedback info
2004-04-02 06:48:24 +00:00