Reply To: Play MP4 or AVI

#8428
Anonymous
Inactive

@alchemist wrote:

Hi – Is there anyway Firefly could default to see .MP4 as video? I would think that most people have more video than audio with .MP4 extensions.

Works for me… I had to hack the DB though 🙂

celia:~# sqlite3 -column -header /var/cache/mt-daapd-test/songs3.db
SQLite version 3.3.8
Enter ".help" for instructions
sqlite> update songs set has_video=1,type='m4v',codectype='mp4v' where path like '%.mp4';
sqlite> select id,title,type,codectype,has_video from songs where path like '%.mp4';
id title type codectype has_video




4 Filename1 (mpg-mp4).mp4 m4v mp4v 1
9 Filename2 (avi-mp4).mp4 m4v mp4v 1
10 Filename3 (mp4-mp4).mp4 m4v mp4v 1

Of these, only the file with id=10 is actually playing. It’s the only file that is actually an MP4 file! The other ones are MPEG (?) and AVI files and this ‘hack’ don’t work for them. The id=9 is something I’m still working on…

Ok, so that isn’t by default but any way. It DO work… 🙂

Oh, iTunes have to be disconnected from the server and the server needs to be restarted for it to work/show up…