(4 December 2008) S2P v0.58 - flow

Status
Not open for further replies.
Search This thread

A_C

Senior Member
Jan 5, 2007
1,364
4
www.ac-s2.com
Hey guys,

What is S2P?
S2P(Slide2Play) is my third S2 series application. S2P is a stylus-free MP3/WMA player application. It simply lets you browse your music files & play.

s2p011.png


Prerequisition:
- WM5 Phone or WM6/6.1 Professional devices (with built-in Windows Media Player)
- free RAM: at least 3M

v0.58
- more finger-friendly on the Album View.
- added option to repeat a single Album, so the repeat options are: none -> all -> an album -> a song.
- added option (ShakeThreshold) to adjust the shaking responseness.
- added limited support to HTC Wired Remote Control (read the FAQ for details).
- added an OpenGL version for devices that support OpenGL ES (Touch Diamond/Pro/HD & Xperia X1).
- fixed on some devices S2P crashes when Bluetooth is already turned on (but AVRCP still may not be supported on these devices).
- fixed when shuffle is on, sometimes the Album pic cannot be shown.
- fixed when repeat option is on, the "slide to next Album" does not work.
- some minor bugs fixed.
- one known issue left: Album View will crash when there are a lot of albums (> 8G of songs).

v0.55
- added option (AlbumLayout) to have different position of Album displayed.
s2p-wip.png

(From left to right, AlbumLayout = 0, 1 & 2)

- added support to HTC Diamond's shake gesture - ShakeAction: 0 to disable; 1 to go to next song; 2 to go to next shuffle song.
- added support to switch to Album View if your device has a button for changing orientation or a slide out keyboard.
- more "even" shuffling on playback.
- auto-pause the playback when headphone (either Bluetooth or wired) is disconnected (need S2U2 running in the background).
- all graphics support high resolution, i.e. truely VGA.
- simplified the AVRCP trick for Diamond (no need to manually start WMP).
- fixed the system speaker issue when the playback is paused & resumed after a while.
- some graphics changed.
- some minor bugs fixed.

Download
http://ac-s2.com

For details, as usual, please read the README.TXT file or the next post.
Besides, please read the README FIRST, especially the Known limitations & FAQs before posting your questions here.

Finally, if you like S2P, pls CLICK HERE to make a donation. Thanks.
 
Last edited:

A_C

Senior Member
Jan 5, 2007
1,364
4
www.ac-s2.com
Installation:
- Under your PC/MAC/device, extract the content of the downloaded file & copy the CAB file to your device.
- Under your device, run any File Explorer application; go to the folder where the CAB file is copied; run the CAB file.
- If your device got a "Win32 error", please download & install the WMP-OCX-WM5-square-fix.cab (for square devices) or the WMP-OCX-fix.cab (for other devices).

Operations:
- Since S2P simply scans music files in your storage card, it's suggested to have your music files well organized by folders. So that you can browse your music files through the folders instead of a plain list. (e.g. \Artist Name\Album Name\Music title.mp3)
- When browsing, press the folder name to list all music files under that folder, including subfolders; or press the arrow button to list the subfolders.
- Press any one of the filename to play.
- To go back to the music file list, press the top left back button.
- To view the current album list, press the top right icon. Then press any one on the list to play that music.
- To go back to the single music view, press the top right icon again.
- On the single music view, tap the screen to call up the timeline. Press the left repeat icon to repeat the current playing album; press the right shuffle icon to play the whole music list randomly. When both icons are on, only the current album will be played randomly.
- Under the music playback screen, slide up or down the left or right side edge of the album art will change to the Album View screen in Landscape mode. To go back to the normal playback screen, slide up or down the left or right side edge of the album art.
- Under the music playback screen, double tap the album title area will change to the Album View screen in Portrait mode. To go back to the normal playback screen, double tap the album title area again.
- The hardware keys are:
Accept - quit
End/OK - minimize
Vol Up/Down or DPAD Up/Down - volume control
DPAD Action - play/pause
DPAD Left/Right - previous/next
Left/Right soft key - previous/next album
Power/Record - turn screen off

Settings:
The behaviour of S2P can be altered by changing the following registry values stored at \HKEY_CURRENT_USER\Software\A_C\S2P\
- OffLCD - the no. of timeout seconds that S2P will turn off the screen when using battery; default is 25.
- ACOffLCD - the no. of timeout seconds that S2P will turn off the screen when using external power; default is 0 (i.e. disable).
- SaveLastMusic - remember the last playing music when quit; default is 1.
- AlwaysLoadEmbedAlbumPic - always load the embedded album pic when start to play a file; default is 0.
- ResumeAfterCall - resume the playback after a call is finished; default is 1.
- FullScreenAlbum - to display a full-screen album art; default is 1. (it's not usable for square screen device).
- NoSoftKey - to hide the bottom soft music control keys; default is 0.
- FastAlbumPic - retrieve the embedded album pic in faster speed but some problematic pic will not be retrieved properly; if that happen, disable it; default is 1.
- AlbumLayout - 0, 1 & 2.
- ShakeAction - for Diamond/Pro/HD only; 0 to disable; 1 to go to next song; 2 to go to next shuffle song.
- ShakeThreshold - for Diamond/Pro/HD only; responseness to the ShakeAction; 0 easiest; 200 hardest; default is 100.

Known limitations & FAQs:
Q. Do I have to install the old version before using this version?
A. No.

Q. How to use the .CAB file?
A. http://www.google.com/search?q=install+cab

Q. Do I have to install S2U2 before installing S2P?
A. No. But if you have installed S2U2, make sure you have updated your S2U2 to 0.99p or later. Otherwise S2P will be stopped by S2U2.

Q. What music files can S2P play?
A. MP3, WMA & WAV.

Q. When viewing an album of WMA/WAV files, there is no duration show?!
A. Yes, it's not implemented yet.

Q. The Album View only show a few covers even there a lot different music files stored?!
A. You have to organize the files into folder structure like \Artist Name\Album Name\Music title.mp3, otherwise it won't be recognized by S2P.

Q. How to turn off the screen when playing music?
A. Press the Power button or the record button.

Q. How to adjust the auto screen off timeout?
A. Edit the registry - under \HKEY_CURRENT_USER\Software\A_C\S2P\, edit the keys OffLCD & ACOffLCD (in seconds). OffLCD is for use when using battery; while ACOffLCD is for external power. The default value of OffLCD is 25 & ACOffLCD is 0.

Q. S2P shows weird characters for the music info?!
A. Try to resave those info in ID3V2.4 UTF-8 format.

Q. How to have cover shown on S2P?
A. Either the music file already has cover pic embedded or you have to copy the cover file (either cover.jpg or folder.jpg or album*.jpg made by WMP) to the corresponding album folder.
A. Sudermatt has a script to update the album art directly from your device, goto http://xdaforums.com/showpost.php?p=2164454&postcount=920 for details.

Q. Does S2P support A2DP?
A. Yes, as long as your device has a proper OS.

Q. Does S2P support AVRCP?
A. Yes, starting from v0.40.

Q. S2P does not support AVRCP on my device?
A. It's found that latest devices have some specific codes to handle AVRCP specifically with the built-in WMP. So there is no way to intercept the AVRCP control codes unless a real device can be studied on-hand or the related SDK is publicized.

Q. How to get AVRCP works on HTC Diamond?
A. Follow these steps:
- remove the Music tap from TouchFlo 3D with Diamond TF3D Config (http://xdaforums.com/showthread.php?t=405749 (thanks Sushilange);
- restart the device;
- turn on the Bluetooth & connect the BT Headset;
- (skip this step for v0.55 or later) start the Windows Media Player (sometimes it will be automatically started once the BT Headset is connected) & press the End key to minimize it;
- start S2P & enjoy

Q. How to get the HTC Wired Remote Control works?
A. From v0.58, S2P supports this remote with limited conditions:
- either TouchFlo (Manila) 2D/3D, HTC Home or FM Radio must be turned off.
- connect the remote, run S2PCHR.exe.
- select MENU -> Calibrate...; press the PLAY button on the remote; message "Calibration done!" comes out; QUIT.
- remember to run this calibration once after each soft-reset.
- enjoy!

Q. Does S2P support playlist?
A. No, not yet.

Q. The system icons on the top bar do not update?!
A. Yes, they only show the start status. But the battery level icon is up-to-date. However, they will all be live if S2U2 v1.00 is already running in the background.

Q. How to make S2P runs faster?
A. Some tips:
- organize the mp3 files in folders
- keep the mp3 files small (<= 256kbps)
- don't use embedded album art
- keep album art small (<= 200 square pixels)
- let S2P goes through every album for creating some cached files for later better performance
- set AlwaysLoadEmbedAlbumPic to 0
- set FastAlbumPic to 1
- set FullScreenAlbum to 0

Q. How to control S2P from other program?
A. http://xdaforums.com/showpost.php?p=2306639&postcount=1248

Q. Why S2U2, S2V & S2P are all free?
A. Because MS has left them in the factory.

Others
Q. Is S2P free?
A. Yes, but any donation is welcome (https://www.paypal.com/cgi-bin/webs...e=S2P Donations&no_shipping=0&no_note=1&tax=0), thanks.

Special Thanks
- Forum fellows at xda-developers (http://xdaforums.com). Thank you for your testings, comments, supports & patience.
 
Last edited:

Jackuuuuu

Senior Member
Dec 8, 2006
563
0
A_C!

Thank you!!! I have been waiting for this tooo long!!!

God blesses you!!!

3q3q.
 

snachez

Senior Member
Jul 16, 2008
526
129
Brisbane
Thanks for your continued efforts. This is without doubt the player of choice for the TyTnII. I've donated and hope you keep up the good work :D

- the Album View now can flow. (since this view is very CPU intensive, it may be sluggish on your device)
One Question : How do we enable album art scrolling ? I know how to do the rotate and coverflow mode, but is there a new flow on the main screen ?

Edit. I posted this while you were posting the readme. Ooops. Dbl tap the title if you can't figure it out.
 
Last edited:

A_C

Senior Member
Jan 5, 2007
1,364
4
www.ac-s2.com
Thanks for your continued efforts. This is without doubt the player of choice for the TyTnII. I've donated and hope you keep up the good work :D


One Question : How do we enable album art scrolling ? I know how to do the rotate and coverflow mode, but is there a new flow on the main screen ?

Thanks. It's the same old screen with easier navigation. Just try to slide the screen from left to right or right to left...

when i pressed power off button, will the music stop playing?

No.
 

Jackuuuuu

Senior Member
Dec 8, 2006
563
0
I can see album art in the main interface.

However, Album View works both in Portrait & Landscape mode.

Have try SR after installation.

Any ideas????
 

Darkchaser

Senior Member
Mar 17, 2008
269
19
www.realdroidgaming.com
I found that AlwaysLoadEmbedPic default value is actually 1 not 0.

Changing it back to 0 improved speeds a bit and solved some problems with covers not showing in normal view.

As expected album view is sluggish on my Hermes/8525, but it's still usable. If you want speed, just pause while you are using album view. And I also find that using portrait is faster than landscape. Just some suggestions.
 

azzambm

Senior Member
Jan 23, 2008
276
0
Syria
Thank you soooo much for your hardwork...
This version is amazing the album view in both portrait and landscape is working FLOW-lessly...
Once again thanks...
 

A_C

Senior Member
Jan 5, 2007
1,364
4
www.ac-s2.com
Some steps to make S2P runs faster:
- organize the mp3 files in folders
- keep the mp3 files small (<= 256kbps)
- don't use embedded album art
- keep album art small (<= 200 square pixels)
- let S2P goes through every album for creating some cached files for later better performance
- set AlwaysLoadEmbedAlbumPic to 0
- set FastAlbumPic to 1
- set FullScreenAlbum to 0
 

deuzeff

Senior Member
Jun 14, 2008
452
0
Q. How to have cover shown on S2P?
A. Either the music file already has cover pic embedded or you have to copy the cover file (either cover.jpg or folder.jpg or album*.jpg made by WMP) to the corresponding album folder.
A. Sudermatt has a script to update the album art directly from your device, goto http://xdaforums.com/showpost.php?p=2164454&postcount=920 for details.

Hi A_C, thanks for the update !!

I never care about album art before, but now I tried :). However, they don't show up, I don't know why. In the registry, options for cover are all set to "1". These covers are .jpg with correct name (cover, album etc).

You said in the FAQ that they have to be created by WMP, is it a restriction, meaning that if you download a pic from internet, and use it as a cover.jpg, it can't work ?

EDIT: I realised that double tapping ont the name of the song/album bring up the cover in a full screen mode, it works ;). But is there a way to get the cover also in "nomral mode", where there is the "music note" by default?
 
Last edited:

JeckyllHavok

Senior Member
Jul 21, 2007
1,231
56
Strike,
arrive at work and what will i see?
A new version of S2P, now this will become a great day.
Thanks man
 
T

Taninpv

Guest
2 seconds delay

I love the program, but took 2 seconds to skip to the next song.
It is a keeper though.
Thanks very much.

ps. Just checked with post #17..most of my mp3 are embedded with album art, therefore, that is why it is kinda slow.
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Could anyone help me with a script or the commands for shuffle on and off. I want to use it for a music page in my WAD theme. Not very familiar with Mortscript, so has anyone got one put together already? I tried a simple script to write to the registry, but it only seems to write when S2P is closed. Is there a command like that of play, next, and previous?

    if you check the lakerbridge forums there are some S2P scripts.