PlayEX v.0.20
a BREW MP3 player for SG75, E81; SXG75, SL91; EF81, EF82, SF71; M7 Current developping by S.R. (since v.0.06)
Originally written by Sidney
UI enhancements, original skin, icons by kraze1984
new skins by Fhantom (since v.0.05.3)
Main Features:
1. Random play (can be turned on and off)
2. Loop play
3. Work with files directly, without using phones' DB
4. Automatically scans subdirectories
5. Names are stored in playlist (added playlist screen in v.0.20)
6. Indication of ID3 information (for MP3) and file information (for wav) new in v.0.15
7. Works when the clamshell is closed new in v.0.03, UI drawn since v.0.07
8. Automatically resumes current track after incoming/outgoing calls new in v.0.15
9. Configurable UI (skin), configurable system settings new in v.0.10 changed in v.0.15, 0.16, 0.20
Other features:
10. Plays music in background
11. Handles Headset button in foreground and background stable in v.0.06.2
12. Volume regulation on Joystick UP\DOWN, fast forward, fast rewind new in v.0.04
13. Pause functionalityextended in v.0.15, previous track switch new in v.0.05
14. External keyboard support for EF81 (maybe EF82 and SF71) new in v.0.05
15. Mute function on * key. new in 0.16
16. Smooth rewind. Now rewind works while keys pressed (new in 0.16, accelerated in 0.20)
17. Volume right-left balance function (new in v.0.16, UI drawn since v.0.20 )
18. Autodetects screen size for smaller skin (SG75, E81) (new in v.0.05).
playlist window added. For now, only choose file for playing.
+Code optimisation, fixes
Fixes since 0.15:
Fix: volume function on 2,8 keys must work always.
Fix: drops on mp3tags draws. also cleaning tags from spaces.
Fix: keys stop-play turn on next track. Useful for EF81 external keyboard.
Fix: loading of long names from playlist.
Fix: Animation no more restarting on any action.
Short Howto:
1. Edit playex.cfg file in archive according to your preferences (see point 3 of "Things you should remember" section);
2. Put the playex.cfg in fs:/shared/playex/;
3. If you have used earlier versions of playex, please delete the playex.m3u file from fs:/shared/playex directory;
4. Put the mp3 files in the folder you previously set in playex.cfg of your SD\MMC card;
5. Install the BREW application;
6. Run PlayEX from AppManager in your phone.
Things you should remember:
1. Controls:
Normal keyboard:
- 1 - play/pause
- 2 - volume Up
- 3 - stop
- 4 - previous track
- 5 - refresh playlist (always refresh after new songs are added)
- 6 - next track
- 7 - Volume balance left
- 8 - volume Down
- 9 - Volume balance right
- 0 - Show playlist
- * - Volume mute (On EF81 (may be some others) works only without handset)
- Right soft key - Shuffle on\off
- Joystick right - fast forward (the longer you press the faster you go)
- Joystick left - fast rewind (the longer you press the faster you go)
- 'C' button - application exit
- Joystick up\down - adjust volume using application method (all phones)
- PWR button - system exit
- Volume keys - adjust volume using system method (SG75\SXG75)
External keyboard of EF81 - player MUST be in foreground!
- Left - play/pause
- Middle Left - volume down
- Middle Right - volume up
- Right - Stop
PTT button on headset
IN PLAY MODE:
- short press - next track
- long press - pause
- double press - previous track
IN PAUSE MODE:
- short press - resume play
- double press - switch shuffle play
2. The playlist is automatically generated after the first launch of application (this will take a short moment)
Furthermore you have to refresh the playlist by pressing "5". You can see the playlist with the path to files by pressing "0".
Playlist window operation
"C" key - return to main window;
"Select" key - Select track and return to main window;
"5" - Select and stay in the playlist window;
Go to previous/next track by Up/Down or 2/8 keys.
Go to previous/next screen by 3/9 keys.
Go to previous/next folder by Left/Right or 4/6 keys.
"1"/"7" - go to start\end of playlist
3. System settings are stored in playex.cfg file, located in fs:/shared/playex folder.
Here you can set:
- Volume stepping
- Volume start value
- Browseable folder with absolute (like fs:/card0/sounds) or relative (relative from path fs:/card0) path (new in 0.16)
- Resource file name
- Simple Animation options
- State of Random play at player start-up
- Enable or disable immediate play at startup (new in 0.20)
The strings format is described in the file itself.
For SXG75\SG75 the following strings values are possible:
INITIAL_VOLUME_LEVEL=20 (or 40, 60, 80, 100)
VOLUME_STEP=20 (or 40, 60, 80, 100)
For EF81\EF82\SL91\E81\SF71\M7 the following strings values are possible:
INITIAL_VOLUME_LEVEL=10 (or 20, 30, 40, 50, 60, 70, 80, 90, 100)
VOLUME_STEP=10 (or 20, 30, 40, 50, 60, 70, 80, 90, 100)
4. The player reads the files directly from the folder, set up in playex.cfg file through BREW file managing feature. So even your card got reindexed, the files will still be here.
5. Concerning files:
1) maximum number of files in playlist - 65536,
2) unlimited number of subdirectories
3) try not to name the files with more than 64 characters
4) try not to play with Unicode names
5) player will not play unsupported format (i.e. MP3 with 16 kbps will not be played), instead will try to switch to next track.
6. The player stores the playlist in fs:/shared/playexfolder.
7. The player switches to next track if an event that uses Media subsystem arrives (i.e. appointment, vibra).
since 0.15 The player saves player mode after call. Should not start playing, if stop or pause mode was before call.
since 0.15 The player resumes current track after call (incoming/outgoing).
8. The player replaces MasterMind hidden game in EF81, EF82, SF71 to operate with the flip. EF81C does not have this game, so at this moment the player closes when the clamshell is closed on this phone. To operate with the buttons the player must be in foreground!
9. Background operation notes:
The player plays music in background;
While the player is run the PTT button of headset does not call voice dialing, but is used to control the player;
The button works while the keyboard is locked, in idle mode, and in any other application except when it uses phone's media subsystem;
When a call incomes, the PTT button works as usual.
10. The skin configuration in v.0.15 and further is flexible. Current skin format can be found here: (in russian). The skin configuration format is subject to change in further versions. You may find and post new skins here.
11. Use this string: application/playex to include the Player in your menu or to set as shortcut.
12. 'Menu' and 'Help' buttons in the skin are DUMMIES. Will or may be implemented in further versions.
Ну и теперь тоже самое, только немножко по-русски
PlayEX v.0.15
MP3 плеер для SG75, E81; SXG75, SL91; EF81, EF82, SF71; M7
Текущая разработка (с версии 0.06) - S.R.,
Оригинальная разработка: Sidney,
Переработка UI, старый скин, иконки созданы kraze1984,
Новые скины - Fhantom
Описание:
=========
Первая робкая попытка расширения/улучшения функционала телефонов на платформе Qualсomm, в частности замена стандартного media проигрывателя из состава SXG75.
Возможности:
=========
1. Случайное воспроизведение треков (включается и выключается)
2. Закольцованное воспроизведение треков
3. Работа в фоновом режиме.
4. Работа с файлами напрямую, без обращения к БД
5. Автоматическое сканирование всех вложенных директорий/поддиректорий
6. Показ информации из ID3-тегов (для MP3) и информации о файле (wav) начиная с v.0.15
7. Список файлов сохраняется в свой плейлист
8. Работает с кнопкой хендсфри - в активном и в фоновом режиме начиная с v.0.06.2
9. Работает с закрытым флипом начиная с v.0.03, прорисовка UI с версии 0.07
10. Регулировка громкости, быстрая перемотка трека вперед\назад джойстиком начиная с v.0.04
11. Пауза расширено в v.0.15, переключение на предыдущий трекначиная с v.0.05
12. Поддержка внешних клавиш EF81 (возможно также EF82 и SF71) начиная с v.0.05
NEW!13. Автоматический переход на следующий трек после входящего\исходящего звонка
+Багфиксы
Инструкция:
=========
1. кинуть mp3 файлы в папку mp3 карточки памяти (лучше всего через кардридер)
2. сделать эту папку скрытой (чтоб не индексировалась и не занимала место в БД) - по желанию.
3. установить BREW приложение
4. запустить PlayEX из AppManager-а.
О чем следует помнить:
================
1. Управление (по кнопкам):
Клавиатура
- 1 - играть\пауза
- 2 - громче
- 3 - стоп
- 4 - предыдущий трек
- 5 - обновить плейлист (всегда обновляйте, если залили новые песни)
- 6 - следующий трек
- 8 - тише
- правая софт-кнопка - включить\выключить случайное воспроизведение
- клавиши регулировки громкости - громкость (на SXG75, SG75)
- джойстик вверх\вниз - регулировка громкости
- джойстик вправо\влево - перемотка трека вперед-назад
- красная кнопка - выход
Внешняя клавиатура EF81
- Левая отдельная - играть\пауза
- Левая часть качельки - тише
- Правая часть качельки - громче
- Правая отдельная - стоп
Кнопка Гарнитуры
- следующий трек
2. Плейлист автоматически генерируется при первом запуске (это займет несколько секунд). В дальнейшем надо будет плейлист обновлять кнопкой "5" (выполнять только если добавили новые песни). Сам плейлист находится по /fs/shared/playex/playex.m3u
3. Плеер читает файлы напрямую из fs:/card0/mp3 через встроенный обработчик BREW. Так что, если файлы пропадут из базы телефона, они все равно будут видны плеером. Эта штука работает без проблем даже во время индексации карты памяти.
4. Замечания по mp3 файлам:
1) количество ограничено 65536 файлами (столько влазит в плейлист),
2) количество подкаталогов/каталогов неограничено
3) пока не стоит давать названия песням > 64 символов
4) пока не стоит баловаться с русскими названиями композиций. Вроде сделать можно, но это в будущем... ХЗ каком, далеком или близком
5) Пока существуют проблемы с прерыванием текущей композиции при наступлении системных событий - звонка, срабатования вибры и проч. Будет лечиться со временем.
6) Максимальное количество композиций, которое воспроизводил плеер - 312 (тестировал kraze1984). Думаю что большее число композиций не должно как-то повлиять на его работу.
7) Не проигрывает mp3, которые не поддерживаются телефоном по формату (например, 16 кбпс не поддерживается).
5. Запуск плеера через меню используйте строку application/playex
------------------------------
Примечание 1. Предупреждаю сразу, вещь еще относительно сырая и не очень стабильная, доделки/улучшения неизбежны. Ребуты на телефоне тоже.
Примечание 2. Все пожелания, написанные в данной ветке скорее всего будут прочтены и скорее всего учтены не будут. Причина довольно простая - время. Реально получается тратить на проект 30-40 минут времени в день, если вообще получается
Примечание 3. Big thanks to kraze1984. Если бы не он, я бы глядишь месяцев через 6 и созрел бы, не раньше. Именно благодаря постоянному подталкиванию с его стороны появилось то, что вы можете скачать вверху.