yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] kane159:
hello there , I copy your way and make one for CNitrogen :D

I really like your way to do that;)

do you mind I'll share it here??

CNitrogen v0.1

if you mind I'll not shere it :o

have a nice day :o
[Windows Mobile Apps and Games] chriscsh:
Yes! no problem :D
[Windows Mobile Apps and Games] unowho:
Please help with WVGA / touch HD settings

Hi, has anyone managed to get cs2p v0.32 fully working in WVGA (on touch HD etc)?

If so, please can you tell me the settings you used?

I've tried adding 80 to the YP value as dark fang suggested (thanks dark fang) and many other vlues but no joy.

Any help would be warmly received.

Just to cover the exact problem... I can launch s2p by pressing the play button but when I go back to titanium, the (rewind, play and fast forward) buttons appear active when pressed but the expected outcome isn't achieved.

Thanks,

Mark.
[Windows Mobile Apps and Games] Hellsblade:
No action

High i upgraded Cs2p v2 to v032, but there seems to be no action on pressing the play, next and previuos track buttons. The haptic feedback works. But thats it.

Any suggestions on how to resolve this?

I'm using PDA corner v8 rom at the moment.

rgrds,

Hellsblade
[Windows Mobile Apps and Games] Tabs78:
is it possible have all button in titanium wm7 skin?
[Windows Mobile Apps and Games] ryomahino:
When you release this version?
[Windows Mobile Apps and Games] JukEboXAuDiO:
This is not working for me. When I open S2P and minimize it, it does not show the song that is playing. Ideas? It says click here to start S2P. But the controls work.
[Windows Mobile Apps and Games] orzo92:
i try it on my Tosi g900 and... it's work veeery good! :D sometimes it's slow reaction, but it's work!

sorry for my bad english.
[Windows Mobile Apps and Games] rainmein:
Hey, thanks for this neat program but I have two problems.

The cover picture is not the "nocover.png" but a big, red circle with a white cross which doesn't look good at all. And I noticed too that the buttons are reacting pretty slow. Most of the time I have to press the button a second time.

Can anybody help me?
[Windows Mobile Apps and Games] chriscsh:
@ wildman

try change the registry below

HKLM\Software\Microsoft\CHome\CS2P\Setting

YP=234
[Windows Mobile Apps and Games] wildman:
Thank You, that setting got the buttons working now, the only strange thing now is that the song name and covers won't show now, any ideals?
[Windows Mobile Apps and Games] wildman:
Problem Solved, Figured out issue, had S2U2 trying to control also, after switching control off on S2U2 all is functioning correctly.

Thanks for the nice work.
[Windows Mobile Apps and Games] ryomahino:
Hi Chrisch,are you planning to release this skin for CS2P soon?

Looks awesone¡¡¡
[Windows Mobile Apps and Games] MrMef:
H guys,

I have a little issue, I can start S2P from the plug-in, but after that the pause, next etc. button do not function within home screen.. any clue how to fix that? Also I can see the song name at home screen and a big red cross as well once playing :)

Thanks,

MrMef
[Windows Mobile Apps and Games] zanix:
Update for S2P v0.72-beta?

I felt like updating this for the new S2P v0.72-beta and I would like to share these changes

I attached a cab file, and I hope it works :D

EDIT: Bad file in this cab, new one is below
[Windows Mobile Apps and Games] zanix:
I made a mistake in the CS2P-Setup.mscr file in the cab in the above post

It asked you to set it up each time you press it, oops

Seems I removed the rewrite to the ACTIONURL key after the setup finished

Newer cab in new post
[Windows Mobile Apps and Games] tengoku:
works on my omnia (i900L) but the buttons not.. weird when i tap the buton it changes the color but doesn't do anything. heres the pics
[Windows Mobile Apps and Games] zanix:
This happens to me as well, but only sometimes

I think it might have to do with the colorat() detection the script uses to detect a button press. Since the buttons have a gradient, and the fact they are scaled down to fit smaller screens, the location it gets the color point might not exactly match what it is expecting.

I wonder if a multi-point sample could be taken, and it it matches one of the colors, it activates.
[Windows Mobile Apps and Games] DSwarP:
I've tried getting v.3 and v.32 to work but the buttons just restart the song when I press them in v.3, and in v.32 it just vibrates and makes no change to the song at all.

v.2 is working alright though, so I am fine with that.

I'll keep testing new updates though. Keep up the good work!

EDIT: Oh, also one other thing. In the CNitrogen app that I had been using previously, the artist of the song was updated on the Today screen to reflect it... as in, it didn't just say "CNitrogen" in the way that yours says "s2p music" all the time. I was wondering if you had plans to or if you could incorporate an update that would include the song on the Today screen.

Thanks again.
[Windows Mobile Apps and Games] valkryomnia:
I cant get any of these versions to work on my omnia i910. giant X's show up everywhere.

Clicking setup says "Script\Program Files\Cs2p\setup.mscr is not found. (Storage card not initialized?)"

:(

Please help.
[Windows Mobile Apps and Games] MrMef:
I think you have to install it to main memory, not sure though
[Windows Mobile Apps and Games] zanix:
I believe so, the file paths in the scripts link to main storage
[Windows Mobile Apps and Games] MrMef:
Pity it doesn't work for me, I setup with vibration to check if the button for next, pause work but I get just vibration and the plug-in can just start S2P but nothing else :( :confused: help!
[Windows Mobile Apps and Games] zanix:
Seems the button locations are a bit "off"

You need to edit the registry

HKLM\Software\Microsoft\CHome\CS2P\Setting

YP=179

YL=97

What is your screen resolution?

if it's other than 240*400, can you attach screen shots?

I can make that happen!

See my next post
[Windows Mobile Apps and Games] zanix:
CS2P v0.33 - by Zanix

Another update to CS2P by me

Requires at least S2P 0.72-beta

This uses the new registry values from S2P 0.72-beta

Using an older version is not advised since the registry keys might not exist

HKCU\Software\A_C\S2P\CurrentAlbumName

HKCU\Software\A_C\S2P\CurrentArtist

Changes from v0.32

Changed button press location for 240x400 screens

[HKLM\Software\Microsoft\CHome\CS2P\Setting]

YP=179

YL=97

Fixed a couple of invalid values in the layout file

Inactive/Condensed title "s2p music" is now updated to show artist and title of the current playing song

(I don't like how this looks, I'm thinking of something better)

Removed s2prun_noV.mscr, replaced with a registry setting

[HKLM\Software\Microsoft\CHome\CS2P\Setting\VIB]

enable=1

disable=0

Added default.plg layout edit from drkfngthdragnlrd
[Windows Mobile Apps and Games] DSwarP:
They appear to be 240x320.
[Windows Mobile Apps and Games] zanix:
Try setting this registry key

[HKLM\Software\Microsoft\CHome\CS2P\Setting]

YP=138
[Windows Mobile Apps and Games] DSwarP:
Victory! Thanks man.

Also, even though you had listed it in the new update, it still only seems to say s2p on the screen rather than the song name. This isn't a problem that affects functionality, just thought I would give you a heads up.

EDIT: Ah, it might be because I just installed the .73 S2P beta, and perhaps he changed the registry values around.
[Windows Mobile Apps and Games] zanix:
Oops, it seems I packed the wrong S2Pcheck file

It's one I'm working on for a better layout, which doesn't update the plugin label
[Windows Mobile Apps and Games] zanix:
CS2P v0.34 - by Zanix

Another update to CS2P by me

Requires at least S2P 0.72-beta

This uses the new registry values from S2P 0.72-beta

Using an older version is not advised since the registry keys might not exist

HKCU\Software\A_C\S2P\CurrentAlbumName

HKCU\Software\A_C\S2P\CurrentArtist

Changes for v0.34

Changed button press location for 240x320 screens

[HKLM\Software\Microsoft\CHome\CS2P\Setting]

YP=138

YL=97

I included the wrong s2pcheck.mscr file in v0.33, sorry

This version should now update the Inactive/Condensed title correctly

(If you do not want to re-install, I also attached the correct s2pcheck file, just copy it to /Windows/StartUp/)

Changes for v0.33

Changed button press location for 240x400 screens

[HKLM\Software\Microsoft\CHome\CS2P\Setting]

YP=179

YL=97

Fixed a couple of invalid values in the layout file

Inactive/Condensed title "s2p music" is now updated to show artist and title of the current playing song

(I don't like how this looks, I'm thinking of something better)

Removed s2prun_noV.mscr, replaced with a registry setting

[HKLM\Software\Microsoft\CHome\CS2P\Setting\VIB]

enable=1

disable=0

Added default.plg layout edit from drkfngthdragnlrd
[Windows Mobile Apps and Games] motisu:
Hi,

I went back to V0.2 because I don't need the album art as I only use S2P for audio books and I would rather not have the extra space taken on the panel. Is it possible to add an option in the next version to not display the album art and save the space?
[Windows Mobile Apps and Games] zanix:
I think so, let me mess with it and see what I can come up with.

I just got a Windows 6.5 Emulator so I can check how CS2P functions in other resolutions, and maybe even add some more options as well.

I am also thinking about the inactive / condensed mode, showing what is playing and maybe a status icon. Here is what I have so far.
[Windows Mobile Apps and Games] DSwarP:
Woah. I didn't realize you could do more than the full sized lettering! That looks great. Although I don't like the > and || much, but afterall it is your program. :P
[Windows Mobile Apps and Games] zanix:
Yep, you can just about have anything in the inactive state. I could even put the full panel in there! But that would look kinda funny.

I don't like the > and || lettering either. This is more of a test, and I think I'll use icons when I'm done.
[Windows Mobile Apps and Games] motisu:
Hi,

Is it possible to use JMLpanex to detect plugin key presses instead of the script which has to run 24/7? This would save battery power as it is 1 less process running all the time.

Another suggestion:

Use TICS instead of ATplugin installer. TICS was originally written to allow JMLHToday to be installed into any Titanium cpr and not just "Titanium.Cpr". I am not a developer, but I understand that it is far more flexable than ATPlugin is.

For more info, here is its link:

* ---TICS-Installer inject .plg's in all .cpr's*
[Windows Mobile Apps and Games] zanix:
Just using JMLpanex to detect presses wouldn't save any processes.

The background script that CS2P uses is to detect changes in S2P such as the album art, artist, track name, etc...

The button press detection is activated only when the panel is touched, and ends immediately.

In my next version, the background script only makes updates when the data changes, so there isn't constant registry writes, which I'm sure saves CPU cycles.

I suppose I could only run the background checker when the panel activates S2P, and have it kill the background script when S2P closes.

The problem with this, is that CS2P will not update if S2P is run via the start menu or another process.

As for using JMLpanex to detect button presses, I don't know about that since I'm not quite sure how to use it with CS2P. It does seem better than the ColorAt() method the script currently uses. Guess I need to do some reading.

I will be using TICS for the installer in the next version. I *think* it's right, I have it install the plg into the current running cpr.

I am also adding the ability to support skins.
[Windows Mobile Apps and Games] kwill:
Hey zanix, will the updates you made, also work better for VGA screen? I guess I can just check it out and see.:D

Checked out the latest release and still a no go for music going forward or backwards. The buttons vibrated, it's just the song never goes to next. (640x480 screen) and wish these newer versions would work right.
[Windows Mobile Apps and Games] MichelDiamond:
I've made a short description which explains which little steps has to be made to replace ATPluginInstaller with TICS_installer -> http://xdaforums.com/showpost.php?p=4614040&postcount=2

Yes - you are right - that's 2 different things - why a 24/7-Mortscript is used in the Plugin - but perhaps I can help you a little bit. There is one for a user-action (tapping on a Button) and the other one is a system event (changing song, Title,...)

1. Thing: ColorAt -> This is the User-Action - so for this case you can take JMLPanex - it calls the same scripts than Color-Method - but with no additional process

2. Thing: System-event - changing album art, artist, track name - the correct way would be to add this Registry-Keys to Windows Notification Queue - and Windows would send an event, if a Key is changed - which you can handle. But: Mortscript cannot do this event/notification handling - and before it's to complicated - I would propose a Workaround where you can get also get rid of a 24/7-Mortscript:

Mortscript knows ONE Notification - which is already handeled by Windows - it's the "Time Event" - and that's the Command in Mortscript "RunAt"

With this command you can add Scripts to the notification queue - and they will be called on a certain time. In the Time between there's no need of a running script. MortScript is an Interpeter - and therefore a "while(1)" with "sleep" would not terminate the script or the Mortscript Process.

So you could use this for your Plugin:

If the "Play"-Script is Running - you know the position of the Song - e.g. 0:35min - and you know the length of the song, e.g. 3:40min

So you know - the next system event will come in 3min and 5 seconds.

Then you make a RunAt-Entry of your "UpdateView"-Script which is CurrentTime+3min5seconds - and exit your script.

If ythere was no User Interaction meanwhile - your Mortscript to update your Plugin will be called at the perfect time - it waits until the new Title/Album name is inRegistry and puts this info to your Page1-Registry

Then you know the new length of the new song - and so you know, when the next RunAt has to be triggered by Windows.

If the User makes an Interaction (Button Press) - then you use the Script which is already associated with the Button and afterwards you know again Position of Song and End-of-Song and updates the RunAt for the next system event.

With MortScript-Command "RemoveNotifications" you can delete old script-call from Notification Queue - and then add the new call time.

With "Kill" and "KillScript" you can also correct terminate your Script and S2P, if the User is pressing "Stop" (or "close" - would be better to have 2 Buttons - and only "close" would terminate S2P-Process)

Perhaps it helps you - at least so you have only running Scripts, when the user really needs it.

Greets

Micha
[Windows Mobile Apps and Games] motisu:
I think that this is fantastic!!! This is what XDA-Developers is all about: free interchange of ideas to improve everyone's experience and performance.
[Windows Mobile Apps and Games] zanix:
Yes, I really like how TIC handles Titanium panel installation, you call it when you *want* to.

Good stuff, thanks for all of the pointers!

I do have a few questions if you do not mind. :D

I would like to use JMLPanex for the buttons. Trying to account for all screen resolutions and the offset caused by WM 6.5.1's new, smaller "topbar", vs the older 6.5 and lower builds is a pain. (topbar? should that be taskbar? meh...)

Does JMLPanex have to be installed in order to use it's button detection?

If it does, should I distribute the cab in this plug-in?

If not, how would be the best way to include it with this plug-in?

There is an issue with having the detection script only run when a user interacts with the plug-in, and using RunAt(). What happens when the user interacts with S2P directly? CS2P would have no way to detect changes this way, the plug-in would show old information until the user initiated some action, or the RunAt() starts.

I do wonder about this Windows Notification system though...

Do you know if mortscript, when you do something like this...

while(1)
Sleep(1500)
endwhile

Is Sleep(1500) a REAL sleep, where the script consumes no processes while it's sleeping?

Like, would it be the same as using RunAt() to run the script 1.5sec in the future?
[Windows Mobile Apps and Games] zanix:
Thanks for the info Micha.

So right now I'm trying to decide how to go about checking the status of S2P.

It's easy while it is running, using RunAt() when the song should be over.

The hard part is deciding what to do when S2P is not running.

Do I run a background script 24/7 to check the status?

Do I use RunAt() and have it check every 5 or 10 minutes and have user interaction reset RunAt() to the current song's length?

Or should I give the option for both modes, allow the user to decide how they want it to run?
[Windows Mobile Apps and Games] MichelDiamond:
Hi,

I'm not sure,if I understood all features. you are talking about,if a user starts s2p direct,that cs2p should detect this start?

because otherwise it wouldn't be a problrem,if User has already made something in cs2p and you have a RunIt-Entry and wwould be a able to know,that s2p was closed.

right?

I assume,that user won't use cs2p the whole day.the most user will use it only sometimes a day.

so a 24/7 script could be disturbing.

so if cs2p is not running and the User starts s2p diect,I would recommend,that you do nothing as option.only if User does an action on cs2p would check,that s2p is already running and then it would refresh the information-and then you are again in the "runAt-cycle"

and of course-a user knows,how important is it for him,that cs2p should start direct with start of s2p-so your RunAt-option (every 3 min) would be a second option,which he can choose.

Perhaps there's a better solution,too,but only with C later on... which registry key changes,if s2p is started? but for later,I must have a look.

At first the 2 options above could be enough,perhaps some users would write here,what they would prefer? :)

Greetz

Micha
[Windows Mobile Apps and Games] zanix:
Dang, it doesn't look like S2P sets anything for the length of the song
[Windows Mobile Apps and Games] chriscsh:
yes, s2p only show the position of the last song in % :(
[Windows Mobile Apps and Games] MichelDiamond:
Is it possible to find out the total duration of the current song ("LastMusic") ? The mp3 must be linked - and there could be the duration found out.

Together with % you would know the Information about the rest time.
[Windows Mobile Apps and Games] zanix:
LastMusic is the last song that played when S2P is closed, not the current song or even the last song that played

It doesn't even update when you change songs

LastDuration is the same, it's the last song song's current position when S2P is closed. It's in seconds I believe

These values must be for auto resume when S2P closes, since they only change when S2P is closed

This is not looking good, the only other thing I can think of is running the background checker when C2P is activated, and self exit when it detects that S2P is no longer running
[Windows Mobile Apps and Games] zanix:
I'm almost ready to release an update. I just found out that a JMLPanex button still needs to be inside of the focus bar to actually work. I need to figure out how to add a settings button without moving the existing buttons (don't want to make them any smaller than they already are)

The script is currently still running 24/7.

These issues are what's holding me up
[Windows Mobile Apps and Games] chriscsh:
the "LastDuration" is show in second (sorry, my fault):p

but the problem is it only update when exit s2p
[Windows Mobile Apps and Games] chriscsh:
i have a suggestion, when click the album image to open the s2p,

and click other place to open the setting menu

(zanix, if you have interest to take this job (CS2P or if you want a new name), maybe you can add a new thread, cause i think that you could easy to update the post, and let ppl easy to find your new update

and i'm working the new CHeroMusic in my Titanium Hero Theme, that include the S2P & Nitrogen, the Nitrogen have the playing Time, total time & playing timeline bar, if you have interest, i can send you the link after that fininsh);)
[Windows Mobile Apps and Games] zanix:
I did think about changing the right softkey to Settings, but I kinda liked the link to S2P, to be able to open it rather than only being able to just control it.

Using the album cover might work though, it just needs to be inside of the focus area.

I am quite interested in working on this, and a new thread would make sense

Nitrogen is something I wanted to check out, but it's lack of AVRCP control support is what's been keeping me from using it.

I did notice someone modified CS2P to work with Nitrogen, perhaps I could add support for Nitrogen as well...

I wonder what this should panel would called then?

CNitro2P? TitaniumNitroS2P? CS2Nitrogen?

Oh the horrible naming possibilities! LoL

I will make a new thread when I'm ready to release v0.40

OOooooo yes, do share
[Windows Mobile Apps and Games] MichelDiamond:
IT's possible to control much things with JMLToday-notification - Chris uses it for his UI (where's CS2P is inside) - and he uses the Time-Event to update the Hero Clock and if there would be also a S2P-check?

Otherwise - I'm a little short of time at moment- but when I have a little more time - I will have a look to the Registry-Keys of S2P- if I could make a new notification-check if it's running. But that will take a little time at the moment.

For Menu with "S2P" or "Settings"... mmh :) if you look inside TitaniumRSS - you will find the .exe and the configuration by .ini-File - it's easy if you look inside the mortscript-code to configure and call this .exe - feel free to use it for your Plugin ;) Then you'd have a nice Context Menu.

Keep up great work!

Micha