Jump to content
Poweramp
AlexanderNN

Переключение между треками при воспроизведении плейлиста

Recommended Posts

Добрый день!

 

Использую API. Создал несколько плейлистов. При вызове startService(new Intent(PowerampAPI.ACTION_API_COMMAND).putExtra(PowerampAPI.COMMAND, PowerampAPI.Commands.NEXT));

ожидал что будет переход на следующий трек в данном плейлисте, однако он переходит на след. плейлист.

 

Вызов

startService(new Intent(PowerampAPI.ACTION_API_COMMAND).putExtra(PowerampAPI.COMMAND, PowerampAPI.Commands.NEXT_IN_CAT)); 

ничего не делает.

 

Начинаю воспроизведение

startService(new Intent(PowerampAPI.ACTION_API_COMMAND).putExtra(PowerampAPI.COMMAND, PowerampAPI.Commands.TOGGLE_PLAY_PAUSE));

 

Что я неправильно делаю?

 

задача: управлять переходами между плейлистами, а также треками в текущем плейлисте.

Share this post


Link to post
Share on other sites

Translated by Google:

Good day

Using the API. Created several playlists. When you call startService (new Intent (PowerampAPI.ACTION_API_COMMAND). PutExtra (PowerampAPI.COMMAND, PowerampAPI.Commands.NEXT));

expect there will be a transition to the next track in the playlist, but it goes on the trail. playlist.

 

Call

startService(new Intent(PowerampAPI.ACTION_API_COMMAND).putExtra(PowerampAPI.COMMAND, PowerampAPI.Commands.NEXT_IN_CAT)); 

does nothing.

 

begin to play

startService(new Intent(PowerampAPI.ACTION_API_COMMAND).putExtra(PowerampAPI.COMMAND, PowerampAPI.Commands.TOGGLE_PLAY_PAUSE));

 

What am I doing wrong?

task: manage transitions between playlists, and tracks in the current playlist.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

;)

Share this post


Link to post
Share on other sites

эта тема тоже без ответа?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×