cueIt

Amarok 1.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

0
Score 50%
Description:

cueIt has an advanced dynamic song cuing algorithm.

You enable/disable the genres you want it to pick.

From there cueIt selects the songs based on it's rating/score.

It won't cue the same song until 10% of your "enabled" songs have played, and it won't play the same artist 5% of the enabled artists.

CueIt uses an algorithm similar to http://sourceforge.net/projects/phpmur

As of version .10 you an also auto cue new podcasts.


Last changelog:

11 years ago

VERSION 0.10:
Added Podcast auto cue.
Added "preload" table to reduce startup time.
Uses zenity & kdialog. zenity has a better checklist.
VERSION 0.09:
Increased overall stability of script.
Re-did "picking" algorytim.
VERSION 0.08:
Almost total rewrite
Added sqlite support
Uses PDO now
Dynamic playlist enabled no longer needed.
VERSION 0.07:
Added re-connect to database if disconnected.
VERSION 0.06:
Fixed "enabled genres' bug.
Added error codes to tell you where the error is happening.

staudi009

11 years ago

Hi the7erm

Nice idea for amarok.
And thanks for your activity.

By me has the returned path a dot in the path.
My media drives are mounted. Amarok stores as Device the path to the mount-point and the filenames starts with a Dot. This simply concatenated is what ciuIt adds to the playlist.

I cant php, but i have see your comment about to remove these dot, seems to be not function.
Maybe it is a short correction i need to put to the script if you tell me what.

Regards, Werner

Report

C

the7erm

11 years ago

Just put .09 up. Hopefully it'll fix any problems you may have had.

Report

staudi009

11 years ago

Many thanks the7erm

CueIt is working well.
I will tell you my experience after i have it used a while.

Regards, Werner

Report

C

the7erm

11 years ago

Thanks for your interest.

Report

C

the7erm

11 years ago

cueIt.php $filename needs to look like this.

$filename = escapeshellarg($devices["{$song['deviceid']}"]. '/' . $song['url']);

The next version should fix this bug.

Report

zeerak

11 years ago

just one question, as I'm not much for amarok, though this may make me change my opinion, if it is impossible to use this for another player. Such as xmms (i like my commandline players). So would it be possible? if nothing else then with some rewriting of it?

Report

C

the7erm

11 years ago

I've written various version of this for xmms, and mplayer, and even a flash player.

It's open source, feel free to use the ideas.

I wrote this version for amarok.

Report

C

the7erm

11 years ago

I guess I should mention that the other project is http://sourceforge.net/projects/phpmur

At times it's used xmms, mplayer, and the newest version is flash.

I'm about ready to abandon it.

Over the years I've coded, and recoded it from the ground up I'm sick of it. I can never get it right. I've gotten more feedback from this simple stripped down version in less than a month than 4 years of development on the phpMUR project.

It's a nice concept, but amarok has more of what I need minus the multi-user ratings.

If I learn c++ and qt I plan on adding patching multi user capability to amarok. Maybe I can hassle the developers of amarok into multi-user rating support.

Report

11 years ago

VERSION 0.10:
Added Podcast auto cue.
Added "preload" table to reduce startup time.
Uses zenity & kdialog. zenity has a better checklist.
VERSION 0.09:
Increased overall stability of script.
Re-did "picking" algorytim.
VERSION 0.08:
Almost total rewrite
Added sqlite support
Uses PDO now
Dynamic playlist enabled no longer needed.
VERSION 0.07:
Added re-connect to database if disconnected.
VERSION 0.06:
Fixed "enabled genres' bug.
Added error codes to tell you where the error is happening.

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
.10
updated Jan 27 2008
added Dec 27 2007
downloads today
0
page views today 2
page views total 672
System Tags addon