Commit Graph

895 Commits

Author SHA1 Message Date
Warren Dukes 498fe12702 added "notcommands" command
git-svn-id: https://svn.musicpd.org/mpd/trunk@2738 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-23 19:46:33 +00:00
Warren Dukes 3a89afdd80 remove --update-db option
git-svn-id: https://svn.musicpd.org/mpd/trunk@2719 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-20 20:28:32 +00:00
Warren Dukes 26e943c025 fix oss_openDevice() to match the new openDevice callback protocol (w/o a audioFormat argument)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2715 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-20 14:44:01 +00:00
Warren Dukes cd6af0948c todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2711 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-19 20:10:08 +00:00
Warren Dukes 1fd8d9a790 don't need to pass audioFormat to openDeviceFunc
git-svn-id: https://svn.musicpd.org/mpd/trunk@2708 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-19 15:09:01 +00:00
Warren Dukes a809094bc3 fix an issue with errors and new read() code on interface
git-svn-id: https://svn.musicpd.org/mpd/trunk@2683 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-16 01:41:05 +00:00
Warren Dukes 469a5824b8 get rid of a gcc warning
git-svn-id: https://svn.musicpd.org/mpd/trunk@2682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 22:55:05 +00:00
Warren Dukes d5a9925d1f s/device/output/
git-svn-id: https://svn.musicpd.org/mpd/trunk@2678 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 20:18:21 +00:00
Warren Dukes b005556675 this shit really needs to be cleaned up, but its good enough for testing,
intelligently use memmove, when inserting nodes in a sorted list

git-svn-id: https://svn.musicpd.org/mpd/trunk@2677 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 19:29:20 +00:00
Warren Dukes f3e8d59d5c use realloc for makeListNodesArray
git-svn-id: https://svn.musicpd.org/mpd/trunk@2676 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 18:35:23 +00:00
Warren Dukes c3b76c4171 ok, fix FindNode
git-svn-id: https://svn.musicpd.org/mpd/trunk@2675 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:40:48 +00:00
Warren Dukes 731c9fa56c don't to an unneccessary sort
git-svn-id: https://svn.musicpd.org/mpd/trunk@2674 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:36:10 +00:00
Warren Dukes 209cab26ca oops, forgot to remove some DEBUG statments
git-svn-id: https://svn.musicpd.org/mpd/trunk@2673 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:31:01 +00:00
Warren Dukes 33b9585d68 insert stuff in tagTracker in sorted order, hopefully this makes it faster
git-svn-id: https://svn.musicpd.org/mpd/trunk@2672 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-15 17:24:57 +00:00
Avuton Olrich 64632d6965 - Fix compilation error when compiling in a working directory with mp4 support.
git-svn-id: https://svn.musicpd.org/mpd/trunk@2656 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 19:03:28 +00:00
Warren Dukes 54acb123bc add non-standard m4's to mpd svn repository
git-svn-id: https://svn.musicpd.org/mpd/trunk@2655 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 15:22:36 +00:00
Warren Dukes 450f2decdd put tracking titles back in tag tracker
git-svn-id: https://svn.musicpd.org/mpd/trunk@2654 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 14:58:00 +00:00
Warren Dukes 67c7cc8e20 fix test (we're not adding title's to the tag tracker)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2653 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 14:46:50 +00:00
Warren Dukes c2844e84ff test
git-svn-id: https://svn.musicpd.org/mpd/trunk@2652 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 14:42:07 +00:00
Warren Dukes bb15d3f29e no longer need to include sig_handlers.h in interfac.ec
git-svn-id: https://svn.musicpd.org/mpd/trunk@2651 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 06:18:22 +00:00
Warren Dukes 42b08abe2f fix a few bugs in read()'ing
git-svn-id: https://svn.musicpd.org/mpd/trunk@2650 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 05:54:00 +00:00
Warren Dukes 86afc13c7e optimized read() on clients, should be much, much faster now
git-svn-id: https://svn.musicpd.org/mpd/trunk@2649 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-14 05:38:49 +00:00
Warren Dukes 2c08fa619b a few DEBUG statements
git-svn-id: https://svn.musicpd.org/mpd/trunk@2642 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-13 23:22:22 +00:00
Warren Dukes 3dafd6ced0 fix bug in find
git-svn-id: https://svn.musicpd.org/mpd/trunk@2638 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-13 19:17:38 +00:00
Warren Dukes ff2bd4d4c1 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2634 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-13 03:08:34 +00:00
Warren Dukes 9dc0b070f0 fix a bug in pringSongUrl, don't print leading '/' for songs in root dir
git-svn-id: https://svn.musicpd.org/mpd/trunk@2631 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 18:02:26 +00:00
Warren Dukes 0473f3ea76 don't store only relative paths in the directory structure, its probably not
worth the savings in memory for the extra cpu it requires

git-svn-id: https://svn.musicpd.org/mpd/trunk@2630 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 17:38:52 +00:00
Warren Dukes ee26cc33b6 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2627 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 03:59:43 +00:00
Warren Dukes 4735ddce40 correct a type in the error message
git-svn-id: https://svn.musicpd.org/mpd/trunk@2625 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 01:47:52 +00:00
Warren Dukes 1f118ea90d now more flexible list, search, find, where you can enter pairs of
"conditionals".  Note that logical and is implied.

git-svn-id: https://svn.musicpd.org/mpd/trunk@2624 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 01:44:27 +00:00
Warren Dukes 18a2d5ab5a todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2623 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-12 00:29:46 +00:00
Warren Dukes 76addf155e ok, dottemag's id3v1_encoding config parameter should now work.
dottemag can you test it? i made one little tweak

git-svn-id: https://svn.musicpd.org/mpd/trunk@2620 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 21:43:39 +00:00
Warren Dukes 169079c501 fix type
git-svn-id: https://svn.musicpd.org/mpd/trunk@2618 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 19:10:41 +00:00
Warren Dukes a0048eb786 somehow a } went missing
git-svn-id: https://svn.musicpd.org/mpd/trunk@2609 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 13:18:44 +00:00
Warren Dukes b9272fa95a ok, tagtracker now tracks title, this has the disadvantage of needing to sort
the title tracker list, and it wastes more memory.
But it makes implementing list command elegant, since we've just visit tags,
then print out the visited tags in tag tracker (which has the benefit of
making sure everything is in sorted order)

git-svn-id: https://svn.musicpd.org/mpd/trunk@2608 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 13:15:41 +00:00
Warren Dukes 1d123cd496 better saved memmory display
git-svn-id: https://svn.musicpd.org/mpd/trunk@2607 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 05:25:05 +00:00
Warren Dukes 30ea485c63 git-svn-id: https://svn.musicpd.org/mpd/trunk@2606 09075e82-0dd4-0310-85a5-a0d7c8717e4f 2004-11-11 04:42:22 +00:00
Warren Dukes 6d4b8e6315 todo update
git-svn-id: https://svn.musicpd.org/mpd/trunk@2605 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 04:35:38 +00:00
Warren Dukes 21b5cde43a ok, optimize memory sage of directorys, by iteratively creating the directories,
this code needs some serious testing:

Note:
The song name optimization i think is worth it, saves about 200k of ram on my syste, however, having to create directory names iteratively each time we print probably isn't worth the cpu.  We only save about 10k of ram for the computer todo alot more work, and the code maybe a little messier

git-svn-id: https://svn.musicpd.org/mpd/trunk@2604 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 04:34:26 +00:00
Warren Dukes 6e0c4369c3 fix a few memory leaks in conf.c
git-svn-id: https://svn.musicpd.org/mpd/trunk@2603 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 03:20:49 +00:00
Warren Dukes d6a87f538d ok, now song->url is only the filename, not the full path to the song
git-svn-id: https://svn.musicpd.org/mpd/trunk@2602 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 02:59:16 +00:00
Warren Dukes 4ec3df0339 implement saved memory by not storing full path
git-svn-id: https://svn.musicpd.org/mpd/trunk@2601 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 02:36:25 +00:00
Warren Dukes 03f02badf0 this is broken
git-svn-id: https://svn.musicpd.org/mpd/trunk@2597 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 00:41:28 +00:00
Warren Dukes 01b494a852 make copyTag to metadatachunk a little more efficient
git-svn-id: https://svn.musicpd.org/mpd/trunk@2594 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-11 00:04:16 +00:00
Warren Dukes ce5a17b4d5 fix bug int tag->metadataChunk where artist was being copied to title
git-svn-id: https://svn.musicpd.org/mpd/trunk@2593 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 23:51:02 +00:00
Warren Dukes 41bf67ae99 we can't store more than 255 tag items per tag
git-svn-id: https://svn.musicpd.org/mpd/trunk@2592 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 22:13:30 +00:00
Warren Dukes 91a621e076 moves some stuff from dbUtils.h that doesn't need to be public
git-svn-id: https://svn.musicpd.org/mpd/trunk@2591 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 22:12:11 +00:00
Warren Dukes 986a49b8d3 todo update, now with pseudo code! Get yours now! (Sorry we do not accept credit cards)
git-svn-id: https://svn.musicpd.org/mpd/trunk@2590 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 22:08:14 +00:00
Warren Dukes c5d27d8eaa merge changes from metadata-rewrite branch
git-svn-id: https://svn.musicpd.org/mpd/trunk@2589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-10 21:58:27 +00:00
Warren Dukes 86cf70dcb2 here's why mikmod was segfaulting, the char * strings returned need to be strdup()'d, and not free'd
git-svn-id: https://svn.musicpd.org/mpd/trunk@2565 09075e82-0dd4-0310-85a5-a0d7c8717e4f
2004-11-09 20:28:54 +00:00