I have more than 10000 photos and would like to create a new structure of the files. The default structure doesn't help me a lot, all photos in 1 folder is not accessible in a short time, also hundreds or 1000 directories in a plain hierarchy.
My files are already stored in a year-folder and a topic folder, which contains the month.
How can I create a year/topic structure with mediatomb?
All jpg-files contain exif-data, so the structure can be created by the file, but as said, my filesystem is already built as I want with mediatomb.
What version of MediaTomb are you using? I ask because with version 0.12.0, a 'Directories' layout was added that mimics the layout of your filesystem structure. This should give you exactly what you're after. If you're not running 0.12.0, then you can use the 'PC Directory' layout which all MediaTomb versions have.
I use mediatomb 0.12.1-0ubuntu1
Thanks, I found it, but I am still not very happy. There are so many directories to pass to reach the directory with the photos and the tv doesn't display all photos, while the database does. If you need more info please let me know.
Can you provide the full path to one of your photos? Also which directory did you import into MediaTomb? It makes a difference which is the root import directory when using the 'Directories' layout.
/fotos is the mountpoint of the partition
fotos_1080 is the directory for TV with a 1920x1080 resolution
lisi is the person who made the photo
1992 is the year
12_gran.canaria is a combination of month and album name
19921201000100_001_gran.jpg is the image, with the date included
My wish would be, that I have a structure starting from 1992 for normal use, but sometimes I would like to change the persons too.
I am not familiar with JS, but it seems there is a script in the wiki, which could match my need:
simple structured import script
This one leaves out the first few dir names of the full path to the files.
/home/something/download/mymovie/file.avi → Video/mymovie/file.avi
I use Natty. If "deb http://ppa.launchpad.net/jinto/mediatomb-js/ubuntu lucid main" works, must be tried.
Run the following: