Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,105 Members 52,200 Now Online
XDA Developers Android and Mobile Development Forum

[Q] TMU CoverArt rotation

Tip us?
 
Faxx4840
Old
#1  
Faxx4840's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 252
Join Date: Feb 2013
Location: Welkenraedt, BE
Default [Q] TMU CoverArt rotation

Hi there,


I'll try to make my coverart rotate during the playtime.

Anybody has an idea of the variable ? ! Think it will be something like this [r]$(360/??*??)$[\r] but don't know what to put in the place of ??.

Thanks for help.
NEXUS 5 BLACK 16 GB
Android KitKat 4.4.4
Code Blue Kernel r280
MahdiRom | 2.7 | 2014/08/12 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY MY DEVIANTART GALLERY
 
scottx .
Old
(Last edited by scottx .; 17th April 2014 at 02:11 PM.)
#2  
scottx .'s Avatar
Senior Member
Thanks Meter 772
Posts: 2,200
Join Date: Jun 2011
Location: San Antonio, Texas
Quote:
Originally Posted by Faxx4840 View Post
Hi there,


I'll try to make my coverart rotate during the playtime.

Anybody has an idea of the variable ? ! Think it will be something like this [r]$(360/??*??)$[\r] but don't know what to put in the place of ??.

Thanks for help.
You can do this in advanced parameters (of the coverart bitmap)

Code:
$#TMU_ISPLAYING#=1?[r]180[/r]$
So when it's playing it will flip it 180 degrees.
Google Nexus 4 (16gb, mako (rev_11))
Google Nexus 7 (2013) (16gb, flo)
LG G2 (32gb, D-801)

M. Scott @ Google Play. (Zooper Skins)
 
Faxx4840
Old
#3  
Faxx4840's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 252
Join Date: Feb 2013
Location: Welkenraedt, BE
Thanks but I want that the cover rotate during all the playtime like a vinyl

Envoyé de mon Nexus 5 en utilisant Tapatalk
NEXUS 5 BLACK 16 GB
Android KitKat 4.4.4
Code Blue Kernel r280
MahdiRom | 2.7 | 2014/08/12 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY MY DEVIANTART GALLERY
 
scottx .
Old
#4  
scottx .'s Avatar
Senior Member
Thanks Meter 772
Posts: 2,200
Join Date: Jun 2011
Location: San Antonio, Texas
Quote:
Originally Posted by Faxx4840 View Post
Thanks but I want that the cover rotate during all the playtime like a vinyl

Envoyé de mon Nexus 5 en utilisant Tapatalk
Maybe you could use the track position to change the bitmap rotation.
Google Nexus 4 (16gb, mako (rev_11))
Google Nexus 7 (2013) (16gb, flo)
LG G2 (32gb, D-801)

M. Scott @ Google Play. (Zooper Skins)
 
Faxx4840
Old
#5  
Faxx4840's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 252
Join Date: Feb 2013
Location: Welkenraedt, BE
How can i do this ?

Envoyé de mon Nexus 5 en utilisant Tapatalk
NEXUS 5 BLACK 16 GB
Android KitKat 4.4.4
Code Blue Kernel r280
MahdiRom | 2.7 | 2014/08/12 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY MY DEVIANTART GALLERY
 
Faxx4840
Old
#6  
Faxx4840's Avatar
Senior Member - OP
Thanks Meter 122
Posts: 252
Join Date: Feb 2013
Location: Welkenraedt, BE
Finally I found the variable. If that can help other people :

#TMU_COVERART#
[bo]$#TMU_ISPLAYING#=0?0:100$[/bo]
[r]$(360/100*#TMU_TRACK_PERC#)$[/r]

Enjoy
NEXUS 5 BLACK 16 GB
Android KitKat 4.4.4
Code Blue Kernel r280
MahdiRom | 2.7 | 2014/08/12 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY MY DEVIANTART GALLERY
The Following User Says Thank You to Faxx4840 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Android App Review: Hide Your Files with Androignito – XDA Developer TV

Stop right now, look at your phone, and see how many pictures, … more

BrightNotes Makes Cloud Notes Simple and Easy

There are literally thousands of note taking apps available on Android, with practically every … more

Google Glass XE20.1 Update Brings Improved Contacts, Head Nudge, New Cards and Commands

Ever since Google unveiled Android Wear earlier this … more

Remote Control Your Android Device with Monitordroid

The Android OS showsgreat potential in many areas. One of most interesting things that … more