Problem with Hype Machine resolver

47 views
Skip to first unread message

Andreas

unread,
May 25, 2010, 2:30:47 PM5/25/10
to playdar
Hi all,

i've installed the Hype Machine resolver, but it does not resolve
anything.

I have error and crash messages in the playdar log, perhaps someone
can tell me what's wrong?

Log:
===

2010/05/25 20:27:14 info playdar_web GET /api/?
method=resolve&artist=miles%20davis&album=&track=so%20what 127.0.0.1
<0.142.0>
2010/05/25 20:27:14 pipeline playdar_resolver Dispatching to Local
Library using DETS
2010/05/25 20:27:14 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:14 info library_dets Library search took: 0.002ms for
miles davis - so what -
2010/05/25 20:27:14 pipeline playdar_resolver Dispatching to
playdartcp
=ERROR REPORT==== 25-May-2010::20:27:14 ===
** Generic server <0.160.0> terminating
** Last message in was {'$gen_cast',
{resolve,
{qry,
<<"A7565846-5EFA-4C07-BF98-
D1C6864FF409">>,
{struct,
[{<<"artist">>,<<"miles
davis">>},
{<<"album">>,<<>>},
{<<"track">>,<<"so what">>}]},
true}}}
** When Server state == {state,#Port<0.1549>,
"contrib/hypemachine/hypemachine.bat",
"HypeMachine Resolver",5000,60,true}
** Reason for termination ==
** {badarg,[{erlang,port_close,[#Port<0.1549>]},
{playdar_script_resolver,terminate,2},
{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}
2010/05/25 20:27:14 pipeline playdar_resolver Dispatching to
HypeMachine Resolver
=CRASH REPORT==== 25-May-2010::20:27:14 ===
crasher:
initial call: playdar_script_resolver:init/1
pid: <0.160.0>
registered_name: []
exception exit: {badarg,[{erlang,port_close,[#Port<0.1549>]},
{playdar_script_resolver,terminate,2},
{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}
in function gen_server:terminate/6
ancestors: [playdar_resolver_sup,playdar_sup,<0.52.0>]
messages: []
links: [<0.70.0>,<0.71.0>]
dictionary: []
trap_exit: false
status: running
heap_size: 987
stack_size: 24
reductions: 666
neighbours:
2010/05/25 20:27:15 info playdartcp_router playdartcp dispatching
query
=SUPERVISOR REPORT==== 25-May-2010::20:27:15 ===
Supervisor: {local,playdar_resolver_sup}
Context: child_terminated
Reason: {badarg,[{erlang,port_close,[#Port<0.1549>]},
{playdar_script_resolver,terminate,2},
{gen_server,terminate,6},
{proc_lib,init_p_do_apply,3}]}
Offender: [{pid,<0.160.0>},
{name,'contrib/hypemachine/hypemachine.bat'},
{mfa,
{playdar_script_resolver,start_link,
["contrib/hypemachine/hypemachine.bat"]}},
{restart_type,transient},
{shutdown,5},
{child_type,worker}]
=PROGRESS REPORT==== 25-May-2010::20:27:15 ===
supervisor: {local,playdar_resolver_sup}
started: [{pid,<0.164.0>},
{name,'contrib/hypemachine/hypemachine.bat'},
{mfa,
{playdar_script_resolver,start_link,
["contrib/hypemachine/
hypemachine.bat"]}},
{restart_type,transient},
{shutdown,5},
{child_type,worker}]
2010/05/25 20:27:15 info playdar_resolver add_resolver:
playdar_script_resolver 'HypeMachine Resolver' Weight:60 TT:5000
Pid:<0.164.0> Localonly:true
2010/05/25 20:27:15 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:16 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:17 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:18 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:19 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:20 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:21 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:22 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:23 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:24 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:25 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:26 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:27 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:28 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:29 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>
2010/05/25 20:27:30 info playdar_web GET /api/?
method=get_results&qid=A7565846-5EFA-4C07-BF98-D1C6864FF409 127.0.0.1
<0.142.0>

Cheers,
Andreas

--
You received this message because you are subscribed to the Google Groups "playdar" group.
To post to this group, send email to pla...@googlegroups.com.
To unsubscribe from this group, send email to playdar+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/playdar?hl=en.

Andreas

unread,
May 26, 2010, 2:46:17 AM5/26/10
to playdar
*This is really driving me nuts, tried it several hours now but can't
find the error for myself, really need your help!*

Playdar is great, perhaps THE solution to all our problems about
streamable music (finding every track, avoiding restrictions) and
perhaps THE answer to all the greedy labels / collecting societies
(making them rethink their business models) and perhaps THE chance
for new music startups (avoiding high costs).

So let's spread the word for Playdar wherever we can!

But for doing that we need more stable demos for Mac/Linux/Windows
which we can use to showcase Playdar's features without too much
effort.

I tried the Playdar last.fm script and it doesn't run very stable and
it seems that you can only resolve against your local library with it
(see my other thread about these problems).

I tried the Hype Machine resolver and run in the problems described in
this thread here.

I tried the Playdar demo search, which seems to only resolve against
your local library too, which isn't what many Playdar users who use
additional resolvers would expect.

If we could show others how easy new resolvers could be integrated to
a Playdar install it would be easier to show Playdar's real power to
adapt to this or that scenario. And if every web demo uses these newly
integrated resolvers immediately, the better for showing Playdar's
great possibilities.

I'm just a stupid user, who wants to help evangelising Playdar's
mission, but we need the help of the developers to do that, thank
you... :)

Cheers,
Andreas

Steven Robertson

unread,
May 26, 2010, 3:50:24 AM5/26/10
to pla...@googlegroups.com
I agree on the need for stable and consistent demos. It would be good if the demos and resolvers where possible are actively maintained. To that end it would be good to know if there is an active maintainer on each resolver and contact email. It would be good to put this on the playdar wiki or someplace.

David Singleton

unread,
May 26, 2010, 4:04:33 AM5/26/10
to pla...@googlegroups.com
I wrote the hypem resolver originally as a proof of concept but
haven't been maintaining it. Partly because Anthony from HypeM
politely asked me not to publicise it too much, which is fair enough.
If it's broken (likely due to markup changes on hypem) then i'd
suggest we remove it from Playdar by default.

Definitely agree on listing an active campaigner for any resolver
plugins distributed with Playdar.

--
David Singleton
da...@dsingleton.co.uk

Andreas

unread,
May 26, 2010, 4:46:54 AM5/26/10
to playdar
"Partly because Anthony from HypeM
politely asked me not to publicise it too much, which is fair enough."

Hype Machine is a very great music service and Anthony should know
very good how important it is to experiment with new ways of music
discovery and distribution, shouldn't he? So what are his fears about
a Hype Machine Playdar resolver? Is Playdar a threat to Hype Machines
existence?

But should you really stop developing interesting resolvers because of
such fears, even in Playdar's actual experimental phase?

What if Spotiy wouldn't want a Spotify resolver too then? Or AOL
Music? Or Napster? Or....?

So please don't stop the development of the Hype Machine resolver,
resolvers are Playdar's heart and soul! :)

Cheers,
Andreas


On 26 Mai, 10:04, David Singleton <da...@dsingleton.co.uk> wrote:
> I wrote the hypem resolver originally as a proof of concept but
> haven't been maintaining it. Partly because Anthony from HypeM
> politely asked me not to publicise it too much, which is fair enough.
> If it's broken (likely due to markup changes on hypem) then i'd
> suggest we remove it from Playdar by default.
>
> Definitely agree on listing an active campaigner for any resolver
> plugins distributed with Playdar.
>

> ...
>
> Erfahren Sie mehr »

David Singleton

unread,
May 26, 2010, 8:17:05 AM5/26/10
to pla...@googlegroups.com
I think you misunderstand.

I was asked me nicely, and with good justification, to no continue
development on it. Seems fair enough to me, it's certainly not a
question of disliking or not understanding Playdar.

Hype machine is not a streaming music service like Spotify. It's an
aggregator that collects and displays other peoples content, it's very
much built on fair use. Treating it as a jukebox in the sky goes
against that.

Anyone is free to develop a hypem resolver, I chose not to continue.
Mostly because I built it to get to grips with resolvers, test their
limits a bit and see if it would work.

Andreas

unread,
May 26, 2010, 9:54:53 AM5/26/10
to playdar
Ok, i understand now, thanks for clarification.

But if Playdar's success story continues then someone will build a
HypeM resolver sooner or later, to Anthony's liking it or not.

That's why i think it's not reasonable to stop development here, so if
there is someone out there who wants to adopt and to repair David's
HypeM resolver, i am here to test it for you!


On 26 Mai, 14:17, David Singleton <da...@dsingleton.co.uk> wrote:
> I think you misunderstand.
>
> I was asked me nicely, and with good justification, to no continue
> development on it. Seems fair enough to me, it's certainly not a
> question of disliking or not understanding Playdar.
>
> Hype machine is not a streaming music service like Spotify. It's an
> aggregator that collects and displays other peoples content, it's very
> much built on fair use. Treating it as a jukebox in the sky goes
> against that.
>
> Anyone is free to develop a hypem resolver, I chose not to continue.
> Mostly because I built it to get to grips with resolvers, test their
> limits a bit and see if it would work.
>

> ...
>
> Erfahren Sie mehr »

Reply all
Reply to author
Forward
0 new messages