Git Product home page Git Product logo

datmusic's People

Contributors

alashow avatar alexisanzieu avatar micheleissa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datmusic's Issues

Captcha Needed

screen shot 2015-01-04 at 12 44 01 am
Hi, sorry to bother again, but it appears the captcha error occurs on your page as well now.
anyway to code a reply?

Network error!

Hello. Why do I get "Network error!" when I try to open html page on my host?

inline doesnt work

inline doesnt work anything and doesnt show any music or someting like that

Captcha error

Hi, Captcha's are not loading.

The image link gives this error:

The following error(s) occured:
GD Library Error: imagecreatetruecolor does not exist - please contact your webhost and ask them to install the GD library


Query String : w=200&src=https://api.vk.com/captcha.php?sid=651440847063&s=1
TimThumb version : 2.8.14```

Option to filter out remixes

Hi,
I once wrote a VK.com downloader too, but it broke down after the API change. Yours is better, anyway. But there is one feature I had that is missing here: automatic filtering of remixes. VK.com is cluttered with remixed versions of songs, and it is sometimes almost impossible to find the original one. My solution was using this regex (it's huge, I know, it had gained weight over time..):

/[ \[\],.:\)\(\-_](bass ?boost(ed)?|dub sound|remake|low bass|cover|(re)?mix|dj|bootleg|edit|aco?ustic|instrumental|karaoke|tribute|vs|rework|mash|rmx|(night|day|slow)core|remode|ringtone?|рингтон|РИНГТОН|Рингтон|звонок|минус)([ ,.:\[\]\)\(\-_].*)?$/gi

If you could implement the functionality as an option, it would be awesome.

Download the full file name (Firefox)

When downloading, make sure the file is named completely

artist - song.mp3

For now, It takes only the first element artist.

Maybe because of the interspaces ?

access token, message error

Hi

There is a message from VK when I open the url with my APP_Id and client secret

https://oauth.vk.com/authorize?client_id=APP_ID&client_secret=CLIENT_SECRET&scope=audio,offline&response_type=token

Пожалуйста, не копируйте данные из адресной строки для сторонних сайтов. Таким образом Вы можете потерять доступ к Вашему аккаунту.

Translation (google):
Please do not copy the data from the Address bar to third-party websites. So you can lose access to your account.

Thanks for your help if you know how to resolve this problem

See U

403

Hi,
my url looks like this:
shape-of-you-ed-sheeran.html?q=shape-of-you-ed-sheeranand
and I got 403.
Can you help me out?
zrzut ekranu 2017-08-02 o 20 50 55

stream to a player

before i was able to stream to a player with mpv or vlc
but now im getting this error in mpv

mpv https://api.datmusic.xyz/dl/df9f2438/e9b57878
Playing: https://api.datmusic.xyz/dl/df9f2438/e9b57878
[ytdl_hook] ERROR: Unable to download webpage: HTTP Error 502: Bad Gateway (caused by <HTTPError 502: 'Bad Gateway'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[ytdl_hook] youtube-dl failed, trying to play URL directly ...
[ffmpeg] https: HTTP error 502 Bad Gateway
Failed to open https://api.datmusic.xyz/dl/df9f2438/e9b57878.

Exiting... (Errors when loading file)

i dont think its a bug from mpv or youtube-dl since i have the newest versions.
the same happens with vlc.

Регулировка громкости плеера

Здравствуйте, В веб-плеере https://datmusic.xyz отсутствует регулировка громкости программным ползунком, приходится увеличивать/уменьшать громкость системными средствами! Можно как-нибудь сделать регулировку громкости встроенную в плеер? Спасибо!

Downloading and Listening made impossible

Hi, it is I again...

I've got an issue again

Whatever file downloaded is 157 bytes in size, and clicking the listen button does nothing... However, the correct size of the files appears upon clicking on the "down" arrow prompting to choose other formats....

Cheers

Possible to display Bitrate?

Hi again,

I was wondering if you were considering a feature to show bitrates?

I understand that pulling the info for all the search queries would not be feasible, but seeing as you are already using php, you could perhaps calculate the bitrate of the current playing track?

I've looked high and low, and it seems impossible to accomplish in javascript.

Network error everytime

Hey, so first of all your website is awesome, but secondly, since yesterday I'm facing an odd issue, every device I go on the website with gives me a Network Error, I updated nothing and they are just the devices I go by everyday... That error just popped in like that, even going as far as affecting the mobile app, any ideas where the problem could come from ?

After installation problem

Hey,
I did everything from readme to install server side api. How can I test if it works? I'm new to nginx.
Pawel

redirect_uri issue

Hello,

I updated my redirect URLs on api settings page but i got this error from vk;

{"error":"invalid_request","error_description":"redirect_uri is incorrect, check application redirect uri in the settings page"}

i am testing your script on; https://www.mp3ox.com/inc/music-master/index.php

upadted the lines on app.js & app.min.js;

app.js:
appUrl: window.location.protocol + "//www.mp3ox.com/inc/music-master/",
downloadServerUrl: window.location.protocol + "//www.mp3ox.com/inc/music-master/",

app.min.js:
g={title:"mp3ox",appUrl:window.location.protocol+"//www.mp3ox.com/inc/music-master/",downloadServerUrl:window.location.protocol+"//www.mp3ox.com/inc/music-master/",proxyMode:!0,proxyDownload:!0,captchaProxy:!

can you please help me with this?

thanks!

Captcha error

Hello.

So I have set up the same page, using my own api token.

For me it works fine, however when a friend in other country tries to use the page, they get a captcha error.

I have found this: https://vk.com/dev/captcha_error but am not sure how to implement it.

How did you find a way around this? - they have no issues with the version hosted here.

My continuation of your work!

Hi, once again great work on the app!

I've worked on some features on my own, and have now just uploaded my work here:
https://github.com/drpoup/vkdl

I was originally planning on it being a fork of your project, but at this point I feel the differences are too great to consolidate it.
If you are really unhappy about this, I can take the repo down and reupload it as a fork.

Once again, good job couldn't have done it without your base code!

UI drops out first search result

The result of calling https://api.datmusic.xyz/search?q=Beatles:

{"status":"ok","data":[{"artist":"The Beatles","title":"Twist and Shout ","duration":156,"download":"https:\/\/api.datmusic.xyz\/0a6902c1\/e61f424c","stream":"https:\/\/api.datmusic.xyz\/stream\/0a6902c1\/e61f424c"},{"artist":"The Beatles","title":"Hello, Goodbye","duration":207,"download":"https:\/\/api.datmusic.xyz\/0a6902c1\/6e734026","stream":"https:\/\/api.datmusic.xyz\/stream\/0a6902c1\/6e734026"},{"artist":"Rae Sremmurd","title":"Black Beatles (MAKJ Remix)","duration":169,"download":"https:\/\/api.datmusic.xyz\/0a6902c1\/6f4d40d2","stream":"https:\/\/api.datmusic.xyz\/stream\/0a6902c1\/6f4d40d2"},...

But the same search on the web version yields:
image
Twist and Shout is missing. This can especially hurt some songs that have only one instance on VK.com.

Parse syntax error

Hello Alashow

I see there is new updates to music. It's working fine for me with Commits on Mar 1, 2016 - metas, I'm using it with no problems

After that, with recent commits, I've got some problems to play song on click when proxyMode & proxyDownload are enabled.

Furthermore, with download.php I got this:
Parse error: syntax error, unexpected end of file in /www/download.php on line 251

Problem seems to come from line 61 to 90. My PHP Version is 5.6.24

See you & enjoy music
/ juh

How to chage the album art

I want to create a custom function which will chage the album art too..
i see that this code is doing a force download
function forceDownload($filePath, $fileName) { logDownload("$filePath $fileName"); checkIsBadMp3($filePath); header("Cache-Control: private"); header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=\"" . sanitize($fileName, false, false) . ".mp3\""); header("Content-Type: audio/mpeg"); header("Content-length: " . filesize($filePath)); readfile($filePath); }

first i wanna know how much does this costs in performance of the server..

also i like this function because it directly outputs the file...
but i want to change it so that the file is directly outputted without downloading
also in the mean time i wanna change the album art and other id 3 tags and then output it to the user..

Help with local installation

Hi, how can I run my own version of this?

  • By this I mean how can I use my own accessToken, and host it on my own server?

Great tool by the way!

New API

Hello guys!

Good news! Yesterday I started writing new the API/parser for VK website.

https://github.com/alashow/datmusic-api

I have removed the php side from this repo and left only the javascript side.

Downsides of new API

  • Currently, there is no sorting or choosing performer only options (m.vk.com/audio has no options for that, need to update parse to use vk.com/audio)
  • Mp3 download links are not fixed. Download/stream links will only work while it's API cache (24 hrs)

But anyways, it works. Better than nothing.

API needs some more work to be stable.

PR's are very welcome!

Thank you for using datmusic!

No result

Hello,

I deploy it on my server but cannot get results. Could you tell me how to fix this?

Thanks.

screen shot 2017-03-09 at 10 46 28 pm

Big refactor: convert to Node.js project.

Hello everyone.

I was planning this for a while. Couldn't find time to learn Node.js itself. Opening this issue for to create task list and ask for help.

Converting to Node.js will have several advantages:

  1. Project will be more modern, using modern web technology. Beautiful server side code (curently divided to simple php files).
  2. ... (at this point, don't know what to write. I thought it has more advantages. I just feel that it's good :) Will be updated.)
  • Learn more about Node.js, express.js, bower, npm.
  • ... (Will be updated)

Any suggestions, contributions are very welcome! If you think you can help me with converting it, please contact me at [email protected]!

Thank you.
Best Regards, Alashov.

Volume Control?

Hello ^_^

I think you should add volume control
Usage case: in game overlay browsers (Steam for example) while playing games you really want to lower the sound of music and not the game <3

Thanks for the awesome work.

Logo form datmusic

Hi. I designed a logo for your project. If you like it, you can use it. I will send you files. free for your project.
datmusic

Best Regard.

VK API tokens

I see that you use a token. I tried to get one from the vk developer's website after creating a app. but i am not able to get it.

But i have a few question... I am creating a real commercial level free music downloads website, so there will be a lot of searches. so i need to get my own token. and also i wanna know how long is a token valid.

Basically what i want to do is to make the website so that it needs less maintenance .
If the token is valid for many days. then its okay..
The target is to allow public to download music without the need to have a vk account. and authorise. it was better if vk audio api was available for public use but i need a workaround which is more foolproof..

So what rough edges do i have in there.. also how can i get a valid token..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.