Reply To: database indexing via inode?

#11526
rpedde
Participant

@whatdoineed2do wrote:

hi folks

i’ve been running mt-daapd 0.2.4 off my linux boxes for a while now and its been great; however, i was trying to figure out if it woudl be easy to change mt-daapd so that i could have mp3s on 2 different filesystems?

the comment in the confg file (/etc/mt-daapd.conf) says that files are idx in the db via the inode; could the database idx not be changed so its based on a inode-dev id couplet and this would remove the need the same-filesystem restriction?

thanks
ray

Ya, but getting device info cross platform isn’t very pleasant. It’s been fixed by using path as a key in nightlies. You can get nighlies at nightlies.mt-daapd.org, although some of the deps have changed — you’ll need either sqlite2 or sqlite3 in addition to libid3tag.

— Ron