Repeating Playlist

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Repeating Playlist

Post by ericvic »

I have setup a Playlist Device and a WinAmp device and it plays through the playlist just fine but what I want to do is to make it repeat once it gets to the end. I don't know if there is a property for that but I can't find it. I have tried a bit at making a task that would start winamp playing again once the playlist got to the end but it doesn't seem to work.

Does anybody have any ideas?

Thanks,
Eric
Hobby Boards
Complete 1-Wire solutions
http://www.hobby-boards.com
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Repeating Playlist

Post by ScottBot »

Do this:
  • Create a task that has a condition to check for "Your WinAmp Device.Play List Song Number" is Equal "0".
  • Add an Action to Delay for 1000 ms.
  • Add an Action to change "Your WinAmp Device.A/V Status" to "Playing".
You could also add a "Repeat" property to your Playlist Device and add a test for it being set to the Task to be able to enable or disable the repeat feature.
Scott
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Re: Repeating Playlist

Post by ericvic »

Scott,

Thanks for the help.

I created the task but it doesn't seem to fire. I do have it enabled and the execution mode is set to "when conditions are met". If I fire it off manually then it works but if I play the last song in the playlist it doesn't fire off when the PlaylistSongNumber get reset to 0.

Eric
Hobby Boards
Complete 1-Wire solutions
http://www.hobby-boards.com
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Repeating Playlist

Post by ScottBot »

Verify with the "Last Execute" time for the Task that it is definitely not firing. Before I responded to your message, I created the task to make sure it worked, so it *should* work for you.

Also, make sure you have the 1 sec delay in the Task also.
Scott
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Re: Repeating Playlist

Post by ericvic »

Scott,

I don't doubt that it should work, you are the foremost expert on HB so I'm sure I just don't have something setup right.

I tried it again and the last executed time didn't change and the task didn't fire.

My task has:
if ('Music On Hold.Play List Song Number' is Equal '0') Then
Delaying for '1000' mili-seconds
Change 'Music On Hold.A/V Status' to 'Playing'

Thanks,
Eric
Hobby Boards
Complete 1-Wire solutions
http://www.hobby-boards.com
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Repeating Playlist

Post by ScottBot »

Eric,

I have no idea why the Task isn't even executing. That's strange. Check to make sure the Task isn't disabled by a Mode. I guess also double check that the WinAmp property used in the Task is actually the one changing (like if you have multiple WinAmp Devices).
Scott
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Re: Repeating Playlist

Post by ericvic »

Scott,

Strange but it seems to be working now and the only thing I have done is to restart HB a number of times (Unrelated to this task problem).

Eric
Hobby Boards
Complete 1-Wire solutions
http://www.hobby-boards.com
James D
Senior Member
Posts: 134
Joined: Wed Jun 06, 2007 3:30 pm
Location: Baja California

Re: Repeating Playlist

Post by James D »

Hey Eric,

Are you using the playlist manager provided by HB? If you are this is how I got my Playlist to repeat, as well as a selected repeat song. Actually you can look at my post in the General on the forum "Song and Playlist repeat from a task" to see exactly what I did. I hope it help.
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Repeating Playlist

Post by ScottBot »

There will be a new option in the WinAmp Device to repeat the playlist in the next version. Also a new Playlist Property to shuffle.
Scott
ericvic
Senior Member
Posts: 144
Joined: Thu Feb 26, 2004 11:06 am
Location: Irondale, AL
Contact:

Re: Repeating Playlist

Post by ericvic »

Scott,

That sounds great, just what I was looking for.

James,

I will take a look at the thread you mentioned.

Eric
Hobby Boards
Complete 1-Wire solutions
http://www.hobby-boards.com
James D
Senior Member
Posts: 134
Joined: Wed Jun 06, 2007 3:30 pm
Location: Baja California

Re: Repeating Playlist

Post by James D »

What about a song repeat too. And a way to forward and rewind music; as well as jump to Next, or Prev tracks so as to be controlled with a task. If you do that Scott I can throw out my script posted on the VB Script in Forum entitled "Winamp Fast Forwarding and Rewind (also Next and Prev tracks".

Thanks.
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Re: Repeating Playlist

Post by ScottBot »

Nothing on the song repeat or FF yet.
Scott
Post Reply