XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 7th, 2025, 8:43 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: October 12th, 2014, 6:54 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Guys could you pls confirm if using the "playercontrolcore" and "%volume" to control the player's volume doesn't work in the latest version of XW..? (v1.9.2.903) :?
I try it wilth txt, image(click on) and roundline and nothing of them seem to respond to the command...
(the text recognizes the value but doesn't change)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: October 17th, 2014, 4:55 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
i tested with our old project (CleanPlayer), and it's working,
how do you using it?
make sure you have added the command/function to the Event of object


Top
 Profile  
 
PostPosted: October 17th, 2014, 5:25 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
hamid wrote:
i tested with our old project (CleanPlayer), and it's working,
how do you using it?
make sure you have added the command/function to the Event of object

Make a NEW simple project hamid and you will see that it doesn't work..
In the same design, I only replaced it with the general volume control code/commands and worked... :?

The widget is posted days ago but you can test it by yourself..
http://jimking.deviantart.com/art/Techn ... -488056451

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: October 17th, 2014, 7:29 pm 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
i have tested it, and it works for me without any problems


but why you have used 2 text objects in each side of roundline?
maybe you wanted one to display value and another % sign?
but it has 0 on the one with % sign,
is it a mistake or it should be this way?


edit:
i have tested it with the VolumeCore,
am i suppose to change it to PlayerControlCore for testing?


edit2:
i have tested it with PlayerControlCore, and it's working,
maybe it wasn't working for you because you didn't add the commands for the PlayerControlCore,
the command for Cores are different:

example:
for VolumeCore, it is: [!DownVolume=10]
for PlayerControlCore, it is: [!VolumeDown] (it will change the volume by 5%)


Top
 Profile  
 
PostPosted: October 18th, 2014, 12:45 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Quote:
but why you have used 2 text objects in each side of roundline?
maybe you wanted one to display value and another % sign?
but it has 0 on the one with % sign,
is it a mistake or it should be this way?

There are two txt objects:
- 0% (the bottom text without any tag assigned)
- The (%) txt (that has the corrisponding tag showing the percentage)
Quote:
edit:
i have tested it with the VolumeCore,
am i suppose to change it to PlayerControlCore for testing?


edit2:
i have tested it with PlayerControlCore, and it's working,
maybe it wasn't working for you because you didn't add the commands for the PlayerControlCore,
the command for Cores are different:

example:
for VolumeCore, it is: [!DownVolume=10]
for PlayerControlCore, it is: [!VolumeDown] (it will change the volume by 5%)

I know all this hamid! I added the commands but nothing... I'm not so rookie man!
The fact is that using the playercontrolcore volume % tag, not work for all the 3 objects (the txt recognizes the value but doesn't change, the click on commands to up/down WITH the corrisponding tags (!VolumeDown) don't work, the roundine either)
So something is wrong there.....

btw you have saw my pm..?

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: October 18th, 2014, 1:22 am 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
Quote:
btw you have saw my pm..?
yes, i'll do it later, maybe tomorrow,



Quote:
There are two txt objects:
- 0% (the bottom text without any tag assigned)
- The (%) txt (that has the corrisponding tag showing the percentage)

so what's the reason for using zero for bottom text? :!:




Quote:
I know all this hamid! I added the commands but nothing... I'm not so rookie man!
The fact is that using the playercontrolcore volume % tag, not work for all the 3 objects (the txt recognizes the value but doesn't change, the click on commands to up/down WITH the corrisponding tags (!VolumeDown) don't work, the roundine either)
So something is wrong there.....
but that's working for me,
ok, try this one:
Attachment:
techno_hq_player [test] [2014.10.18]1240.xwp [885.56 KiB]
Downloaded 496 times

Note:
the player should be opened when you want to change the volume,
because it couldn't access to the player when it's not opened
(so better to be playing or showing to see it's opened and responding)


Top
 Profile  
 
PostPosted: October 18th, 2014, 1:51 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Quote:
yes, i'll do it later, maybe tomorrow,

Thanks!!! :D
Is something different, right?
Quote:
so what's the reason for using zero for bottom text?

Just part of the design. ;)
Quote:
Note:
the player should be opened when you want to change the volume,
because it couldn't access to the player when it's not opened
(so better to be playing or showing to see it's opened and responding)

You're right! :o
But I'm 100% sure that I was able to control the player's volume before playback....Hmm

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: October 18th, 2014, 2:22 am 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
Quote:
Thanks!!! :D
Is something different, right?
yes, it's amazing... :D
and i have seen you have added your name everywhere in widget ;)



Quote:
You're right! :o
But I'm 100% sure that I was able to control the player's volume before playback....Hmm
but as you told me before, you have used VolumeCore most of the time for widgets,
am i wrong?

edit:
i have found it here: ;)
http://bbs.xwidget.com/viewtopic.php?f=8&t=4744#p9063


and also you have told me before (in CleanPlayer Project) that it always automatically starts playing when you start the widget,
so maybe because of this, you have never seen this before


Top
 Profile  
 
PostPosted: October 18th, 2014, 2:41 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Quote:
yes, it's amazing... :D
and i have seen you have added your name everywhere in widget ;)

I added a right click option so the message on the sign can be customized! ;)
I made it with a little trick using the shortcutcore instead of "edit" object
1) I didn't want it editable on mouse click
2) There is the possibility to add a click on command/shortcut..
Quote:
You're right! :o
But I'm 100% sure that I was able to control the player's volume before playback....Hmm
but as you told me before, you have used VolumeCore most of the time for widgets,
am i wrong?

To be honest I started using the player's volume control after your first suggestion but I made some player widgets since then and I don't remember this "bug" before..
Quote:
and also you have told me before (in CleanPlayer Project) that it always automatically starts playing when you start the widget,
so maybe because of this, you have never seen this before

Maybe....

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: October 18th, 2014, 3:48 am 
Offline

Joined: October 26th, 2013, 8:17 am
Posts: 362
Quote:
I added a right click option so the message on the sign can be customized! ;)
I made it with a little trick using the shortcutcore instead of "edit" object
1) I didn't want it editable on mouse click
just to note, it can also be done using promptbox, but promptbox is a simple box



Quote:
To be honest I started using the player's volume control after your first suggestion but I made some player widgets since then and I don't remember this "bug" before..

maybe it's not a bug, since the core couldn't control the player when the player not loaded yet,
but it also can be treated as bug if we decide to load the player at startup of widget, maybe better to have a option to start the player on start of widget

it doesn't start the player by refreshing the PlayerControlCore,
it will only start the player if a request is send to player (like stop,pause,loop,shuffle,...),
so as another solution, you can add a command to do one of these on start of widget,
but maybe better to wait for this option to be added to the core


Top
 Profile  
 
PostPosted: October 18th, 2014, 4:22 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Quote:
but maybe better to wait for this option to be added to the core

Yes, I agree....
Quote:
just to note, it can also be done using promptbox, but promptbox is a simple box

Doesn't matter hamid. Just leave it as now..
If you can add the checked function for the right click options will be enough already.! :)

_________________
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group