Go Back   xda-developers > Windows Mobile Development and Hacking > Windows Mobile Apps and Games


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th November 2009, 10:05 AM
zanix's Avatar
zanix zanix is offline
Member
 
Join Date: May 2009
Location: Pocatello
Posts: 75
Default [WM6.5][Titanium plg] PlayIt! v0.40 - Control S2P / Nitrogen | Uses: JMLPanex, TICS

PlayIt! (Titanium Music Player Control) v0.40 (11-6-2009)

PlayIt! is a Windows Phone 6.5 Titanium plugin to control and display the status of S2P or Nitrogen.
PlayIt! is the continuation of CS2P.

Uses the TICS RC3.1 (Titanium Installator Controller Saver) installer for Titanium by MichelDiamond
http://forum.xda-developers.com/showthread.php?t=564884


Thanks
  • The original author of CS2P, chriscsh
  • MichelDiamond for s2pcheck.exe and nitrogencheck.exe
  • German locale file by der_Volki


Requirements
Default skin works for all Resolutions, portrait and landscape
Uses JMLPanex for button press detection



Installation
  • Extract the contents of the Zip file to your hard drive
  • Copy the CAB file to your device.
  • On your device, run any File Explorer application; go to the folder where the
    CAB file was copied to; run the CAB file.
  • PlayIt! will be installed, you may set up the plugin at any time.
NOTE! If CS2P was installed previously, the install will kill and delete the 24/7 script that was running when it was installed
You should uninstall CS2P when using PlayIt!


Operation
PlayIt! enables a registry change notification (s2pcheck.exe, nitrogencheck.exe).
They monitor the status of S2P and Nitrogen and update the panel.
This means no script is running 24/7.

The plugin has 1 page/panel
  • There are 4 buttons on the panel
    • Previous
    • Play/Pause
    • Next
    • Open Player
  • Right softkey will go to the setup page

Each button functions differently when the player is running or not running
Not Running
  • "Previous", "Play/Pause", or "Next" starts the player, then minimizes it
  • "Open Player" starts the player, does not minimize it

Running
  • "Previous", "Play/Pause", or "Next" are what they are
  • "Open Player" opens the player window


Settings
The behavior and look of PlayIt! can be altered by accessing the settings page, via the right softkey.
The current value is shown in parenthesis
  • Player: Set the music player for PlayIt! to control
  • Skin: Change the skin
  • Vibration: Enable/disable vibration feedback
  • Language: Change the language
  • Refresh Titanium: Refreshes/reloads the Titanium interface in case of glitches or errors
  • Exit Setup: Exits the setup page

Instructions for Locale Zip Files
Extra and updated locale files will be available here between releases of PlayIt!
I will include new/updated files on every release.
  • PlayIt_de.zip - German
To use these files, extract the .ini file to the PlayIt/locale/ folder, then click Setup to select the new language
Attached Files
File Type: zip PlayIt_v0.40.zip (317.8 KB, 773 views)
File Type: zip PlayIt_de.zip (959 Bytes, 74 views)

Last edited by zanix; 17th November 2009 at 04:55 AM.. Reason: Added German locale file
Reply With Quote
Sponsored Links

  #2  
Old 6th November 2009, 10:05 AM
zanix's Avatar
zanix zanix is offline
Member
 
Join Date: May 2009
Location: Pocatello
Posts: 75
Default

Screen Shots - Default Skin (v0.40)



Change Log
Code:
--[0.40]----
* Changed name to PlayIt! because a complete rewrite of CS2P and support for Nitrogen
* Removes old CS2P startup script
* Added Nitrogen support
   o Timebar and/or current track time to come soon
* Added Skin support
   o To add a new skin, create a new folder under "PlayIt\skins" and the settings panel
     will auto detect it
   o Skins have an skin.ini file for information and a skin.plg file for layout
   o Some images names must be the same as default for skins to work correctly!
     Details are in forum post
   o Certain ID attributes in the .plg MUST stay the same for the button detection to
     work correctly! Details are in forum post
* Tweaked the default skin landscape buttons to match the portrait buttons
   o This is due to JMLPanex v2.00 not detecting button locations differently in landscape
     mode. This is fixed with JMLPanex v2.10, but I already changed the skin, so oh well
* Default Skin tested in All resolutions using the Windows Mobile 6.5 emulator,
  so hopefully it looks good
* Improved status display when panel is not active
* Added settings control, via right softkey
* New button "Open Player" (right softkey did this in previous versions)
* Using the TCIS RC3.1 plg installer - http://forum.xda-developers.com/showthread.php?t=564884
* Changed button detection, uses JMLPanex v2.10 or higher - http://forum.xda-developers.com/showthread.php?t=552373
For a more complete history, look at History.txt in the zip file


To-Do
  • Add an option to disable "Minimize on Activation" from the panel when a player is not running.
  • Create a "Mini Mode" skin
  • Allow name of the panel to be the name to the current active player or a user input value
  • Add a timebar or status for Nitrogen
  • Add a volume level indicator
  • Other ideas are welcome

Last edited by zanix; 6th November 2009 at 04:56 PM..
Reply With Quote

  #3  
Old 6th November 2009, 10:06 AM
zanix's Avatar
zanix zanix is offline
Member
 
Join Date: May 2009
Location: Pocatello
Posts: 75
Default

Skin Support
PlayIt! supports skins
You can change the skin in the Setup screen

Add a new skin
  • Create a new directory (or copy default) in the skins directory
  • Create a skin.ini file
    This is an information file for the skin
  • Create a skin.plg file
    This is the layout file for Titanium
  • Some image file names must be the same as default for skins to work correctly
    blank.png, cPause.png, cPlay.png, Next.png, NoCover.png, Pause.png, Play.png, Player.png, Prev.png, repeat_1.png, repeat_music.png, repeat_off.png, repeat_on.png, shuffle_off.png, shuffle_on.png
  • Certain ID attributes in the .plg MUST stay the same for the button detection to work correctly
    <Layer ID="PlayItExpanded"><Layer ID="Page">: RewindImg, PlayImg, NextImg, PlayerImg, AlbumArt, Repeat, Shuffle, TEXT1, TEXT2, TEXT3
    <Layer ID="PlayItCondensed"><Layer ID="Page">: PluginLabel, Title, PlayImg, TEXT1, TEXT2, TEXT3
    For ID="PlayItCondensed", you can either use PluginLabel to show "playit" all the time, or use Title to show it only when the player is running
  • Copy the new skin directory to the skins directory and run Setup to change


Multi-Language Support
PlayIt! supports multiple languages
Just about everything in PlayIt! is localized
You can change the language in the Setup screen

Adding your language
  • Copy PlayIt_en.ini in the locale directory and rename it for you language code
    (Ex. rename PlayIt_en.ini to PlayIt_de.ini)
  • Edit the text for your language
  • Copy the new file to the locale directory and run Setup to change the language
Reply With Quote

  #4  
Old 6th November 2009, 10:07 AM
zanix's Avatar
zanix zanix is offline
Member
 
Join Date: May 2009
Location: Pocatello
Posts: 75
Default

Reserve three of more
Reply With Quote

  #5  
Old 6th November 2009, 06:34 PM
bigman1 bigman1 is offline
Member
 
Join Date: May 2009
Posts: 44
Default

I love it!. Now to figure out how to incorporate it into titanium themes other than the default.
Reply With Quote

  #6  
Old 6th November 2009, 07:00 PM
zanix's Avatar
zanix zanix is offline
Member
 
Join Date: May 2009
Location: Pocatello
Posts: 75
Default

Currently it will install to the current Titanium theme.
The function that installs the plg into Titanium (PlayItSubs.mscr -> Sub InstallPlg) can accept more parameters for other Titanium themes, but right now I'm just calling it with defaults when a new skin is selected (PlayItSubs.mscr -> Sub ChooseStyle).

Last edited by zanix; 6th November 2009 at 07:03 PM..
Reply With Quote

  #7  
Old 6th November 2009, 08:24 PM
claus1953's Avatar
claus1953 claus1953 is offline
Senior Member
 
Join Date: Aug 2008
Posts: 1,633
Default

Congratulations Zanix, was waiting for this release and will try it out right away.
Thanks
__________________
HTC touch P3451 Elfin
Processor OMAP850-201MHz
Manila 2.0 and Titanium
ROM: WWE WM 6.5.X, build changing by the mood
RADIO 03.34.90
IPL / USPL 3.10.0000

Switch Titanium themes in WM 6.5 easily, new beta
Reply With Quote

  #8  
Old 8th November 2009, 04:34 AM
naynada naynada is offline
Junior Member
 
Join Date: Dec 2008
Posts: 16
Default

Love it! Thanks Zanix
Reply With Quote

  #9  
Old 8th November 2009, 10:44 AM
mashimus mashimus is offline
Junior Member
 
Join Date: Aug 2008
Posts: 18
Default

Hi Zanix,

First of all, thanks for all your work! However, I have a issue with PlayIt! 0.40 that I hope you can help me fix. I have a Samsung Omnia i900 with the following installed:

WM 6.5 Professional with the Titanium (CHome) interface
S2P v0.72-beta (I have always tried 0.73)
Mortscript 4.2
JMLPanex v2.10

It installs correctly, however all buttons (Prev Track, Play, Next Track) don't do anything besides open S2P... what am I doing wrong..?

Thanks!
Reply With Quote

  #10  
Old 8th November 2009, 12:08 PM
zanix's Avatar
zanix zanix is offline
Member
 
Join Date: May 2009
Location: Pocatello
Posts: 75
Default

Once S2P is open, will the buttons control it?
Pressing the prev, play, next buttons when S2P is closed will run it, then immediatly minimize it. The "player" button will open, and stay in S2P.

Or are they just activating S2P and not controlling it?
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:32 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.