|
wr975
|
 |
« Reply #25 on: February 05, 2011, 07:03:42 PM » |
|
Well, works here. Did you restart the script after changing the ini?
What is the tray tip saying (if you hover the mouse cursor over the icon)?
|
|
|
|
|
Logged
|
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #26 on: February 06, 2011, 02:15:46 AM » |
|
Well, works here. Did you restart the script after changing the ini?
I started with a new ini due to the changes/updates, so yes. What is the tray tip saying (if you hover the mouse cursor over the icon)?
It wanted to play the next file in x minutes, so no sign of sleep mode there either. I'll do some more testing.
|
|
|
|
|
Logged
|
Thank you.
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #27 on: February 11, 2011, 02:30:07 AM » |
|
Last night RandomPlayer ignored the sleep times again. I hovered over the tray icon after that happened: no sign of sleep mode.
I then reloaded the script, and the info changed to sleep mode.
|
|
|
|
|
Logged
|
Thank you.
|
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #28 on: February 13, 2011, 02:10:46 AM » |
|
Last night I looked at the tray info, and this time it was correctly in sleep mode, but displaying the time in a strange way: "Sleep mode between -HHMM..." (HHMM being the no_sounds_end time)
|
|
|
|
|
Logged
|
Thank you.
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #29 on: February 16, 2011, 08:12:03 AM » |
|
Two more feature ideas:
- a right-click option at the top of the tray menu: "Replay last file" (that doesn't influence when the next file is being played) - a settings option where you can select if "Replay last file" or "Reload script" is the default action for double-clicking the icon
|
|
|
|
|
Logged
|
Thank you.
|
|
|
|
wr975
|
 |
« Reply #30 on: February 17, 2011, 03:57:54 AM » |
|
I hope the problems with the "sleep" function are gone, after my bug fix.
The issue with the locked file should be resolved now, with using "Soundplay,...,wait".
I've added the "repeat last sound" function in the tray menu, and also made "stop sound" and "force next". "force next" will just play the next sound without waiting, but won't do anything while in "sleep mode".
Default tray action (double-click) can be configured in the ini file.
So, that's it with the script. Unless you find a serious bug, I won't touch it again. :-)
|
|
|
|
Logged
|
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #31 on: February 17, 2011, 08:21:09 AM » |
|
Awesome! I'll update right away and will post again should any bug show up. Thank you, this turned out into a great coding snack! 
|
|
|
|
|
Logged
|
Thank you.
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #32 on: September 20, 2011, 02:49:55 AM » |
|
I love this little program!  We could debate if this is a *serious* bug, but IF you ever touch the code again, please fix this: - "force next song" doesn't override blacklisted processes (there's no way you can *make it* it play the next file while a blacklisted process is active)
|
|
|
|
|
Logged
|
Thank you.
|
|
|
|
wr975
|
 |
« Reply #33 on: September 20, 2011, 04:48:59 AM » |
|
There's no need to argue, it's clearly a design bug.  So, there, here you have it. "Force next" as it should be, ignoring everything and just play the next sound. It's completely untested, but I hope it works.
|
|
|
|
Logged
|
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #34 on: September 20, 2011, 05:32:06 AM » |
|
A big thank you! 
|
|
|
|
|
Logged
|
Thank you.
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #35 on: December 28, 2011, 07:16:31 AM » |
|
Not sure if this really is a bug, but I feel RandomPlayer could play stuff more random than it does. It's more of a feeling than an exact measure... so maybe it's just selective attention. 
|
|
|
|
|
Logged
|
Thank you.
|
|
|
|
skwire
|
 |
« Reply #36 on: December 28, 2011, 03:23:31 PM » |
|
Welcome to the pseudo-random random of computers. 
|
|
|
|
|
Logged
|
|
|
|
|
wr975
|
 |
« Reply #37 on: December 28, 2011, 03:42:21 PM » |
|
Welcome to the pseudo-random random of computers.  I hate it when I put 20h of music in Winamp, click "shuffle" and within two hours I hear the same song three times. ;-) Not sure if this really is a bug, but I feel RandomPlayer could play stuff more random than it does. It's more of a feeling than an exact measure... so maybe it's just selective attention. The script writes a history file to remember what it played. Let's say you got 15 files in your songlist. It won't repeat any file, until it played all 15 files. Then it erases its history file and starts again. Of course, this is not perfect. If you're in bad luck, file 15 and file 01 can be the same file. Guess such situations happen to you ocassionally, making you wonder why it's sometimes "less random". If it wouldn't erase the history file, but keep the last 5 entries, it would be better. But this would've been more code lines than the whole "random history" thing. Anyway, adding more files to your playlist is the best you can do.
|
|
|
|
|
Logged
|
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #38 on: January 03, 2012, 10:23:07 AM » |
|
The script writes a history file to remember what it played. Let's say you got 15 files in your songlist. It won't repeat any file, until it played all 15 files. Then it erases its history file and starts again. Of course, this is not perfect. If you're in bad luck, file 15 and file 01 can be the same file. Guess such situations happen to you ocassionally, making you wonder why it's sometimes "less random".
I had that too once  What I meant though is that I got the impression that the list itself is not always randomized, like when 2 files that are listed below each other (out of 50+ total) are picked directly after each other more often than what would feel random to me. Since I don't know what randomization code/method you use I have no idea if that could influence it.
|
|
|
|
|
Logged
|
Thank you.
|
|
|
|
wr975
|
 |
« Reply #39 on: January 03, 2012, 12:40:41 PM » |
|
I'd like to test it. Could you zip all files (including sound files) and send it to me (attached to a PM)?
|
|
|
|
|
Logged
|
|
|
|
brotherS
Master of Good Ideas
Honorary Member

Posts: 2,105
To make a difference, be different.
|
 |
« Reply #40 on: January 03, 2012, 04:11:37 PM » |
|
That sadly won't work since a lot of the files are quite personal to me.
|
|
|
|
|
Logged
|
Thank you.
|
|
|
|