search for add-on
#1
hi, is there a grep-able way to search each repository for a specific add-on ?

kinda' like on fedora:
Code:
[schneidz@hyper temp]$ yum search office
Loaded plugins: refresh-packagekit
fedora                                                                                                          | 4.3 kB     00:00    
fedora/primary_db                                                                                               |  13 MB     00:05    
fedora-chromium                                                                                                 | 3.0 kB     00:00    
rpmfusion-free                                                                                                  | 2.8 kB     00:00    
rpmfusion-free-updates                                                                                          | 3.3 kB     00:00    
rpmfusion-nonfree                                                                                               | 2.8 kB     00:00    
rpmfusion-nonfree-updates                                                                                       | 3.3 kB     00:00    
updates                                                                                                         | 4.7 kB     00:00    
=========================================================== Matched: office ===========================================================
broffice.org-brand.x86_64 : Core brand for BrOffice.org
openoffice.org-brand.x86_64 : Core brand for OpenOffice.org
broffice.org-calc.x86_64 : BrOffice.org Spreadsheet Application
openoffice.org-calc.x86_64 : OpenOffice.org Spreadsheet Application
openoffice.org-draw.x86_64 : OpenOffice.org Drawing Application
openoffice.org-impress.x86_64 : OpenOffice.org Presentation Application
openoffice.org-math.x86_64 : OpenOffice.org Equation Editor Application
openoffice.org-writer.x86_64 : OpenOffice.org Word Processor Application
broffice.org-base.x86_64 : Database frontend for BrOffice.org
openoffice.org-base.x86_64 : Database frontend for OpenOffice.org
koffice-core.x86_64 : Core support files for koffice
koffice-devel.i686 : Libraries needed for koffice development
koffice-devel.x86_64 : Libraries needed for koffice development
koffice-filters.i686 : Import and Export Filters for KOffice
...
so if i were looking for add-ons that showed movie trailers or an add-on that plays clips from espn... i could put that search term in a box somewhere and it will tell me what repo has that add-on ?
Reply
#2
Code:
curl http://mirrors.xbmc.org/addons/dharma/addons.xml | grep Blah

will search the official repository. Other repositories can be searched in the same way but you need to know the URL. The URLs are all in the database somewhere, or you can do as I did and force a repository refresh then look in xbmc.log to see what the URL was. As far as io know there is no simple search system.

JR
Reply
#3
^ thanks... perhaps an add-on that can perform this search will be cool. i just got started with python and xbmc scripts so i'll see where i can go with rolling another add-on of my own.

edit:
i shouldve asked this first:
Code:
[schneidz@hyper temp]$ curl http://mirrors.xbmc.org/addons/dharma/addons.xml | grep -i "movie trailers"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  325k    0  1130    0     0   5095      0  0:01:05 --:--:--  0:01:05 11649</addon><addon id="plugin.video.yahoo.trailershd" name="Yahoo Movie Trailers" provider-name="EbiL" version="1.0.0">
        <summary lang="en">Yahoo Movie Trailers</summary>
        <description lang="en">This XBMC plugin enables you to watch HD (1080, 720, 480) videos from Yahoo Movie Trailers. Includes "Opening this week" "Top Box Office" "Coming soon" categories. In addition, respective [color=Red]showtimes for each title in your area[/color].</description>
    <description lang="en">Download Movie Trailers from www.hd-trailers.net</description>
    <summary>Trailer Addict: Your Daily Dose of Hi-Res Movie Trailers</summary>
    <description>Watch movie trailers for upcoming, new and classic films.</description>
        <summary lang="en">Watch current movie trailers from PreviewNetworks.</summary>
        <description lang="en">Watch movie trailers from http://www.previewnetworks.com/.[CR][CR] Set your country in "option" for select your area.</description>
100  325k  100  325k    0     0   327k      0 --:--:-- --:--:-- --:--:--  374k
before i wasted time making my own movie showtimes add-on:
http://hyper.homeftp.net/xbmc/

but at least i got the experience of making an add-on.
Reply

Logout Mark Read Team Forum Stats Members Help
search for add-on0