GithubHelp home page GithubHelp logo

sahib / glyr Goto Github PK

View Code? Open in Web Editor NEW
245.0 245.0 23.0 7.41 MB

Glyr is a music related metadata searchengine, both with commandline interface and C API

License: GNU Lesser General Public License v3.0

CMake 1.65% C 91.17% Shell 0.10% Python 6.88% C++ 0.14% Dockerfile 0.06%

glyr's People

Contributors

bugdone avatar danyspin97 avatar domdorn avatar emillon avatar fcoelho avatar fgielow avatar recursive-rat4 avatar rwstauner avatar sahib avatar serztle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glyr's Issues

discogs fails to fetch covers

When trying to fetch a cover, discogs returns a 401 error:

% glyrc cover --from discogs --album oomph --artist oomph -v 4

  • Artist : oomph
  • Album : oomph
  • Language : fr
  • Type : cover

---- Triggering: discogs

  • Trying 70.103.226.21...

  • Connected to api.discogs.com (70.103.226.21) port 80 (#0)

    GET /database/search?type=release&q=oomph HTTP/1.1
    Host: api.discogs.com
    User-Agent: libglyr/1.0-6 (Raving Raven) +https://www.github.com/sahib/glyr
    Accept: /
    Accept-Encoding: gzip

  • The requested URL returned error: 401 Unauthorized

  • Closing connection 0

  • glyr: Downloaderror: HTTP response code said error [errno:22]
    On URL: http://api.discogs.com/database/search?type=release&q=oomph

Python bindings

There are already ruby bindings for glyr. It would be awesome to have python bindings as well.

cache select always prints to STDERR

$ glyrc cache select lyrics -a "artist" -t "title" -w stdout --cache $HOME/.cache/glyrc 1>/dev/null

This prints data to STDERR.

$ glyrc cache select lyrics -a "artist" -t "title" -w stdout --cache $HOME/.cache/glyrc 1>/dev/null 2>&1

This prints nothing.

Seems to be because the cache query uses glyr_cache_print(), which doesn't get passed the output_path, and doesn't pass it on down.

As a result, cache queries don't obey -w/--write, while the lyrics getter does.

Deleting an entry from the cache is extreemly slow

time glyrc cover --drop -c ~/.cache/gmpc/metadata/ -a "Jon Lord" -b "Jon Lord blues project - Live"; time glyrc cover -c ~/.cache/gmpc/metadata/ -f "local:-all" -a "Jon Lord" -b "Jon Lord blues project - Live"
Deleted 1 item from cache.

real 0m11.167s
user 0m10.980s
sys 0m0.170s

  • Artist : Jon Lord
  • Album : Jon Lord blues project - Live
  • Language : us
  • Type : cover

---- Triggering: local

=> 0 item(s) in total.

real 0m0.012s
user 0m0.000s
sys 0m0.010s

Need some/more exit codes

My usecase:

% glyrc cover -a "Владимир Высоцкий" -b "Чёрные бушлаты"
- Artist   : владимир высоцкий
- Album    : чёрные бушлаты
- Language : ru
- Type     : cover

---- Triggering: musictree local coverartarchive 
---- Triggering: lastfm jamendo musicbrainz 
---- Triggering: slothradio lyricswiki discogs 
---- Triggering: rhapsody picsearch google 
% echo $?                                                       
0

I see, I don't get a cover. 'exit 0' looks fine, but not in the case.

glyr stable tarball

Please provide a tarball with stable version of glyr.
This is important for packages maintainers of various distributions.

Another typo

Several instances of "commnandline" remain. Sorry! Thanks for fixing all the other typos so fast.

Version 1.0.6. Compilation error.

Compilation error in openSUSE:

 cd /home/abuild/rpmbuild/BUILD/glyr-1.0.6/build/lib && /var/lib/build/ccache/bin/cc  -Dglyr_EXPORTS -std=gnu99 -Wall -Wextra -Wstrict-prototypes -W -Wno-unused-parameter -Wno-strict-prototypes -fvisibility=hidden -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_GNU_SOURCE  -O3 -DNDEBUG -fPIC -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -o CMakeFiles/glyr.dir/core.c.o   -c /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/core.c
 In file included from /usr/include/glib-2.0/glib.h:95:0,
                  from /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/glyr.c:21:
 /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/glyr.c: In function 'guess_language':
 /usr/include/glib-2.0/glib/gversion.h:51:35: error: missing expression between '(' and ')'
        GLIB_MICRO_VERSION >= (micro)))
                                    ^
 /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/glyr.c:113:5: note: in expansion of macro 'GLIB_CHECK_VERSION'
  #if GLIB_CHECK_VERSION(2, 8, )
      ^
 /usr/include/glib-2.0/glib/gversion.h:51:35: error: missing expression between '(' and ')'
        GLIB_MICRO_VERSION >= (micro)))
                                    ^
 /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/glyr.c:148:7: note: in expansion of macro 'GLIB_CHECK_VERSION'
  #elif GLIB_CHECK_VERSION(2, 6, )
        ^
 lib/CMakeFiles/glyr.dir/build.make:54: recipe for target 'lib/CMakeFiles/glyr.dir/glyr.c.o' failed
 make[2]: *** [lib/CMakeFiles/glyr.dir/glyr.c.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 In file included from /usr/include/glib-2.0/glib.h:95:0,
                  from /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/stringlib.h:25,
                  from /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/core.c:24:
 /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/core.c: In function 'glist_free_full':
 /usr/include/glib-2.0/glib/gversion.h:51:35: error: missing expression between '(' and ')'
        GLIB_MICRO_VERSION >= (micro)))
                                    ^
 /home/abuild/rpmbuild/BUILD/glyr-1.0.6/lib/core.c:1555:5: note: in expansion of macro 'GLIB_CHECK_VERSION'
  #if GLIB_CHECK_VERSION(2, 8, )
      ^
 lib/CMakeFiles/glyr.dir/build.make:77: recipe for target 'lib/CMakeFiles/glyr.dir/core.c.o' failed
 make[2]: *** [lib/CMakeFiles/glyr.dir/core.c.o] Error 1
 make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/glyr-1.0.6/build'
 CMakeFiles/Makefile2:137: recipe for target 'lib/CMakeFiles/glyr.dir/all' failed
 make[1]: *** [lib/CMakeFiles/glyr.dir/all] Error 2
 make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/glyr-1.0.6/build'
 Makefile:117: recipe for target 'all' failed
 make: *** [all] Error 2

Can you help. please?

Crash when grabbing image from discogs

Backtrace:

---- Triggering: singerpictures 
[New Thread 0x7fffd6e47700 (LWP 3356)]
[Thread 0x7fffd6e47700 (LWP 3356) exited]
- glyr: Downloaderror: HTTP response code said error [errno:22]
  On URL: http://www.singerpictures.com/elmore-james-pictures.html
---- Triggering: discogs 
[New Thread 0x7fffd6e47700 (LWP 3358)]
[Thread 0x7fffd6e47700 (LWP 3358) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe398a700 (LWP 3315)]
0x00007ffff3ae0b4a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff3ae0b4a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff5446d9e in memmove (__len=<optimized out>, __src=<optimized out>, __dest=0x7fffdc0271c2) at /usr/include/x86_64-linux-gnu/bits/string3.h:57
#2  transform_url (s=0x7fffdc0116a0, url=0x7fffdc026d50 "http://s.pixogs.com/images/default-release.png") at /tmp/buildd/glyr-1.0.2/lib/intern/photos/discogs.c:84
#3  photos_discogs_parse (capo=0x7fffdc0116a0) at /tmp/buildd/glyr-1.0.2/lib/intern/photos/discogs.c:126
#4  0x00007ffff543b625 in call_provider_callback (capo=0x7fffdc0116a0, userptr=userptr@entry=0xd46240, stop_download=stop_download@entry=0x7fffe3989747, 
    to_add=to_add@entry=0x7fffe3989754) at /tmp/buildd/glyr-1.0.2/lib/core.c:1288
#5  0x00007ffff543ad5f in async_download (url_list=<optimized out>, endmark_list=<optimized out>, s=s@entry=0x7fffe3989ad0, parallel_fac=<optimized out>, 
    timeout_fac=<optimized out>, asdl_callback=asdl_callback@entry=0x7ffff543b5d0 <call_provider_callback>, userptr=0xd46240, free_caches=free_caches@entry=1)
    at /tmp/buildd/glyr-1.0.2/lib/core.c:884
#6  0x00007ffff543c23c in execute_query (fetcher=<optimized out>, result_list=0x7fffe39899e0, stop_me=0x7fffe39899dc, source_list=<optimized out>, 
    query=0x7fffe3989ad0) at /tmp/buildd/glyr-1.0.2/lib/core.c:1616
#7  start_engine (query=query@entry=0x7fffe3989ad0, fetcher=<optimized out>, err=err@entry=0x7fffe3989ac0) at /tmp/buildd/glyr-1.0.2/lib/core.c:1710
#8  0x00007ffff54390a3 in glyr_get (query=0x7fffe3989ad0, e=0x7fffe3989ac0, length=0x0) at /tmp/buildd/glyr-1.0.2/lib/glyr.c:929
#9  0x0000000000485704 in ?? ()
#10 0x0000000000000000 in ?? ()

Unable to query local db from commandline tool

glyrc cover -D -c ~/.cache/gmpc/metadata/ -v 4 -a "Jon Lord" -b "Jon Lord blues project - Live" -f "local"

  • Artist : Jon Lord
  • Album : Jon Lord blues project - Live
  • Language : us
  • Type : cover

---- Triggering: local

=> 0 item(s) in total.

while I am sure it is in there..
I need to query the local db to verify the correct working, if this is possible it would be very nice.

can not find libglyr.so.1 after "make install"

On ubuntu, I build from top of git repo. But, it can not find libglyr.so.1. I use the following step to cmake and install glyr:

$ cd glyr.git
$ mkdir build && cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/home/leon/bin/glyr-git/ ../
$ make
$ make install

It failed to find libglyr.so.1

$ ldd ~/bin/glyr-git/bin/glyrc
linux-vdso.so.1 => (0x00007ffff47b7000)
libglyr.so.1 => not found
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f6b584e8000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6b58147000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6b57f0b000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6b57d02000)
/lib64/ld-linux-x86-64.so.2 (0x00007f6b58811000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6b57ae5000)

$ ~/bin/glyr-git/bin/glyrc
/home/leon/bin/glyr-git/bin/glyrc: error while loading shared libraries: libglyr.so.1: cannot open shared object file: No such file or directory

Wrong lyrics for some songs

Try for example:

glyrc lyrics -a "Finntroll" -t "I Trädens Sang"

Output:

Lad' dir den Song kostenlos runter!

Mit der Napster Musikflatrate exklusiv bei magistrix für 30 Tage kostenlos!

This doesn't seem to be a lyrics for this song..

Local cache is dodgy at best.

The local cache does not seem to work as it should. This happens on my main develop pc. (ubuntu 11.04).
I open gmpc, let it get all metadata, close it. open it again, then it refetches large parts.:

Also if I let gmpc insert an entry in the db, it will not find that, and requery it. This is driving me absolutely nuts and makes developing in gmpc/glyr almost impossible atm.

gmpc: could not connect to socket
gmpc: No such file or directory
-:1: error: invalid string constant "dark", expected valid string constant
open glyr db: /home/qball/.cache/gmpc/metadata
db: 0x1507900
playlist3 zoom level changed

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Tracks And Lines
  • Language : us
  • Type : artistphoto

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Tracks And Lines
  • Language : us
  • Type : cover
  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
    ---- Triggering: local
  • Title : Tracks And Lines
  • Language : us
  • Type : artistphoto

---- Triggering: musictree local lastfm singerpictures

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : backdrops

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : lyrics

---- Triggering: local
Try querying cache
cache: (nil)
start query
Try querying cache
new style query
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Tracks And Lines
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : artistphoto

---- Triggering: local
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : artistphoto

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : 24 Nights
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Apartment Jam
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : A Tribute to Stevie Ray Vaughan
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : August
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Blood Brother
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Bradley Center, Milwaukee
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : From the Cradle
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Just One Night
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Knockin' On Heaven's Door
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : Madison Square Garden, New York City, New York
  • Language : us
  • Type : cover

---- Triggering: local

  • Artist : Clapton, Eric
  • Album : One More Car, One More Rider
  • Language : us
  • Type : cover

---- Triggering: local
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query
Try querying cache
cache: (nil)
start query

  • glyr: Downloaderror: HTTP response code said error [errno:22]
    On URL: http://www.singerpictures.com/clapton-eric-pictures.html
    #[-2/01] DB lookup found 2 dupes
    ---- Triggering: discogs rhapsody picsearch flickr
    #[-6/01] DB lookup found 6 dupes
    ---- Triggering: google
    #[-2/01] DB lookup found 2 dupes
  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Tracks And Lines
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : backdrops

---- Triggering: musictree local htbackdrops

[-2/01] DB lookup found 2 dupes

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : lyrics

---- Triggering: musictree local lyricswiki lipwalk

[01/01] Checking encoding [.](-0 item%28s%29 less)

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Tracks And Lines
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : artistphoto

---- Triggering: musictree local lastfm singerpictures
Cache is Empty
new style query
glyr_return_queue: results
Provider: musictree
new style query
glyr_return_queue: results
Cache is Empty
new style query
glyr_return_queue: results
Provider: musictree
new style query
Provider: lyricswiki
new style query
Provider: musictree
new style query
glyr_return_queue: results
Provider: musictree
new style query
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results

  • glyr: Downloaderror: HTTP response code said error [errno:22]
    On URL: http://www.singerpictures.com/clapton-eric-pictures.html
    #[-2/01] DB lookup found 2 dupes
    ---- Triggering: discogs rhapsody picsearch flickr
    #[-6/01] DB lookup found 6 dupes
    ---- Triggering: google
    #[-2/01] DB lookup found 2 dupes
  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart
--- Inserted 1 item into db.

  • Artist : Clapton, Eric
  • Album : Rush: Music From The Motion Picture Soundtrack
  • Title : Help Me Up
  • Language : us
  • Type : artistphoto

---- Triggering: musictree local lastfm singerpictures

  • glyr: Downloaderror: HTTP response code said error [errno:22]
    On URL: http://www.singerpictures.com/clapton-eric-pictures.html
    #[-2/01] DB lookup found 2 dupes
    ---- Triggering: discogs rhapsody picsearch flickr
    Cache is Empty
    new style query
    glyr_return_queue: results
    Provider: musictree
    new style query
    glyr_return_queue: results
    #[-6/01] DB lookup found 6 dupes
    ---- Triggering: google
    #[-2/01] DB lookup found 2 dupes
  • Artist : Clapton, Eric
  • Album : 24 Nights
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : Apartment Jam
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : A Tribute to Stevie Ray Vaughan
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : August
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : Blood Brother
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : Bradley Center, Milwaukee
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : From the Cradle
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : Just One Night
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : Knockin' On Heaven's Door
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : Madison Square Garden, New York City, New York
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart

  • Artist : Clapton, Eric
  • Album : One More Car, One More Rider
  • Language : us
  • Type : cover

---- Triggering: musictree local lastfm albumart
Cache is Empty
new style query
glyr_return_queue: results
Provider: lastfm
new style query
glyr_return_queue: results
Provider: google
new style query
Provider: albumart
new style query
Provider: lastfm
new style query
Provider: albumart
new style query
Provider: google
new style query
glyr_return_queue: results
Provider: lastfm
new style query
Provider: albumart
new style query
Provider: albumart
new style query
Provider: albumart
new style query
glyr_return_queue: results
Provider: lastfm
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
glyr_return_queue: results
Quitting....Waiting for glyr to finish.....

exact album version needed to retrieve lyrics

Hi. This is an enhancement request.

I have a song with the following information:
Artist: Bobby McFerrin
Title: Don't Worry Be Happy
Album: Film Hits, Volume 2: Original Soundtrack Hits (disc 1)

The lyrics are available at least on this provider
http://www.metrolyrics.com/dont-worry-be-happy-lyrics-bobby-mcferrin.html

I suspect the album doesn't match the value on the provider so it doesn't return anything. If that is the case, in case all providers return nothing, maybe it's worth trying not passing the album.

Thank you

truncated lyrics from magistrix

Version: git master

$ glyrc lyrics -f magistrix -a 'Queen' -t 'We Will Rock You'
- Artist   : queen
- Title    : we will rock you
- Language : ru
- Type     : lyrics

---- Triggering: magistrix 
---- 

///// ITEM #1 /////
WRITE to './Queen__We Will Rock You_lyrics_1.txt'
FROM: <www.magistrix.de/lyrics/Queen/We-Will-Rock-You-3836.html>
PROV: magistrix
SIZE: 35 Bytes
MSUM: 075d47934262251c9c98769446d10a9b
TYPE: songtext
SAFE: No
RATE: 0
STMP: 0,000000
DATA: 
We Will Rock You Songtext
Buddy you

////////////////////
# => 1 item in total.

glyrc uses wrong image url from slothradio

I am getting totally wrong cover images when downloading from slothradio.
glyr release 1.0.8
Please try:
glyrc cover --album "thriller" --artist "michael jackson" --from "slothradio" -lang us -v 4

gets
---- Triggering: slothradio

GET /covers/?adv=1&artist=michael jackson&album=thriller&imgsize=x&locale=us&sort=salesrank HTTP/1.1

and actually fetches some lullaby CD cover :-)
///// ITEM #1 /////
WRITE to './michael jackson_thriller__cover_1.jpeg'
FROM: http://ecx.images-amazon.com/images/I/51fT-bSQplL.jpg

when I enter this url directly in my browser I see the correct image:
slothradio.com/covers/?adv=1&artist=michael jackson&album=thriller&imgsize=x&locale=us&sort=salesrank

The error is not specific to this CD, I always get wrong covers from slothradio.

How to query for tags?

Hi,

Thanks for glyr. I'm trying to use it for fetching missing tags, but it doesn't seem to work. If I search for lyrics like this

glyrc lyrics --artist "Godsmack" --title "Greed"

it works, but same query doesn't work for tags:

$ glyrc tags --artist "Godsmack" --title "Greed"
- Artist   : godsmack
- Title    : greed
- Language : us
- Type     : tags
---- Triggering: musictree local musicbrainz 

Any ideas on what I'm doing wrong and why it doesn't work?

I'm using version built from current master (1255fd2).

Thanks.

Prefer local provider by default

It seems that the local provider ends up being checked second:

$ glyrc lyrics -a "Joao Gilberto" -t "garota de ipanema" -w stdout --timeout 3 --cache $HOME/.cache/glyrc 
- Artist   : joao gilberto
- Title    : garota de ipanema
- Language : us
- Type     : lyrics

---- Triggering: musictree 
---- Triggering: local 
Olha que coisa mais linda,

It should check the cache first instead of after musictree.

parameter --minsize not working as expected

I hope I am using this parameter right. As I understand it, if I want images of at least 300x200 pixels size, I would specify --minsize 300. Correct?

When I try
glyrc cover --album "absolutely" --artist "abc" --lang us --minsize 300
I only get a smaller picture.

Trying
glyrc cover --album "absolutely" --artist "abc" --lang us --minsize 300 -n 10
I get several pictures, some of them large enought.

Am I missing something?

glyr doesn't fetch lyrics

I can't fetch lyrics using the Pragha player and using glyrc.

How to reproduce:

% glyrc -V
Version 1.0.2 (Raving Raven) compiled for openSUSE

libglyr is licensed under the terms of the GPLv3.
Please refer to the COPYING file you received with glyr.

Email bugs to <[email protected]> or use the bugtracker
at https://github.com/sahib/glyr/issues - Thank you!

% glyrc lyrics -a accept -b "Restless and Wild" -t "Princess of the Dawn"
- Artist   : accept
- Album    : restless and wild
- Title    : princess of the dawn
- Language : ru
- Type     : lyrics

---- Triggering: musictree 
---- Triggering: local 
---- Triggering: lyricswiki 
---- 

///// ITEM #1 /////
WRITE to './accept_Restless and Wild_Princess of the Dawn_lyrics_1.txt'
FROM: <http://lyrics.wikia.com/Accept:Princess_Of_The_Dawn>
PROV: lyricswiki
SIZE: 476 Bytes
MSUM: 55ea9185c7b42738175ecdb7078d3cd7
TYPE: songtext
SAFE: No
RATE: 0
STMP: 0,000000
DATA: 
iTunes: buy Princess Of The Dawn
Amazon: search for... Accept • Restless And Wild • buy Princess Of The Dawn
Hype Machine: search for... Accept • Princess Of The Dawn
Last.fm: search for... Accept • Restless And Wild • Princess Of The Dawn
Pandora: search for... Accept • Princess Of The Dawn Wikipedia: search for... Accept • Restless And Wild • Princess Of The Dawn GoEar: Princess Of The Dawn allmusic: Princess Of The Dawn MusicBrainz: Princess Of The Dawn

////////////////////
# => 1 item in total.

However, the "FROM" link http://lyrics.wikia.com/Accept:Princess_Of_The_Dawn contains the lyrics.

Feature request: glyrc working without -a option

It would be nice for glyrc to work without -a option or other similar solution.

I wrote a simple shell script to fetch lyrics for cmus, it takes artist/title arguments from cmus-remote -Q but what if you are listening a cover?
Eg, for "Crossroads guitar festival 2013", the artist tag reported from cmus-remote -Q is
tag artist Gregg Allman, Warren Haynes & Derek Trucks
so
glyrc lyrics -a "Gregg Allman, Warren Haynes & Derek Trucks" -t "the needle and the damage done" fails.

add support for video content?

Hi there (und Grüße aus FfM),

I'm pretty happy with how glyr's working, thanks for that. Unfortunately, I haven't yet found a tool which can reliably do the same for video (movies, tvshows) as glyr is doing for music. Thus I'd like to ask if you'd be interested extending glyr to a (pretty much) one stop solution for both audio & video?

So specify f.e. "--type={show,movie}" and then selectively get things like original title, airdate, plot, etc. from tvdb, imdb, etc.

Thanks for consideration(alternatively I'm happy with some links to other projects, too, of course).

Compilation error: config.h missing

After recent commits I have compilation error:

[ 4%] Building C object lib/CMakeFiles/glyr.dir/cache.c.o
In file included from /home/abuild/rpmbuild/BUILD/glyr-0.9.1+git.1328288896/lib/core.h:24:0,
from /home/abuild/rpmbuild/BUILD/glyr-0.9.1+git.1328288896/lib/cache_intern.c:20:
/home/abuild/rpmbuild/BUILD/glyr-0.9.1+git.1328288896/lib/types.h:40:20: fatal error: config.h: No such file or directory
compilation terminated.

Full log:
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=glyr&project=home%3ALazy_Kent&repository=openSUSE_12.1

Compilation fails on Fedora 20

Trying to compile on Fedora 20, but errors in make prevents me. Any suggestions?

Cmake runs with warnings:
$ cmake .
-- Building Target: release
-- Configuring done
WARNING: Target "glyr" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "async_queue" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "glyr" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "clean_db" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "dbcache" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "example" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "exit_signal" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "getinfo" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "glyrc" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "guess_lang" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "musictree" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "ping_url" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "rating" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "simple" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
WARNING: Target "threads" requests linking to directory "/usr/lib64". Targets may link only to libraries. CMake is dropping the item.
-- Generating done
-- Build files have been written to: /home/kennethbrun/musiclib/glyr/sahib-glyr-c3c6ed5

Make does not complete (this is not first make run):

$ make
[ 82%] Built target glyr
Linking C executable ../bin/async_queue
../bin/libglyr.so.1.1.0: undefined reference to curl_easy_escape' ../bin/libglyr.so.1.1.0: undefined reference tocurl_free'
../bin/libglyr.so.1.1.0: undefined reference to curl_multi_fdset' ../bin/libglyr.so.1.1.0: undefined reference tocurl_global_cleanup'
../bin/libglyr.so.1.1.0: undefined reference to curl_easy_getinfo' ../bin/libglyr.so.1.1.0: undefined reference tocurl_easy_perform'
../bin/libglyr.so.1.1.0: undefined reference to curl_multi_info_read' ../bin/libglyr.so.1.1.0: undefined reference tocurl_multi_remove_handle'
../bin/libglyr.so.1.1.0: undefined reference to curl_multi_init' ../bin/libglyr.so.1.1.0: undefined reference tocurl_multi_add_handle'
../bin/libglyr.so.1.1.0: undefined reference to curl_multi_perform' ../bin/libglyr.so.1.1.0: undefined reference tocurl_multi_setopt'
../bin/libglyr.so.1.1.0: undefined reference to curl_global_init' ../bin/libglyr.so.1.1.0: undefined reference tocurl_easy_init'
../bin/libglyr.so.1.1.0: undefined reference to curl_easy_strerror' ../bin/libglyr.so.1.1.0: undefined reference tocurl_multi_cleanup'
../bin/libglyr.so.1.1.0: undefined reference to curl_multi_timeout' ../bin/libglyr.so.1.1.0: undefined reference tocurl_easy_setopt'
../bin/libglyr.so.1.1.0: undefined reference to `curl_easy_cleanup'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/async_queue] Error 1
make[1]: *** [src/CMakeFiles/async_queue.dir/all] Error 2
make: *** [all] Error 2

Replace getopt_long_only with getopt_long and #include <execinfo.h> is somehow dragged in on BSD systems?

A friend of mine was trying to package this for pkgsrc on their NetBSD machine and two issues cropped up:

  • Since getopt_long_only is used instead of getopt_long, they had to edit this out in order to proceed further into the build.
  • For some reason, execinfo.h is dragged into the buildpath even though the person's system isn't Windows. I don't know how to modify the file to recognize that what's compiling really is windows. Commenting out the call to print_trace() somehow fixes this, even though execinfo.h was pulled in due to this weirdness.

Their modified glyr / src / glyrc / glyrc.c: http://pastebin.ca/2158525
If it's possible to make BSD specific changes to compiling, that'd be grand. Otherwise I think this would have to be a patch for it to compile under *BSD systems.

pkg-config file is incorrect

After fixing item #3, the pkg-config file showed the wrong thing:

What gets installed in the pkg-config file:
Libs: -L/home/avuton/src/mpd-release-utils/build-dir/lib -lglyr

What I expected:
Libs: -L/home/avuton/src/mpd-release-utils/build-dir/lib -lglyr-1

Otherwise, gmpc-build will fail.

Timeout seems ignored

I just ran a query with ---timeout 3 that used these providers:

---- Triggering: musictree 
---- Triggering: local 
---- Triggering: lyricswiki 
---- Triggering: vagalume 
---- Triggering: lipwalk 
---- Triggering: lyrdb 
---- Triggering: elyrics 
---- Triggering: lyricstime 
---- Triggering: chartlyrics 
---- Triggering: lyrix 

Some of them took much longer than 3 seconds.

media-libs/glyr-9999 gentoo ebuild needs an update

Hi.

I tried to update glyr this morning with the -git version, using the mpd overlay, and portage could not finish due to this error:
"install: cannot stat `TODO': No such file or directory
!!! dodoc: TODO does not exist".

P.S. : Don't know if it's the right place to post that, please let me know if it's not.

Duplicate options in glyrc

Some short options are duplicates:

-f --from String: Providers from where to get metadata.
-f --fuzzyness Integer: Set treshold for level of Levenshtein algorithm.

-t --lang String: Language settings.
-t --title String: Songname to search for

-u --useragent String: The useragent to use during HTTP requests
-u --update Updates libglyr if new version is available.

Include libraries at /opt/local/lib on OSX?

Using OSX and Macports, how can I instruct the build to use /opt/local/lib and /opt/local/include?
Tried adding INCLUDE_DIRECTORIES(/opt/local/lib /opt/local/include) in CMakeLists.txt, compilation reaches 82% but fails:

$ cmake . -DCMAKE_INSTALL_PREFIX=/opt/local
...
$ make
...
[ 78%] Building C object lib/CMakeFiles/glyr.dir/intern/photos/picsearch.c.o
[ 79%] Building C object lib/CMakeFiles/glyr.dir/intern/photos/bbcmusic.c.o
[ 80%] Building C object lib/CMakeFiles/glyr.dir/intern/guitartabs/guitaretab.c.o
[ 81%] Building C object lib/CMakeFiles/glyr.dir/intern/guitartabs/chordie_com.c.o
[ 82%] Building C object lib/CMakeFiles/glyr.dir/intern/backdrops/htbackdrops.c.o
Linking C shared library ../bin/libglyr.dylib
ld: library not found for -lgthread-2.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/libglyr.1.1.0.dylib] Error 1
make[1]: *** [lib/CMakeFiles/glyr.dir/all] Error 2
make: *** [all] Error 2```

I also receive this dev warning on cmake:

CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   glyr

This warning is for project developers.  Use -Wno-dev to suppress it.

Opening the database takes a long time.

Starting GMPC (that uses glyr) it blocks for little over 2.5 seconds on glyr_db_init.
(compile gmpc with --enable-timings to see timestamps during startup).

-rw-r--r-- 1 qball qball 62M 2011-11-13 11:51 /home/qball/.cache/gmpc/metadata/metadata.db

lipwalk returns non-utf8 results

lipwalk often returns non-utf8 and wrong language results. Also the output contains parts of xml code:

e.g.
Ella.html" title="Other Ella Lyrics">Ella

Ella es la luz en plena oscuridad,
comprend�a todo con solo mirar
Nunca quiso ponerle trabas a mi libertad
no me quiso calmar
solo quer�a amar.

A veces pienso en su mirada angelical
Y casi siempre sue�o volverla a besar.
Pero lo bueno llega y tambi�n se va
y as� la vi marchar
etc.

LastFM artist's bio not retrieving

I expect the API has changed for the LastFM artist bio. Manually looking at the web service call I only see a link to a wiki page, and no other bio text.

This is an issue for GMPC which restricts to language specific data, which only the lastfm source provides.

To reproduce:

apalmer@biiru ~ $ glyrc artistbio -o -a 'Elvis Presley'
- Artist   : elvis presley
- Language : us
- Type     : artistbio

---- Triggering: local lastfm 
apalmer@biiru ~ $ 

lib/stringlib.c, ctype(3) usage fixes

Hello Chris and the entire glyr community,
some days ago I updated the audio/glyr
package in pkgsrc. While there I saw that we have a
local and trivial patch that can be pushed upstream. Basically it just fixes the
ctype(3).

I will attach it here, if it can't be easily handled via GitHub issues I can
send you a private email containing it.

Thank you for the attention and for this great piece of software!
L.

------------------8<-------------------8<-------------------8<------------------
$NetBSD: patch-lib_stringlib.c,v 1.1 2014/09/11 06:45:45 dholland Exp $

Use <ctype.h> correctly.

--- lib/stringlib.c~ 2014-02-08 11:06:45.000000000 +0000
+++ lib/stringlib.c
@@ -927,8 +927,8 @@ static gchar * trim_in_text (gchar * str

     for (gsize it = 0; it < str_len; it++)
     {
  •        gboolean is_space = isspace (string[it]);
    
  •        gboolean is_lfeed = !isblank (string[it]) && is_space;
    
  •        gboolean is_space = isspace ((unsigned char)string[it]);
    
  •        gboolean is_lfeed = !isblank ((unsigned char)string[it]) && is_space;
    
         lfeed_ctr = (is_lfeed) ? lfeed_ctr + 1 : 0;
         space_ctr = (is_space) ? space_ctr + 1 : 0;
    

    @@ -1011,7 +1011,7 @@ void trim_copy (gchar *input, gchar *out
    gchar c;

    /* skip spaces at start */

  • while (input[0] && isspace (*input) )

  • while (input[0] && isspace ((unsigned char)*input) )
    {
    ++input;
    }
    @@ -1023,7 +1023,7 @@ void trim_copy (gchar *input, gchar *out
    c = * (output++) = * (input++);

 /* if its not a whitespace, this *could* be the last character */
  •    if ( !isspace (c) )
    
  •    if ( !isspace ((unsigned char)c) )
     {
         end = output;
     }
    

    @@ -1050,14 +1050,14 @@ gchar * trim_nocopy (gchar * s)
    gchar * end = NULL;

    /* skip spaces at start */

  • while (_start && isspace (_start) )

  • while (_start && isspace ((unsigned char)_start) )
    ++start;

/* iterate over the rest remebering last non-whitespace _/
char *i = start;
while (_i)
{

  •    if ( !isspace (\* (i++) ) )
    
  •    if ( !isspace ((unsigned char) \* (i++) ) )
         end = i;
    
    }

CMake Fails In Cygwin

I'm not sure if this is a cmake version issue or a Cygwin compatibility issue.

(Without -DCMAKE_LEGACY_CYGWIN_WIN32 you are warned also about WIN32 not being defined for Cygwin anymore, but both ways it fails at the same point)

$ cmake --version
cmake version 3.1.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ cmake -DCMAKE_LEGACY_CYGWIN_WIN32=1 -DCMAKE_INSTALL_PREFIX="$HOME" .
-- The C compiler identification is GNU 4.9.2
-- Defining WIN32 under Cygwin due to CMAKE_LEGACY_CYGWIN_WIN32
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /usr/bin/pkg-config.exe (found version "0.28")
-- Building Target: release
-- Found CURL: /usr/lib/libcurl.dll.a (found version "7.40.0")
-- checking for modules 'glib-2.0>=2.10;gthread-2.0'
--   found glib-2.0, version 2.42.1
--   found gthread-2.0, version 2.42.1
-- checking for module 'sqlite3'
--   found sqlite3, version 3.8.8.2
CMake Error at lib/CMakeLists.txt:33 (INSTALL):
  install Library TARGETS given no DESTINATION!


-- Configuring incomplete, errors occurred!
See also "/c/Users/bambams/src/glyr/CMakeFiles/CMakeOutput.log".

There don't appear to be any actual failures in CMakeOutput.log... At least, :set ic | /error has no matches and I don't see anything else that indicates failures...

[CMAKE] Cannot get glyr to cross compile.

Be forewarned, not a cmake guy. Actually very against it as it makes easy things hard to do and hard things impossible :).

I am trying to cross compile glyr git with my mpd-release-utils[1] tree for gmpc/win32.

  1. git://git.musicpd.org/avuton/mpd-release-utils.git

When trying to cross compile for win32 I get:

cmake -DCMAKE_RC_COMPILER=i586-mingw32msvc-windres -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i586-mingw32msvc-gcc -DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++ -DCMAKE_FIND_ROOT_PATH=/usr/i586-mingw32msvc -DCMAKE_INSTALL_PREFIX=/home/avuton/src/mpd-release-utils/build-dir CMakeLists.txt
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found CURL: /home/avuton/src/mpd-release-utils/build-dir/lib/libcurl.dll.a
-- checking for modules 'glib-2.0>=2.10;gthread-2.0'
-- found glib-2.0, version 2.28.8
-- found gthread-2.0, version 2.28.8
-- checking for module 'sqlite3'
-- found sqlite3, version 3.7.9
CMake Error at lib/CMakeLists.txt:32 (INSTALL):
install Library TARGETS given no DESTINATION!

So I did a little research and tried patching it with this:
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -29,4 +29,4 @@ INSTALL(FILES types.h DESTINATION ${INSTALL_INC_DIR}/glyr)
INSTALL(FILES cache.h DESTINATION ${INSTALL_INC_DIR}/glyr)
INSTALL(FILES config.h DESTINATION ${INSTALL_INC_DIR}/glyr)
INSTALL(FILES testing.h DESTINATION ${INSTALL_INC_DIR}/glyr)
-INSTALL(TARGETS glyr LIBRARY DESTINATION ${INSTALL_LIB_DIR})
+INSTALL(TARGETS glyr DESTINATION ${INSTALL_LIB_DIR})

And this was the result (now it obviously can't find ANY headers):
patching file lib/CMakeLists.txt
cmake -DCMAKE_RC_COMPILER=i586-mingw32msvc-windres -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=i586-mingw32msvc-gcc -DCMAKE_CXX_COMPILER=i586-mingw32msvc-g++ -DCMAKE_FIND_ROOT_PATH=/usr/i586-mingw32msvc -DCMAKE
INSTALL_PREFIX=/home/avuton/src/mpd-release-utils/build-dir CMakeLists.txt
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc
-- Check for working C compiler: /usr/bin/i586-mingw32msvc-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found CURL: /home/avuton/src/mpd-release-utils/build-dir/lib/libcurl.dll.a
-- checking for modules 'glib-2.0>=2.10;gthread-2.0'
-- found glib-2.0, version 2.28.8
-- found gthread-2.0, version 2.28.8
-- checking for module 'sqlite3'
-- found sqlite3, version 3.7.9
-- Configuring done
-- Generating done
-- Build files have been written to: /home/avuton/src/mpd-release-utils/src/glyr.git
make -j2
Scanning dependencies of target glyr
[ 2%] [ 2%] Building C object lib/CMakeFiles/glyr.dir/core.c.obj
Building C object lib/CMakeFiles/glyr.dir/glyr.c.obj
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:22:24: error: curl/multi.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/stringlib.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:25:21: error: sqlite3.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/stringlib.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:282: error: expected specifier-qualifier-list before ‘sqlite3’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:30:23: error: curl/curl.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:79: error: expected specifier-qualifier-list before ‘CURL’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:28:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/md5.h:57: error: expected ‘)’ before ‘
’ token
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:390: error: expected ‘)’ before ‘’ token
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘retrieve_content_info’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: ‘CURL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: (Each undeclared identifier is reported only once
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: for each function it appears in.)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: error: ‘eh’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:423: warning: implicit declaration of function ‘curl_easy_init’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:424: error: ‘CURLcode’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:424: error: expected ‘;’ before ‘rc’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:429: warning: implicit declaration of function ‘curl_easy_setopt’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:429: error: ‘CURLOPT_TIMEOUT’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:430: error: ‘CURLOPT_NOSIGNAL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:431: error: ‘CURLOPT_USERAGENT’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:432: error: ‘CURLOPT_URL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:433: error: ‘CURLOPT_FOLLOWLOCATION’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:434: error: ‘CURLOPT_MAXREDIRS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:435: error: ‘CURLOPT_HEADER’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:443: error: ‘CURLOPT_NOBODY’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:450: error: ‘CURLOPT_HEADERFUNCTION’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:451: error: ‘CURLOPT_WRITEFUNCTION’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:452: error: ‘CURLOPT_WRITEDATA’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:453: error: ‘CURLOPT_WRITEHEADER’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:456: warning: implicit declaration of function ‘DL_setproxy’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:461: error: ‘rc’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:461: warning: implicit declaration of function ‘curl_easy_perform’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:462: warning: implicit declaration of function ‘curl_easy_cleanup’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:464: error: ‘CURLE_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:468: warning: implicit declaration of function ‘curl_easy_strerror’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:25:21: error: sqlite3.h: No such file or directory
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: At top level:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:489: error: expected ‘)’ before ‘
’ token
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.h:24,
from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:24:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/types.h:282: error: expected specifier-qualifier-list before ‘sqlite3’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘download_single’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:630: error: ‘CURL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:630: error: ‘curl’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:631: error: ‘CURLcode’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:631: error: expected ‘;’ before ‘res’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:648: warning: implicit declaration of function ‘DL_setopt’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:651: error: ‘res’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:657: error: ‘CURLE_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:657: error: ‘CURLE_WRITE_ERROR’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: At top level:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:686: error: expected ‘)’ before ‘_’ token
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:718: error: expected declaration specifiers or ‘...’ before ‘CURLM’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘init_async_download’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:726: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:729: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:735: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:735: warning: implicit declaration of function ‘init_async_cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:735: error: ‘cmHandle’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: At top level:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:743: error: expected declaration specifiers or ‘...’ before ‘CURLM’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘destroy_async_download’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:746: warning: implicit declaration of function ‘curl_multi_cleanup’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:746: error: ‘cmHandle’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:753: error: ‘cb_object’ has no member named ‘handle’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:755: error: ‘cb_object’ has no member named ‘handle’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:761: error: ‘cb_object’ has no member named ‘was_buffered’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:762: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:764: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:765: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:768: error: ‘cb_object’ has no member named ‘dlbuffer’
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:30:23: error: curl/curl.h: No such file or directory
In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:25:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.h:79: error: expected specifier-qualifier-list before ‘CURL’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘async_download’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:792: error: ‘fd_set’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:792: error: expected ‘;’ before ‘ReadFDS’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:795: error: ‘CURLM’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:795: error: ‘cmHandle’ undeclared (first use in this function)In file included from /home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:28:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/md5.h:57: error: expected ‘)’ before ‘*’ token

/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:795: warning: implicit declaration of function ‘curl_multi_init’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:796: warning: implicit declaration of function ‘curl_multi_setopt’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:796: error: ‘CURLMOPT_MAXCONNECTS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:797: error: ‘CURLMOPT_PIPELINING’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:803: warning: passing argument 4 of ‘init_async_download’ makes integer from pointer without a cast
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:718: note: expected ‘int’ but argument is of type ‘struct GlyrQuery *’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:803: error: too many arguments to function ‘init_async_download’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:807: error: ‘CURLMcode’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:807: error: expected ‘;’ before ‘merr’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:808: error: ‘merr’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:808: error: ‘CURLM_CALL_MULTI_PERFORM’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:810: warning: implicit declaration of function ‘curl_multi_perform’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:812: error: ‘CURLM_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:821: warning: implicit declaration of function ‘FD_ZERO’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:821: error: ‘ReadFDS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:822: error: ‘WriteFDS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:823: error: ‘ErrorFDS’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:825: warning: implicit declaration of function ‘curl_multi_fdset’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:826: warning: implicit declaration of function ‘curl_multi_timeout’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:842: error: storage size of ‘Tmax’ isn’t known
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:847: warning: implicit declaration of function ‘select’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:842: warning: unused variable ‘Tmax’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:857: error: ‘CURLMsg’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:857: error: ‘msg’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:860: warning: implicit declaration of function ‘curl_multi_info_read’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:863: error: ‘CURLMSG_DONE’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:866: error: ‘CURL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:866: error: ‘easy_handle’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:871: warning: implicit declaration of function ‘curl_easy_getinfo’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:871: error: ‘CURLINFO_PRIVATE’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:874: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:874: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:876: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:877: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:878: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:882: error: ‘cb_object’ has no member named ‘was_buffered’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:885: error: ‘CURLE_OK’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:885: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:895: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:897: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:899: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:926: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:930: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:931: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:932: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:943: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:947: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:948: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:950: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:951: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:952: error: ‘cb_object’ has no member named ‘consumed’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:956: warning: implicit declaration of function ‘curl_multi_remove_handle’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:958: error: ‘cb_object’ has no member named ‘handle’

/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:967: error: too many arguments to function ‘destroy_async_download’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_query_destroy’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:569: warning: comparison between signed and unsigned integer expressions
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_init’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: warning: implicit declaration of function ‘curl_global_init’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: error: ‘CURL_GLOBAL_ALL’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: error: (Each undeclared identifier is reported only once
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:643: error: for each function it appears in.)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_cleanup’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:673: warning: implicit declaration of function ‘curl_global_cleanup’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘delete_already_cached_items’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1234: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1240: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1246: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1251: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘call_provider_callback’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1303: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1303: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1309: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1312: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1315: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1316: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1316: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1323: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1324: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1324: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1331: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1333: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1340: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1340: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1343: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1353: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1353: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1358: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1384: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1386: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1387: error: ‘cb_object’ has no member named ‘cache’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c: In function ‘execute_query’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/core.c:1594: error: ‘cb_object’ has no member named ‘s’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_get’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:743: warning: comparison between signed and unsigned integer expressions
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_cache_write’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:893: warning: implicit declaration of function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:893: warning: incompatible implicit declaration of built-in function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:893: error: ‘stdout’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:894: warning: implicit declaration of function ‘fputc’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:898: warning: incompatible implicit declaration of built-in function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:898: error: ‘stderr’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:903: error: ‘FILE’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:903: error: ‘fp’ undeclared (first use in this function)
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:903: warning: implicit declaration of function ‘fopen’make[2]:
*** [lib/CMakeFiles/glyr.dir/core.c.obj] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:908: warning: incompatible implicit declaration of built-in function ‘fwrite’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:910: warning: implicit declaration of function ‘fclose’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c: In function ‘glyr_cache_print’:
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:1056: warning: implicit declaration of function ‘MDPrintArr’
/home/avuton/src/mpd-release-utils/src/glyr.git/lib/glyr.c:1056: error: ‘stderr’ undeclared (first use in this function)
make[2]: *** [lib/CMakeFiles/glyr.dir/glyr.c.obj] Error 1
make[1]: *** [lib/CMakeFiles/glyr.dir/all] Error 2
make: *** [all] Error 2

Opening the db takes 2.5 seconds

timing information from gmpc:

0.022111:main: Setting up gmpc idle,signals and profiles
open glyr db: /home/qball/.cache/gmpc/metadata
db: 0x234d690
2.607881:main: Initializing metadata system

glyrc --help / -L text inconsistent with code re: musictree path

Running a glyrc -L produces the following for the musictree provider (partial output):

Following providers work with all types:
  # local     [l] (A local SQLite DB cache; see --cache)
  # musictree [t] (Gets items from your music directory (folder.jpg etc) --musictree-path)

In particular, it documents the path argument as --musictree-path. However, the actual argument, as seen @ glyrc.c line 358, is --musictree, or the short arg -s.

Neither -s nor --musictree is mentioned at all in glyrc --help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.