Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,619 Members 52,099 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 109
Posts: 227
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
Kernel ElementalX-N5-1.00
ParanoidAndroid | 4.42 | 08/07/2014 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY My Zooper - Made_by_Faxx GALLERY
 
scottx .
Old
(Last edited by scottx .; 17th April 2014 at 02:11 PM.)
#2  
scottx .'s Avatar
Senior Member
Thanks Meter 768
Posts: 2,194
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 109
Posts: 227
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
Kernel ElementalX-N5-1.00
ParanoidAndroid | 4.42 | 08/07/2014 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY My Zooper - Made_by_Faxx GALLERY
 
scottx .
Old
#4  
scottx .'s Avatar
Senior Member
Thanks Meter 768
Posts: 2,194
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 109
Posts: 227
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
Kernel ElementalX-N5-1.00
ParanoidAndroid | 4.42 | 08/07/2014 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY My Zooper - Made_by_Faxx GALLERY
 
Faxx4840
Old
#6  
Faxx4840's Avatar
Senior Member - OP
Thanks Meter 109
Posts: 227
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
Kernel ElementalX-N5-1.00
ParanoidAndroid | 4.42 | 08/07/2014 |
------------------------------------------------------------------------------------------------------------------
CLOUD DROPBOX - NEXUS 5 CLOUD
GALLERY My Zooper - Made_by_Faxx 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


TRENDING IN THEMER...