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
Play song just from Path-Info??
-
DiddeLeeDoo
- Posts: 1017
- Joined: Wed Mar 01, 2006 1:09 am
- Location: In a jungle down under
- Contact:
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.
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.
-
DiddeLeeDoo
- Posts: 1017
- Joined: Wed Mar 01, 2006 1:09 am
- Location: In a jungle down under
- Contact:
-
DiddeLeeDoo
- Posts: 1017
- Joined: Wed Mar 01, 2006 1:09 am
- Location: In a jungle down under
- Contact:
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.
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.
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
Begges
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
Begges
Last edited by Begges on Sun Sep 10, 2006 4:09 am, edited 1 time in total.
-
DiddeLeeDoo
- Posts: 1017
- Joined: Wed Mar 01, 2006 1:09 am
- Location: In a jungle down under
- Contact:
