Play song just from Path-Info??

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Play song just from Path-Info??

by Begges » Sun Sep 10, 2006 4:10 am

:D you gave your answer, while i was editing the original post :D

that is fast work..!!

by DiddeLeeDoo » Sun Sep 10, 2006 4:05 am

You sure are a positive inspiration :)

by Begges » Sun Sep 10, 2006 4:00 am

Don't worry!
You are now one oft the most active members here - in my case I am proud about the thing, that my idea has inspired you to be creative. And that my scripts maybe have infected you with the MediaMonkey-Virus :D

Begges

by DiddeLeeDoo » Sun Sep 10, 2006 2:59 am

Great to see you back here, and that you set off some time to script a bit again... been awhile.

I haven't tried it yet, but it might be possible to just call the .txt file a .m3u file and load it like that too. Guess there's many ways to do what you try to do.

Glad you feel ok by there being more than one .html lyrics viewer. I feel as long as it is not modified copies it's alright to have a selection scripts here. I know I in no way at all appreciated when a script I had spent many weeks on making were copied 1-1 and modified to not work anymore. Not at all a fun experience. I now make sure I mark those scipts that takes forever to do with some sort of copy right to avoid getting annoyed like that again.

Thanks

by Begges » Sat Sep 09, 2006 10:47 am

Thanks DiddeLeeDoo, i will try this.

Great work you are doing here in this forum! And thanks also for naming me the "Pioneer of the lyrics panel" :D

Begges

by DiddeLeeDoo » Sat Sep 09, 2006 9:39 am

That guess was a bit too short, but this is valid
Set Song=SDB.NewSongData
Song.Path="C:\Somewhere\Or There\01 Song.mp3"
SDB.Player.PlaylistAddTrack(Song)

by DiddeLeeDoo » Sat Sep 09, 2006 5:01 am

Believe these can be used.

1. Use MediaMonkey.exe with options like
MediaMonkey.exe Song.mp3
MediaMonkey.exe /Next Song.mp3
MediaMonkey.exe /Add Song.mp3

There are other ways too, but I believe you then need to use SDB.NewSongData or SDB.NewSongList and add the tracks that way, and then use SDB.PlaylistAddTrack(SDB.NewSongData.Path="Song.mp3") for example

Untested guess the last one, but I know I've done that before, but can't recall exactly what I used. Is not in any of the scripts I currently have here.

Play song just from Path-Info??

by Begges » Fri Sep 08, 2006 4:51 pm

Hi,

i m just scripting around a bit and have now the following problem:
- i am importing some paths from mp3-files via a txt.file without adding these songs to the db
- is it now possible just to play a mp3 with this path information (something like sdb.player.play ("C:\Test.mp3"))???

Thanks for your help!

Begges

Top