Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] bsl_audioscrobbler

#25 2004-08-11 15:09:57

dude
New Member
From: Manchester, UK
Registered: 2004-07-19
Posts: 6
Website

Re: [archived] bsl_audioscrobbler

I concur, this plugin rocks. I know dick all about the technical stuff and like most peoples blogs, I am the only person who reads mine. The slowness of the page loading does not really bother me as I know it will be sorted when there is a new AS server. I am just delighted that it shows song names on my page taht are playing on my winamp.

Offline

#26 2004-08-12 09:26:17

polygon_monkey
Archived Plugin Author
Registered: 2004-07-07
Posts: 14

Re: [archived] bsl_audioscrobbler

Yet another version of the audioscrobbler plugin as I found a problem with the cache. If you were using the cache and the audioscrobbler site was unavaliable, but your cache was older than the minimum cache age you set, you got the audioscrobbler not working message. I’ve changed it so that it drops to the cache when nothing else is avaliable if it exists.

bsl_audioscrobbler v0.5

Offline

#27 2004-08-27 18:36:08

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Re: [archived] bsl_audioscrobbler

A couple of bugs in v 0.5, I think.

1. Can’t get song_style and song_artist to do anything.
2. Issues with UTF or something. The song-title word Schäfers (umlaut over the a) shows up as Schäfers (lowercase a umlaut replaced with two HTML entities, uppercase A tilde and curren).

My usage: < txp:bsl_audioscrobbler song_style=“ss” artist_style=“as” username=“kevinashworth” limit=“6” separator=”: “ / >

Last edited by kevinashworth (2004-08-27 18:37:06)

Offline

#28 2004-08-30 08:07:51

polygon_monkey
Archived Plugin Author
Registered: 2004-07-07
Posts: 14

Re: [archived] bsl_audioscrobbler

With the style, I’m just wrapping a span tag around the text with the specified class. I could maybe add it to the a tag instead.

As for the text issue, I’ll look into that when I have time.

Thanks for the feedback.

Offline

#29 2004-08-30 14:07:41

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Re: [archived] bsl_audioscrobbler

There must be something wrong with PHP on my server or something, because I get no span tags with the styles in them. I also can’t get other features to work like use_cache and not_working_message. Separator works, so does break. So not all arguments are being ignored. Bizarre. Oh well.

Offline

#30 2004-08-30 14:15:08

polygon_monkey
Archived Plugin Author
Registered: 2004-07-07
Posts: 14

Re: [archived] bsl_audioscrobbler

Well the rest of the features definatly work on my site. Hmm. Are you sure you have a folder with enough permissions for your cache to be written to. Start at 777 and work back.

Offline

#31 2004-09-23 04:07:46

botono9
Member
Registered: 2004-07-07
Posts: 17
Website

Re: [archived] bsl_audioscrobbler

I found this thread a while back and loved the idea, but was frustrated that so many of the problems in the plugin had not been addressed, so I did the open source thing and updated it myself.

All attributes now work (1.0rc1 doesn’t like underscores in attribute names, apparently).

Special characters don’t get garbled anymore.

If you’re going to use the cache, the directory AND the XML file need to exist beforehand or it will spit up an ugly PHP error. I’ll look into this further in the future, but for now you’ve got to hold its hand a little bit.

I’m running this on my site right now and it is performing nicely. I manually hacked my version to display in a list format. The standard plugin will only accept a break tag to slap at the end of each link. Unordered list capability forthcoming.

Here’s the plugin:

bsl_audioscrobbler v0.6

Last edited by botono9 (2004-09-24 15:03:31)


The future is… now!

Offline

#32 2004-09-24 14:35:16

raveoli
Member
From: Copenhagen
Registered: 2004-03-06
Posts: 205
Website

Re: [archived] bsl_audioscrobbler

Could you please make it work with vinyl and maybe even my tapes as well? Pleeease???

Offline

#33 2004-09-24 15:02:52

botono9
Member
Registered: 2004-07-07
Posts: 17
Website

Re: [archived] bsl_audioscrobbler

Done and done.


The future is… now!

Offline

#34 2004-09-24 15:29:40

raveoli
Member
From: Copenhagen
Registered: 2004-03-06
Posts: 205
Website

Re: [archived] bsl_audioscrobbler

I just installed it and it ain’t showing that I’m listening to the Flashdance-soundtrack on vinyl full-on?!

Offline

#35 2004-09-27 00:39:16

botono9
Member
Registered: 2004-07-07
Posts: 17
Website

Re: [archived] bsl_audioscrobbler

Version 0.7 is now ready. The plugin now does the following:

  • Supports forms
  • Will create the cache XML file if it does not exist (directory must be CHMODed to at least 666 for this to work)

An example form might look like this:

<pre><li><txp:permlink><txp:author /> – <span class=“songtitle”><txp:title /></span></txp:permlink></li></pre>

A number of attributes have been removed in lieu of forms, which is The Textpattern Way. The help has been updated and I hope it is clear enough.

bsl_audioscrobbler v0.7

Last edited by botono9 (2004-09-27 00:40:33)


The future is… now!

Offline

#36 2004-09-27 02:59:56

kevinashworth
Member
From: Massachusetts
Registered: 2004-07-30
Posts: 26
Website

Re: [archived] bsl_audioscrobbler

I can’t upload the plug-in. “Badly formed or empty plugin code.” Is it just me, or is there a problem with v.0.7?

I’m using OS X, Safari, TXP 1rc1.

Offline

  1. Index
  2. » Archives
  3. » [archived] bsl_audioscrobbler

Board footer

Powered by FluxBB