1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 18:17:58 +01:00

Refactor player.js & Changed the install maxVersion to 1.2.0pre

This commit is contained in:
Prathyush Thota
2009-03-28 05:02:59 +05:30
parent ec6cfad1e0
commit d3a5d3d229
3 changed files with 107 additions and 101 deletions

View File

@@ -1395,17 +1395,17 @@ function Completion() //{{{
if (args.completeArg == 0)
{
context.title = ["Artists"];
context.completions = getArtists();
context.completions = player.getArtists();
}
else if (args.completeArg == 1)
{
context.title = ["Albums by " + args[0]];
context.completions = getAlbums(args[0]);
context.completions = player.getAlbums(args[0]);
}
else if (args.completeArg == 2)
{
context.title = ["Tracks from " + args[1] + " by " + args[0]];
context.completions = getTracks(args[0], args[1]);
context.completions = player.getTracks(args[0], args[1]);
}
},