dirkvdb / lastfmlib Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/lastfmlib
License: GNU General Public License v2.0
Automatically exported from code.google.com/p/lastfmlib
License: GNU General Public License v2.0
I get an error when trying to compile lastfmlib under Tiger running on a
MacBook.
utils/condition.cpp: In member function 'bool utils::Condition::wait
(utils::Mutex&, int)':
utils/condition.cpp:35: error: 'CLOCK_REALTIME' was not declared in this
scope
utils/condition.cpp:35: error: 'clock_gettime' was not declared in this
scope
make[2]: *** [liblastfm_la-condition.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I've uploaded my config output and make output, incase that helps.
http://www.divshare.com/download/5324219-872
http://www.divshare.com/download/5324220-5c2
Original issue reported on code.google.com by [email protected]
on 7 Sep 2008 at 2:16
What steps will reproduce the problem?
1. Playing music (WMA in my case)
2.
3.
What is the expected output? What do you see instead?
Artist nd title parsed.
What version of the product are you using? On what operating system?
0.2.1 x86 Linux
Please provide any additional information below.
2009-06-20 10:58:29 INFO: Artist: (null)
2009-06-20 10:58:29 INFO: Title: (null)
2009-06-20 10:58:29 INFO: Artist: (null)
2009-06-20 10:58:29 INFO: Title: (null)
2009-06-20 10:58:29 INFO: Artist: (null)
2009-06-20 10:58:29 INFO: Title: (null)
2009-06-20 10:58:30 INFO: Artist: (null)
2009-06-20 10:58:30 INFO: Title: (null)
2009-06-20 10:58:30 INFO: Artist: (null)
2009-06-20 10:58:30 INFO: Title: (null)
2009-06-20 10:58:30 INFO: Artist: (null)
2009-06-20 10:58:30 INFO: Title: (null)
2009-06-20 10:58:30 INFO: Artist: (null)
2009-06-20 10:58:30 INFO: Title: (null)
2009-06-20 11:00:53 INFO: Artist: (null)
2009-06-20 11:00:53 INFO: Title: (null)
2009-06-20 11:00:54 INFO: Artist: (null)
2009-06-20 11:00:54 INFO: Title: (null)
2009-06-20 11:00:54 INFO: Artist: (null)
2009-06-20 11:00:54 INFO: Title: (null)
2009-06-20 11:00:55 INFO: Artist: (null)
2009-06-20 11:00:55 INFO: Title: (null)
2009-06-20 11:00:55 INFO: Artist: (null)
2009-06-20 11:00:55 INFO: Title: (null)
2009-06-20 11:00:55 INFO: Artist: (null)
2009-06-20 11:00:55 INFO: Title: (null)
2009-06-20 11:00:56 INFO: Artist: (null)
2009-06-20 11:00:56 INFO: Title: (null)
2009-06-20 11:03:17 INFO: Artist: (null)
2009-06-20 11:03:17 INFO: Title: (null)
2009-06-20 11:03:17 INFO: Artist: (null)
2009-06-20 11:03:17 INFO: Title: (null)
2009-06-20 11:03:18 INFO: Artist: (null)
2009-06-20 11:03:18 INFO: Title: (null)
2009-06-20 11:03:18 INFO: Artist: (null)
2009-06-20 11:03:18 INFO: Title: (null)
2009-06-20 11:03:18 INFO: Artist: (null)
2009-06-20 11:03:18 INFO: Title: (null)
2009-06-20 11:03:19 INFO: Artist: (null)
2009-06-20 11:03:19 INFO: Title: (null)
2009-06-20 11:03:19 INFO: Artist: (null)
2009-06-20 11:03:19 INFO: Title: (null)
2009-06-20 11:05:00 INFO: Artist: (null)
2009-06-20 11:05:00 INFO: Title: (null)
2009-06-20 11:05:00 INFO: Artist: (null)
2009-06-20 11:05:00 INFO: Title: (null)
2009-06-20 11:05:00 INFO: Artist: (null)
2009-06-20 11:05:00 INFO: Title: (null)
2009-06-20 11:05:01 INFO: Artist: (null)
2009-06-20 11:05:01 INFO: Title: (null)
2009-06-20 11:05:01 INFO: Artist: (null)
2009-06-20 11:05:01 INFO: Title: (null)
2009-06-20 11:05:01 INFO: Artist: (null)
2009-06-20 11:05:01 INFO: Title: (null)
2009-06-20 11:05:02 INFO: Artist: (null)
2009-06-20 11:05:02 INFO: Title: (null)
2009-06-20 11:07:22 INFO: Artist: (null)
2009-06-20 11:07:22 INFO: Title: (null)
2009-06-20 11:07:23 INFO: Artist: (null)
2009-06-20 11:07:23 INFO: Title: (null)
2009-06-20 11:07:23 INFO: Artist: (null)
2009-06-20 11:07:23 INFO: Title: (null)
2009-06-20 11:07:24 INFO: Artist: (null)
2009-06-20 11:07:24 INFO: Title: (null)
2009-06-20 11:07:24 INFO: Artist: (null)
2009-06-20 11:07:24 INFO: Title: (null)
2009-06-20 11:07:24 INFO: Artist: (null)
2009-06-20 11:07:24 INFO: Title: (null)
2009-06-20 11:07:24 INFO: Artist: (null)
2009-06-20 11:07:24 INFO: Title: (null)
2009-06-20 11:10:09 INFO: Artist: (null)
2009-06-20 11:10:09 INFO: Title: (null)
2009-06-20 11:10:09 INFO: Artist: (null)
2009-06-20 11:10:09 INFO: Title: (null)
2009-06-20 11:10:09 INFO: Artist: (null)
2009-06-20 11:10:09 INFO: Title: (null)
2009-06-20 11:10:10 INFO: Artist: (null)
2009-06-20 11:10:10 INFO: Title: (null)
2009-06-20 11:10:10 INFO: Artist: (null)
2009-06-20 11:10:10 INFO: Title: (null)
2009-06-20 11:10:10 INFO: Artist: (null)
2009-06-20 11:10:10 INFO: Title: (null)
2009-06-20 11:10:11 INFO: Artist: (null)
2009-06-20 11:10:11 INFO: Title: (null)
2009-06-20 11:11:56 INFO: Artist: (null)
2009-06-20 11:11:56 INFO: Title: (null)
2009-06-20 11:11:56 INFO: Artist: (null)
2009-06-20 11:11:56 INFO: Title: (null)
2009-06-20 11:11:57 INFO: Artist: (null)
2009-06-20 11:11:57 INFO: Title: (null)
2009-06-20 11:11:57 INFO: Artist: (null)
2009-06-20 11:11:57 INFO: Title: (null)
2009-06-20 11:11:57 INFO: Artist: (null)
2009-06-20 11:11:57 INFO: Title: (null)
2009-06-20 11:11:58 INFO: Artist: (null)
2009-06-20 11:11:58 INFO: Title: (null)
2009-06-20 11:11:58 INFO: Artist: (null)
2009-06-20 11:11:58 INFO: Title: (null)
2009-06-20 11:14:01 INFO: Artist: (null)
2009-06-20 11:14:01 INFO: Title: (null)
2009-06-20 11:14:02 INFO: Artist: (null)
2009-06-20 11:14:02 INFO: Title: (null)
2009-06-20 11:14:02 INFO: Artist: (null)
2009-06-20 11:14:02 INFO: Title: (null)
2009-06-20 11:14:03 INFO: Artist: (null)
2009-06-20 11:14:03 INFO: Title: (null)
2009-06-20 11:14:03 INFO: Artist: (null)
2009-06-20 11:14:03 INFO: Title: (null)
2009-06-20 11:14:03 INFO: Artist: (null)
2009-06-20 11:14:03 INFO: Title: (null)
2009-06-20 11:14:03 INFO: Artist: (null)
2009-06-20 11:14:03 INFO: Title: (null)
2009-06-20 11:15:16 INFO: Artist: (null)
2009-06-20 11:15:16 INFO: Title: (null)
2009-06-20 11:15:16 INFO: Artist: (null)
2009-06-20 11:15:16 INFO: Title: (null)
2009-06-20 11:15:16 INFO: Artist: (null)
2009-06-20 11:15:16 INFO: Title: (null)
2009-06-20 11:15:17 INFO: Artist: (null)
2009-06-20 11:15:17 INFO: Title: (null)
2009-06-20 11:15:17 INFO: Artist: (null)
2009-06-20 11:15:17 INFO: Title: (null)
2009-06-20 11:15:17 INFO: Artist: (null)
2009-06-20 11:15:17 INFO: Title: (null)
2009-06-20 11:15:18 INFO: Artist: (null)
2009-06-20 11:15:18 INFO: Title: (null)
Original issue reported on code.google.com by [email protected]
on 20 Jun 2009 at 10:17
What steps will reproduce the problem?
1) wget -c http://lastfmlib.googlecode.com/files/lastfmlib-0.4.0.tar.gz
2) tar zxvf lastfmlib-0.4.0.tar.gz
3) cd lastfmlib-0.4.0
4) ./configure --prefix=/usr/local --enable-logging
5) make
6) make install
All is fine through here...
7) wget -c http://lastfmlib.googlecode.com/svn/trunk/mediatomb.patch
8) svn co https://svn.mediatomb.cc/svnroot/mediatomb/trunk/mediatomb mediatomb
9) cd mediatomb
10) patch -p0 < ../mediatomb.patch
The output is:
user@host:~/mediatomb-0.12.1$ patch -p0 < ../mediatomb.patch
patching file src/config_manager.cc
Hunk #1 FAILED at 628.
Hunk #2 succeeded at 2217 (offset 210 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/config_manager.cc.rej
patching file src/server.cc
Hunk #1 succeeded at 41 with fuzz 1 (offset 4 lines).
Hunk #2 succeeded at 112 with fuzz 2 (offset 8 lines).
Hunk #3 succeeded at 350 (offset 8 lines).
patching file src/lastfm.h
patching file src/common.h
Hunk #1 succeeded at 375 with fuzz 2 (offset 23 lines).
patching file src/config_manager.h
Hunk #1 succeeded at 195 (offset 8 lines).
patching file src/file_request_handler.cc
Hunk #2 succeeded at 460 (offset 4 lines).
patching file src/lastfm.cc
patching file build/libmediatomb_src
Hunk #1 succeeded at 71 (offset 4 lines).
patching file build/Makefile.am
Hunk #1 FAILED at 27.
Hunk #2 FAILED at 54.
Hunk #3 FAILED at 93.
3 out of 3 hunks FAILED -- saving rejects to file build/Makefile.am.rej
patching file configure.ac
Hunk #1 succeeded at 1610 with fuzz 2 (offset 41 lines).
Hunk #2 FAILED at 1946.
1 out of 2 hunks FAILED -- saving rejects to file configure.ac.rej
11) autoreconf -i
12) ./configure --prefix=/usr/local --with-liblastfmlib-h=/usr/local/include
--with-liblastfmlib-libs=/usr/local
13) make
The Make ends in the following way:
../src/server.cc: In member function ‘virtual void Server::init()’:
../src/server.cc:117: error: ‘class LastFm’ has no member named
‘initialize’
../src/server.cc: In member function ‘virtual void Server::shutdown()’:
../src/server.cc:354: error: ‘class LastFm’ has no member named
‘destroy’
make[2]: *** [libmediatomb_a-server.o] Error 1
make[2]: Leaving directory `/home/tom/mediatomb-0.12.1/build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/mediatomb-0.12.1'
make: *** [all] Error 2
Attached Files:
src/config_manager.cc.rej has:
build/Makefile.am.rej
configure.ac.rej
What is the expected output? What do you see instead?
All HUNKs Successful
What version of the product are you using? On what operating system?
I have used mediatomb 0.12.0 and 0.12.1 all latest builds from svn to slightly
older builds.
ubuntu 9.10 & 10.04
Please provide any additional information below.
I have been reluctant to post here as I assumed this issue is on my end. I
have been unsuccessful to find this solution and anyone with the same issue.
Since I am new to the realm of patching/compiling, I could very well be missing
something. I have followed the following instructions:
http://wiki.flexion.org/InstallingMediaTomb012.html#1.0
Any guidance/direction is greatly appreciated.
Original issue reported on code.google.com by [email protected]
on 16 Jun 2010 at 2:48
Attachments:
Mediatomb At revision 2018.
LibLastFM AT Release 0.1.3
Running on a MacBook 10.4.11
I hadn't played any music for awhile via my PS3 untill yesterday.
I noticed no submissions going through to LastFM.
So I got a fresh Svn copy of Mediatomb and a fresh copy of LibLastFM.
Patched the code and compiled both with no problems.
But still no submissions, have lastfm changed something or does the patch
need updating?
I should point out it was working the last time I played any music via my
PS3, but can't remember what revision Mediatomb was then.
If you need any more info let me know.
Cheers.
Original issue reported on code.google.com by [email protected]
on 3 Feb 2009 at 9:53
1222115244 INFO : Authenticate thread started
1222115244 INFO : Authentication successfull for user: markgillespie
1222115244 INFO : Authenticate thread finished
1222207188 INFO : startedPlaying Midnight In Tokyo
1222207188 INFO : sendInfo thread started
1222207188 INFO : Won't submit
1222207188 INFO : sendInfo thread finished
1222207534 INFO : startedPlaying Hang 'Em High
1222207534 INFO : sendInfo thread started
1222207534 INFO : Track "Midnight In Tokyo" can be committed: conditions
OK
1222207535 ERROR : Failed to submit info: BADSESSION
1222207535 INFO : sendInfo thread finished
What is the expected output? What do you see instead?
submission
What version of the product are you using? On what operating system?
latest SVN, on Gentoo Linux.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 23 Sep 2008 at 10:44
What steps will reproduce the problem?
/
What is the expected output? What do you see instead?
Last.fm supports artist.getSimilar() http://www.last.fm/api/show?
service=119
Would allow to make a feature called 'dynamic playlist' where a user starts
a playlist with one song and lastfmlib will get a similar artist and then
the program using lastfmlib can queue a song from the similar artist.
What version of the product are you using? On what operating system?
0.3.0 / lunar linux
Original issue reported on code.google.com by [email protected]
on 25 Sep 2009 at 12:47
What steps will reproduce the problem?
1. Checkout current Mediatomb SVN (2018)
2. Patch with lastfmlib provided mediatomb.patch
3. Compile, build and execute.
What is the expected output?
Mediatomb should compile, build and execute.
What do you see instead?
Mediatomb compiles and builds, but segmentation faults on execution.
What version of the product are you using? On what operating system?
lastfmlib 0.1.3
mediatomb 0.12 (svn 2018)
Ubuntu Hardy 8.04 i386
Please provide any additional information below.
If I follow my Mediatomb build instructions and leave out the lastfmlib
patch, then Mediatomb 0.12 works perfectly. Sadly the when I patch for
lastfmlib support it seg faults. You can see all my steps documented here.
http://wiki.flexion.org/InstallingMediaTomb012.html
Original issue reported on code.google.com by flexiondotorg
on 2 Feb 2009 at 5:47
Sorry if its my fault again, but.....
I get the following error on compiling with the new patch.
It says "error: lastfm.h: No such file or directory" and I don't have that
file on my system but I do have a lastfmclient.h
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-action_request.o `test -f '../
src/action_request.cc' || echo './'`../src/action_request.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-atrailers_content_handler.o
`test -f '../src/atrailers_content_handler.cc' || echo './'`../src/
atrailers_content_handler.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-atrailers_service.o `test -f '../
src/atrailers_service.cc' || echo './'`../src/atrailers_service.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-autoscan.o `test -f '../src/
autoscan.cc' || echo './'`../src/autoscan.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-autoscan_inotify.o `test -f '../
src/autoscan_inotify.cc' || echo './'`../src/autoscan_inotify.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-buffered_io_handler.o `test -f
'../src/buffered_io_handler.cc' || echo './'`../src/buffered_io_handler.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-cached_url.o `test -f '../src/
cached_url.cc' || echo './'`../src/cached_url.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-cds_objects.o `test -f '../src/
cds_objects.cc' || echo './'`../src/cds_objects.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-cds_resource.o `test -f '../src/
cds_resource.cc' || echo './'`../src/cds_resource.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-cds_resource_manager.o `test -f
'../src/cds_resource_manager.cc' || echo './'`../src/
cds_resource_manager.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-config_manager.o `test -f '../
src/config_manager.cc' || echo './'`../src/config_manager.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-content_manager.o `test -f '../
src/content_manager.cc' || echo './'`../src/content_manager.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-curl_io_handler.o `test -f '../
src/curl_io_handler.cc' || echo './'`../src/curl_io_handler.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-destroyer.o `test -f '../src/
destroyer.cc' || echo './'`../src/destroyer.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-dictionary.o `test -f '../src/
dictionary.cc' || echo './'`../src/dictionary.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-dvd_io_handler.o `test -f '../
src/dvd_io_handler.cc' || echo './'`../src/dvd_io_handler.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-dvdnav_read.o `test -f '../src/
dvdnav_read.cc' || echo './'`../src/dvdnav_read.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-exceptions.o `test -f '../src/
exceptions.cc' || echo './'`../src/exceptions.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-fd_io_handler.o `test -f '../src/
fd_io_handler.cc' || echo './'`../src/fd_io_handler.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-file_io_handler.o `test -f '../
src/file_io_handler.cc' || echo './'`../src/file_io_handler.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../tombupnp/upnp/inc -I../src -I../
tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..
-I/sw/include/js -I/sw/include/taglib -D_THREAD_SAFE -I/sw/include -I/opt/
local/include -g -O2 -c -o libmediatomb_a-file_request_handler.o `test -f
'../src/file_request_handler.cc' || echo './'`../src/
file_request_handler.cc
../src/file_request_handler.cc:70:24: error: lastfm.h: No such file or
directory
../src/file_request_handler.cc: In member function 'virtual
zmm::Ref<IOHandler> FileRequestHandler::open(const char*, File_Info*,
UpnpOpenFileMode)':
../src/file_request_handler.cc:465: error: 'LastFm' has not been declared
../src/file_request_handler.cc:465: error: 'getInstance' was not declared
in this scope
make[2]: *** [libmediatomb_a-file_request_handler.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
MacBook:~/mediatomb B4tm4n$
Original issue reported on code.google.com by [email protected]
on 4 Feb 2009 at 7:51
What steps will reproduce the problem?
1. Install Mediatomb 0.12 (2018) and lastfmlib 0.13
2. Create a .pls or .m3u audio playlist
3. Import the playlist into Mediatomb then play it via the PS3.
What is the expected output? What do you see instead?
The expected output is the music played from the playlist is scrobbled to
Last.fm. However, no music played via a playlist is scrobbled. Scrobbling
does work from other audio library folders.
What version of the product are you using? On what operating system?
Mediatomb 0.12 (2018)
Lastfmlib 0.13
PS3 2.60
Please provide any additional information below.
I've seen a problem report here that says transcoded media is not
scrobbled. None of the audio in my library requires transcoding, so I guess
this is a similar issue where lastfmlib support hasn;t been applied to all
code paths in Mediatomb?
Here is a section from the lastfmlib log file.
1233674875 INFO : startedPlaying
1233674875 INFO : sendInfo thread started
1233674875 INFO : Track "" can be committed: conditions OK
1233674876 INFO : Buffered tracks submitted
1233674876 INFO : sendInfo thread finished
1233675017 INFO : startedPlaying
1233675017 INFO : sendInfo thread started
1233675017 INFO : Track "" can be committed: conditions OK
1233675017 INFO : Buffered tracks submitted
1233675017 INFO : sendInfo thread finished
Here is a section from the Mediatomb lof file.
2009-02-03 15:27:55 INFO: Artist: (null)
2009-02-03 15:27:55 INFO: Title: (null)
2009-02-03 15:30:17 INFO: Artist: (null)
2009-02-03 15:30:17 INFO: Title: (null)
Original issue reported on code.google.com by flexiondotorg
on 3 Feb 2009 at 3:33
http://www.last.fm/api/submissions
"The track must have been played for a duration of at least 240 seconds or
half the track's total length, whichever comes first. Skipping or pausing
the track is irrelevant as long as the appropriate amount has been played."
This is currently not true. If I play the song for a couple of
seconds,then skip it, it still gets sent to Last.FM
Original issue reported on code.google.com by [email protected]
on 13 Sep 2008 at 9:51
[deleted issue]
lastfmlib v0.4.0 and latest revision r9d930dc will compile and build without problem using gcc/g++ version 7.
However if gcc/g++ version 10 is used, which is more rigorous in applying checks to code, then compilation fails early with the errror message
In file included from lastfmlib/lastfmclient.cpp:28:
lastfmlib/utils/stringoperations.h: In function ‘std::string StringOperations::toWstring(T&)’:
lastfmlib/utils/stringoperations.h:62:22: error: could not convert ‘ss.std::__cxx11::basic_stringstream<wchar_t>::str()’ from ‘basic_string<wchar_t>’ to ‘basic_string<char>’
62 | return ss.str();
| ~~~~~~^~
| |
| basic_string<wchar_t>
complaining about an attempted conversion from wchar to char.
.
...
Just noticed that a PR was issued to fix this problem back in August 2021 but it has not yet been applied to the main branch for some reason ....
What steps will reproduce the problem?
1. Install lastfmlib 0.4.0
2. Checkout Mediatomb 0.12 (2022) and apply the mediatomb.patch
3. Attempt to compile Mediatomb and it will fail to find create_scrobbler
What is the expected output?
configure: Will search for lastfmlib headers in /usr/local/include
checking /usr/local/include/lastfmlib/lastfmscrobbler.h usability... yes
checking /usr/local/include/lastfmlib/lastfmscrobbler.h presence... yes
checking for /usr/local/include/lastfmlib/lastfmscrobbler.h... yes
configure: Will search for lastfmlib libs in /usr/local/lib
checking for create_scrobbler in -llastfm... yes
What do you see instead?
configure: Will search for lastfmlib headers in /usr/local/include
checking /usr/local/include/lastfmlib/lastfmscrobbler.h usability... yes
checking /usr/local/include/lastfmlib/lastfmscrobbler.h presence... yes
checking for /usr/local/include/lastfmlib/lastfmscrobbler.h... yes
configure: Will search for lastfmlib libs in /usr/local/lib
checking for create_scrobbler in -llastfm... no
configure: error: lastfmlib library not found in requested location
/usr/local/lib
What version of the product are you using? On what operating system?
lastfmlib 0.40
Mediatomb 0.12 (2022)
Ubuntu Karmic 9.10 i386
Please provide any additional information below.
I think this problem is related to the lastfmlib library change of name
introduced in 0.31.
I've worked around this issue by creating the following symlink.
ln -s /usr/local/lib/liblastfmlib.so /usr/local/lib/liblastfm.so
Original issue reported on code.google.com by flexiondotorg
on 7 Dec 2009 at 3:39
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.