Giter Club home page Giter Club logo

slothmusic's Introduction

slothMusic web

Русский

Музыкальный плеер VK.com.

Возможности

  • Прослушивание аудиозаписей на любом устройстве.
  • Плейлисты: Мои аудиозаписи, Популярные, Рекомендуемые.
  • Поиск аудиозаписей (по названию, по жанрам).
  • Добавление и удаление аудиозаписей.
  • Генерирование M3U (из текущего плейлиста).
  • Загрузка аудиозаписей (выборочная).
  • Сортировка плейлиста (по алфавиту, рандомная).
  • Битрейт аудиозаписей (при наведении).
  • Транслирование аудиозаписи в статус.
  • AJAX подгрузка аудиозаписей.
  • Поддержка капчи.
  • Поиск и показ cover-a текущей аудиозаписи.
  • Drag-and-drop для перемещения аудиозаписей (синхронизировано с VK).

БД

Для ускорения получения битрейта аудиозаписей, была создана таблица audio.

В таблице хранятся такие данные:

  • id — id аудиозаписи
  • uid — id пользователя
  • kbps — битрейт аудиозаписи

Записи в таблицу добавляются, если id аудиозаписи в БД не найден.

Таблица audio

CREATE TABLE IF NOT EXISTS `audio` (
	`id` int(11) NOT NULL,
	`uid` int(11) NOT NULL,
	`kbps` int(11) NOT NULL,
	PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Либо в файле database.sql (ссылка)

По всем вопросам можно писать на [email protected]

Лицензия

MIT

English

The music player VK.com.

Opportunities

  • Listen to audio on any device.
  • Playlists: My music, Popular, Recommended.
  • Search of recordings (by title, by genre).
  • Adding and deleting tracks.
  • Generate M3U (playlist).
  • Download audio (selective).
  • Playlist sorting (by alphabet, random).
  • The bitrate of the audio (when you hover).
  • Broadcasting audio in status.
  • AJAX loading of audio.
  • Support captcha.
  • Show cover-a current audio.
  • Drag-and-drop to move the audio (synchronized with VK).

DB

To expedite the receipt of the bit rate of the audio, create a table audio.

The table stores the following data:

  • id — id audio
  • uid — user id
  • kbps — the bitrate of the audio

The entries in the table are added if id recordings in the database was not found.

Table audio

CREATE TABLE IF NOT EXISTS `audio` (
	`id` int(11) NOT NULL,
	`uid` int(11) NOT NULL,
	`kbps` int(11) NOT NULL,
	PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Or in the file database.sql (link)

You can ask me any questions by e-mail: [email protected]

License

MIT

slothmusic's People

Contributors

pavds avatar

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.