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:
@@ -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]);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user