Please keep the mailing list in copy of the mails.
        
        
        Le lundi 19 janvier 2009 à 18:07 +0000, mato konecny a écrit :
        > Hi Philip,
        >         Hi Mato,
        >         
        >         That's a nice initiative you had, thanks for the effort!
        >         
        >         Could you push the code in a bazaar branch too?
        > Done, code is pushed lp:~konecm/elisa/movie-library. Do you know how
        > to publish the branch on the website of the plugin? I mean, instead of
        > having to checkout the whole branch in elisa, I would like to have
        > 'selective' branch (maybe mirrored), which contains only the plugin.
        > Something similar is done with weather plugin.
        
        Use this link:
        https://code.edge.launchpad.net/elisa-plugin-movie-library/+addbranch
I'll look into extracting just the plugin and registering a branch for it.
        >         I tested the plugin but it showed always the same
        >         artwork/metadata for
        >         all my videos.
        > Could you elaborate on this a bit? What was the folder structure? Were
        > there any exceptions in the log? I know this should have been caught
        > by unit tests, but I actually didn't know how to create them for the
        > UI/controller parts.
        
        I'll try to find some time to test further today. In my Videos directory
        I have 2 symbolic links pointing to directories containing videos. In
        most of all the items of the grid the same (not generic) cover was
        displayed. If I tried to change the cover of one movie (glass icon), it
        changed for all the others.
I haven't tested symlinks, but there shouldn't be any issue here. Paths to my 
movies were something like:
/media/disk/Movies/Lord Of The Rings/lotr-rotk.avi
I extract the last directory section in the URI (thus, movie_dir = Lord Of The 
Rings) and this is used in IMDb query. The found result is cached in <ELISA 
CONF>/movie_cache/ md5_hash(movie_dir).dat (.jpg for covers). Indeed, if you 
have movies in path like /media/Movies/lotr-rotk.avi, then changing the cover 
for a "single movie" results in changing it for all movies within 
"/media/Movies" folder.
        >         One little suggestion too, when pressing that new glass
        >         button, you
        >         could display the search results of imdb in a list so that the
        >         user can
        >         directly see what was found on imdb.
        > Yeah, that was my initial idea as well, but then I was quite lazy to
        > create a extra widget for that. Probably there is something like that,
        > but I have to admit I hate looking through all pigment classes, I am
        > unable to find any documentation so everything is trial-error. There
        > will be some refactoring necessary, so maybe in some future versions
        > it will come ;)
        
        Hehe yes it's not always easy to dig in the mass of widgets we have
        spread in some places ;) This is something that will change as we get
        more contributors doing UI stuff.
        
        >         I started working on a very similar task: a revamp of the
        >         Video library
        >         section. The spec is there:
        >         http://elisa.fluendo.com/wiki/Specs/VideoSection
        >         
        >         Currently I can make some cleaning in the video filenames and
        >         somehow
        >         make the difference between TV shows and other videos. I use a
        >         resource_provider to lookup for movies on themoviedb.org
        >         website.
        > That sounds cool. In XBMC it's handy that for each 'media source' you
        > can select 'scraper' (resource provider), so you don't have to do that
        > sort of 'patching' as I did in the config file. Maybe it's a way to
        > go.
        
        Yeah well ;) As a first step I think I'll continue in the "filename
        cleaning" + regexes match direction. But you're right, maybe in the next
        step it would be interesting to allow the user to directly select the
        kind of content in his media-sources directories.
Actually, I'm doing it already, but from a different end - I tell my "plugin" 
where it should look for it's sources. It works, but is it logical? ;)
        > I think you you might be able to reuse some parts of my UI (maybe the
        > previewlist with description).
        >         It would be very cool to somehow merge our work ;) We could
        >         use the imdb
        >         resource_provider and probably some of the UI stuff you did!
        >         I'll push
        >         my WIP branches on LaunchPad.
        > Sounds good, I hope I'll be able to fix the issue you had BTW I have
        > included BeautifulSoup in my plugin, might that be an issue?
        > 
        
        I don't think that's an issue.
        
        > Cheers,
        > matej
        >         
        >         Philippe
        >         
        >         Le lundi 19 janvier 2009 à 15:19 +0000, mato konecny a écrit :
        >         > Hi everyone,
        >         > 
        >         > I've finished the initial release of 'movie library
        >         plugin' (Angband).
        >         > It can be downloaded from
        >         > https://launchpad.net/elisa-plugin-movie-library/trunk/0.1.
        >         > 
        >         > This plugin is based on Trey Tethridge's IMDb.com plugin,
        >         which is
        >         > used as resource provider (in slightly modified form). You
        >         can use
        >         > config parameter to set wildcards for matching the video's
        >         file_path
        >         > property. I've chosen this because my camera videos were
        >         also shown in
        >         > 'Video' section and I needed to exclude those.
        >         > 
        >         > If you want to use 'custom' poster image, just add
        >         poster.jpg or
        >         > coverjpg in the movie directory (this isn't configurable
        >         yet).
        >         > 
        >         > Currently, no special logic is taken when guessing the movie
        >         name. The
        >         > folder, in which movie video is located, is used in IMDb
        >         search.
        >         > Sorry, no cleaning up of releases, -xvid, -repack etc. :).
        >         In the
        >         > 'grid' view there is an extra button (magnifing glass) which
        >         skips to
        >         > the next movie found during the search query (useful if the
        >         guessing
        >         > didn't work properly, for example for movie name "Earth").
        >         > 
        >         > I have tested this plugin only on two configurations, there
        >         might be
        >         > some glitches (as always...)
        >         > 
        >         > Cheers
        >         > Matej 
        >         > ----------
        >         > www.inpage.sk Domena, webhosting, e-mail a seo od 3
        >         Sk/denne. 
        > 
        > ----------
        > www.inpage.sk Domena, webhosting, e-mail a seo od 3 Sk/denne.
----------

www.inPage.sk ��� Domena, webhosting, e-mail a seo od 3 Sk/denne.

Reply via email to