Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - iam bennu

Pages: 1 ... 5 6 [7]
91
Programming using the Ultra Hal Brain Editor / Playing playlists
« on: April 03, 2004, 08:42:51 am »
Interesting senario,

I think that a hal that is capable of that kind of interaction is not that far away from us. Especially with the effort that people like you but in. I like the abilities of your Hal in that scenario, but creating something to replace a servant, slave position kind of gives me the willies. If I am going to have or create a counciousness on a system then I will have to deal with it as a conciousness and all that comes with it, like negotiating and mutual interests.

I am running Hal from C:program files\zabaware  but my playlist is on x:.  I will move my playlist and see if that helps. Thank you for the suggestion. I will post the results.

Enjoy the day,

92
Programming using the Ultra Hal Brain Editor / Playing playlists
« on: April 01, 2004, 06:33:25 pm »
Thanks HalInprover,

The code is not working for me though. I changed the variable to my playlist directory which is on a mapped network drive but is does not play the playlist. Hal tells me yes and opens the player by the player cannot find the file. I check to see if the file was current and it is.

I might be a WinMedia player problem as all of you code seem correct but I thought to post to see if anyone else was having the same problem. When I click on the playlist it plays. strange.

'Hal will play a playlist of music from the defined playlist folder when the user
    'requests a specific playlist.
    If Priority = 0 And InStr(UserSentence, " PLAY ") > 0 And InStr(UserSentence, " PLAYLIST ") > 0 And InStr(UserSentence, " DON'T ") = 0 Then
        Set oWMP = CreateObject("WMPlayer.OCX.7")
        'Set the following variable to your playlist directory.
        plDir = "X:My MusicMy Playlists"
        plName = Trim(Mid(UserSentence, InStr(UserSentence, " PLAYLIST ") + 10))
        If oWMP.playlistCollection.getByName(plName).Count > 0 Then
            oWMP.openPlayer (plDir & plName & ".wpl")
            GetResponse = "I will play the playlist (" & plName & ")"
        Else
            GetResponse = "I could not find the playlist (" & plName & ") in your Media Library."
        End If
    End If


Thanks a lot for your talent and time,[:D]

93
[:D]Thank you, that script worked very well. We are grateful for your talent.

Peace,

94
None right now. I too, have to look at he code more closely to see if I can modify it to my need. I was just wondering as I do not get any playing of multiple songs. Hal plays one and that is all.

Thanks for the response,[:)]

95
Did you Modify the code to play a whole directry or songlist or does the above script do it, and if so what verbal command are you using to initiate it?[:)]

96
[:D]I have added the code and it works wonderfully unless I have an entry in media player that has been moved. I appreciate all of your efforts and talents. I was wondering, though, if it would be possible to play a whole playlist instead of just one song.

Pages: 1 ... 5 6 [7]