Hey Alesssandro<br><br>Creating such a backend shouldn&#39;t be too difficult. The database doesn&#39;t need to be created, you could just use Nepomuk&#39;s database. Currently, Nepomuk uses Soprano for storing RDF data, which in turn uses Virtuoso. There are 2 things you will need to do - <br>
1. Make sure all the data which you want accessible via PMC is indexed. You can use Nepomuk&#39;s KCM to do that, or you can directly edit the nepomukstrigirc file.<br>2. Construct Sparql queries to segregate data based on its type. (Music, Video, Pictures, etc)<br>
<br>The Nepomuk File Ontology is exactly what you&#39;re looking for. It has classes like nfo:Audo, nfo:Image, nfo:Video, or if you want to go for a more generic option - nfo:Media. Example -<br>&quot;select ?url where { ?r nie:url ?url. ?r a nfo:Audio. } LIMIT 10&quot; <br>
This should give you 10 Audio Files.<br><br>I think Nepomuk is perfect for what you want to do, cause it already segregates the data, and you won&#39;t need your own database. Additionally, you could even search by Artist, Actor, Director, and other properties. Plus, if those properties aren&#39;t present in the File, the Web Metadata extractor should get those values ( GSoC project 2010 )<br>
<br>Another thing that could be done is that you could display information about different Artists, Actors, Movie Directors, Imdb ratings, etc and you will have to do next to nothing to get that info. Nepomuk should handle all the messy work. You just need to perform the queries. ( Wait for KDE 4.6 for this to get implemented ) <br>
<br><b>Far fetched Idea :</b> If I manage to implement Metadata sharing properly, you could theoretically search through other machine&#39;s Nepomuk database. So, I guess that would add a social feature to the PMC. <br><br>
- Vishesh Handa<br><br><div class="gmail_quote">On Sat, Jun 5, 2010 at 3:32 PM, Alessandro Diaferia <span dir="ltr">&lt;<a href="mailto:alediaferia@gmail.com">alediaferia@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello list,<br>you probably have heard about Plasma Media Center (PMC).<br><br>I would need some advice from regarding media type files handling.<br>Little briefing: PMC allows different browsing backends to be inserted in order<br>

to allow different kind of file browsing, This leads to giving the chance to the user to both<br>browse among his local files or among e.g. videos from youtube, pictures from picasa and so on...<br><br>Regarding the local file browsing we need to do something like:<br>

the user selects the folder PMC should search for media files, a database is created with such files<br>and later the application will always show such files categorized and what not. In addition to this<br>we&#39;d like to separate pictures, videos and audio files. Later one backend for each type (music, picture and video)<br>

will make use of such databases in order to allow the user browse through them.<br><br>Now your help: what&#39;s the best way for doing this from the Nepomuk point of view?<br>I hope my explanation was clear enough. Of course just ask for any clarification.<br>

<br>Thanks in advance for your help.<br clear="all">Regards<br><font color="#888888">-- <br>Alessandro Diaferia<br>KDE Developer<br>KDE e.V. member<br><br>
</font><br>_______________________________________________<br>
Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/listinfo/nepomuk</a><br>
<br></blockquote></div><br>