[Include] [MV]_******* | Simple but yet useful ******* streamer
#21

So only one video can play at a time? Going to test it now, anyhow.

EDIT: Not working for me, I get this error:
Reply
#22

Quote:
Originally Posted by Abagail
Посмотреть сообщение
So only one video can play at a time? Going to test it now, anyhow.

EDIT: Not working for me, I get this error:
It seems that a LOT of ******* videos will give you this error. It's not on your side it's the API he said, so just keep trying different links. I've only found a couple of songs that work unfortunately.
Reply
#23

I must say this is pretty cool, been waiting forever for OnAudioStreamFinish or something alike

for v3.0 would be cool to see something like

Play*******VideoAt( url, time ); which will start the video at the given time, for example I input as time 60, it'll start the vid at 1 minute, means it skips the first 60 sec.

and a function to get the time the current song is playing would be cool.
Reply
#24

The lenght of the audio streamed url is too long. Use ************ to make it shorter.
OFF: Sorry for the bump
Reply
#25

Well, this will works for one player only, I guess.
Reply
#26

Quote:
Originally Posted by ExTaZZ69
Посмотреть сообщение
The lenght of the audio streamed url is too long. Use ************ to make it shorter.
OFF: Sorry for the bump
No it's definitely not too long. ******* video url's are always the same length and you only add it to "*******inmp3.com/fetch/?api=advanced&video=".

Quote:
Originally Posted by EnzoMetlc
Посмотреть сообщение
Well, this will works for one player only, I guess.
No, you can either loop through and do the function for each player or you can even go in the code and change to to PlayAudioStreamForAll (i.e. loop through all players there and do PlayAudioStreamForPlayer instead of going through the http response crap again.).
Reply
#27

Quote:
Originally Posted by Crayder
Посмотреть сообщение
No it's definitely not too long. ******* video url's are always the same length and you only add it to "*******inmp3.com/fetch/?api=advanced&video=".

No, you can either loop through and do the function for each player or you can even go in the code and change to to PlayAudioStreamForAll (i.e. loop through all players there and do PlayAudioStreamForPlayer instead of going through the http response crap again.).
Look at this link:
"http://*******inmp3.com/download/get/?i=qN9nPGOHHKk4jOnqUO4BcZphePsOls5tzSql1FLovDJ%2B8 IYnwTx%2FHg5StDVhEXPbwc1aQqzCDJUgf4MwfAY2qw%3D%3D" . It have 136 characters.

(obtained from "http://*******inmp3.com/fetch/?api=advanced&video=https://www.youtube.com/watch?v=cHHLHGNpCSA")
Reply
#28

Quote:
Originally Posted by ExTaZZ69
Посмотреть сообщение
Look at this link:
"http://*******inmp3.com/download/get/?i=qN9nPGOHHKk4jOnqUO4BcZphePsOls5tzSql1FLovDJ%2B8 IYnwTx%2FHg5StDVhEXPbwc1aQqzCDJUgf4MwfAY2qw%3D%3D" . It have 136 characters.

(obtained from "http://*******inmp3.com/fetch/?api=advanced&video=https://www.youtube.com/watch?v=cHHLHGNpCSA")
Have you tested it?
Reply
#29

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Have you tested it?
Yes. I wanted to make a command like: /stream [url] and it didn't work. After i converted this command to dialog (DIALOG_STYLE_INPUT) and as well, it didn't work. I think the problem is the input length:
- 128 for the dialog
- 144 for the chat bubble (including the command);
The url length is 136 characters as i said in my previous post.
Anyway a shorter link is better. I modified this include to resend another HTTP request to tiny.com and it works very well.
Reply
#30

Quote:
Originally Posted by ExTaZZ69
Посмотреть сообщение
Yes. I wanted to make a command like: /stream [url] and it didn't work. After i converted this command to dialog (DIALOG_STYLE_INPUT) and as well, it didn't work. I think the problem is the input length:
- 128 for the dialog
- 144 for the chat bubble (including the command);
The url length is 136 characters as i said in my previous post.
Anyway a shorter link is better. I modified this include to resend another HTTP request to tiny.com and it works very well.
I don't think you're using it right... The only thing you need to give it IG is the ******* URL. It works fine.
Reply
#31

Looks Useful..
Reply
#32

works on Windows
Why Linux does not work?
Reply
#33

Quote:
Originally Posted by Crayder
Посмотреть сообщение
I don't think you're using it right... The only thing you need to give it IG is the ******* URL. It works fine.
Indeed, you only give ******* url, but audio stream url won't be "*******inmp3.com/fetch/?api=advanced&video={*******_LINK}", instead it will be a way longer URL returned by *******inmp3 API (length varies) and it will not work in case it is too big. (more than 128 chars I think)
Reply
#34

Title and length works, but the song doesn't starts (linux).Or is it API's fault? Any suggestions?
Reply
#35

To me, title and lenght work but song didn't start, why? (windows)
Reply
#36

Quote:
Originally Posted by Banditul18
Посмотреть сообщение
To me, title and lenght work but song didn't start, why? (windows)
me too
Reply
#37

Don't just say "the song doesn't play" or the "song doesn't start", that doesn't say anything at all. Does the audio stream message show for the client, or does the client see nothing at all? Have you tried placing various debug messages throughout the include?
Reply
#38

- Why was this project on pastebin.
- Topic updated
- Script updated as their API had an update also (monthss ago)

I noticed also some songs doesn't play for some reason, however I can't fix that as the issue is on their end.

rip "Last Activity: 20/01/2016 06:50 PM"
Reply
#39

Consider updating the script, your example script itself gives "Number of arguments..." warning. and does not play.
Reply
#40

Nice.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)