summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2008-08-17- Simplify mfs_file_data_from_path a lot and rename it to mfs_realpath, whichUlf Lilleengen
have the objective of looking up the real file path, given the musicfs path. Some thoughts: Instead of creating a function for each operation we want to do, this change adds a mfs_lookup_path which allocates a buffer with the real path of the file we're looking for. This way, we can do the operations we want on the path externally instead, which is a lot simpler when using it. This also gets rid of the file_data data structure, and just use a pointer pointer where one is to allocate the real path.
2008-08-15Changed dbpath to ~/.mfs.dbKjetil Ørbekk
2008-08-15- Added lookup functions for scanning pathsKjetil Ørbekk
2008-08-15- Implemented mfs_reload_configKjetil Ørbekk
2008-08-15- Moved $HOME function to mfs_subrKjetil Ørbekk
2008-08-14- Added license information (GPLv2)Kjetil Ørbekk
2008-08-14- Renamed mp3fs to musicfsKjetil Ørbekk
2008-08-13- Changed DBNAME so it works on other machines than Ulf'sKjetil Ørbekk
2008-08-13- Reverted mp3_basename, using sqlite tricks to obtain the sameKjetil Ørbekk
Revert "- Use mp3_basename and sqlite to add extensions to filenames" This reverts commit d2727a60c0b2d6967d9cce3ca2696e1cab79e322. Revert "- Added mp3_basename" This reverts commit 2635d332f07ee1691a785d543f7ccbde2eeb99f0.
2008-08-13- Added mp3_basenameKjetil Ørbekk
2008-08-12- Restructured mp3_getattrKjetil Ørbekk
2008-08-12- Added mp3_file_data_for_path, to reuse code for opening and readingKjetil Ørbekk
a given path.
2008-08-12- Fixed debug filehandleKjetil Ørbekk
2008-08-09- Add lookup for album directory.Ulf Lilleengen
2008-08-09- Change lookup_fn to return values, so we can stop the lookup_finish loop onUlf Lilleengen
the SQL results.
2008-08-09- Add support for reading a file in /Tracks directory.Ulf Lilleengen
- Make use of the generic lookup framework to create functions which open and stat files. - Make getattr a bit generic and use the lookup stuff.
2008-08-09- Rename list to lookup, and change it, so a generic lookup callback thatUlf Lilleengen
will be called with the retrieved data can be specified. - Add filepath to the database schema.
2008-08-09- Split mp3_list into three functions performing initialization, adding data andUlf Lilleengen
finishing (thus running the query).
2008-08-05- Abstract out the methods listing artists and genre into their own functions.Ulf Lilleengen
- Use a format string in mp3_list to determine what type of arguments to be bound to the sqlite3 statement. This got a bit uglier than expected, so it may be removed later. But it's the best we've got for now. This revision have not been tested to work.
2008-08-03- Add TODOUlf Lilleengen
- Support deeper nested hierarchies. - Add convenience functions for tokenizing and lookups.
2008-08-03- Correct typo in db schema.Ulf Lilleengen
- Add mp3_list which given a query and a field number, prints out values from the query.
2008-08-03- Initial implementation of sqlite3 as backend for music.Ulf Lilleengen
- Add current database schema. - Remove old query support, since this is replaced by sqlite now.
2008-06-15- Made DEBUG write to file instead of stderr (which didn't work)Kjetil Ørbekk
2008-04-30- Fix issues with getting filler to work.lulf@nobby.studby.ntnu.no
- Fix problems with query matching by adding a flag saying what parameters we want. Could perhaps do this better though.
2008-04-29- Compilation fixes. It does not work yet, but basic structure in place.lulf@carrot.studby.ntnu.no
2008-04-29- Implement query system to select data from data structures.lulf@carrot.studby.ntnu.no
2008-04-25- Use taglib in mnode.lulf@carrot.studby.ntnu.no
2008-04-25- Merge.lulf@carrot.studby.ntnu.no
2008-04-25- Merge.lulf@carrot.studby.ntnu.no
2008-04-25- Added debug.hKjetil Ørbekk
2008-04-24- Move out directory traversal routines into mp3_subrlulf@carrot.studby.ntnu.no
2008-04-21- Implement basic check and indexing.lulf@carrot.studby.ntnu.no
2008-04-20- Make it work.lulf@carrot.studby.ntnu.no
2008-04-20- Include option parsing in main file.lulf@carrot.studby.ntnu.no
- Put initialization routine in vnops.
2007-11-21- Add node structure skeleton.lulf@carrot.studby.ntnu.no
- Revert vnops changes.