Giter Club home page Giter Club logo

deepin-music's Introduction

deepin-music

Deepin music is a local music player with beautiful design and simple functions developed by Deepin Technology.

Dependencies

Build dependencies

The master branch is current development branch, build dependencies may changes without update README.md, refer to ./debian/control for a working build depends list

  • pkg-config
  • libtag1-dev
  • libicu-dev
  • libgsettings-qt-dev
  • libdbusextended-qt5-dev
  • libkf5codecs-dev
  • libavutil-dev
  • libavcodec-dev
  • libavformat-dev
  • libdtkcore-dev
  • libdtkgui-dev
  • libdframeworkdbus-dev
  • libudisks2-qt5-dev
  • libvlc-dev
  • libvlccore-dev
  • Qt5(>= 5.6) with modules:
    • qt5-qmake
    • libqt5svg5-dev
    • qttools5-dev-tools
    • qtmultimedia5-dev
    • libkf5codecs-dev
  • Deepin-tool-kit(>=2.0) with modules:
    • libdtkwidget-dev

Installation

Build from source code

  1. Make sure you have installed all dependencies.

Package name may be different between distros, if deepin-music is available from your distro, check the packaging script delivered from your distro is a better idea.

Assume you are using Deepin or other debian-based distro which got deepin-music delivered:

$ apt build-dep deepin-music
  1. Build:
$ cd deepin-music
$ mkdir Build
$ cd Build
$ cmake ..
$ make
  1. Install:
$ sudo make install

The executable binary file could be found at /usr/bin/deepin-music

Usage

Execute deepin-music

Getting help

Getting involved

We encourage you to report issues and contribute changes

License

deepin-music is licensed under GPL-3.0-or-later.

deepin-music's People

Contributors

ang486 avatar blumia avatar dami-star avatar deepin-bot[bot] avatar electricface1 avatar feeengli avatar feiwang1119 avatar felixonmars avatar freddy4212 avatar github-actions[bot] avatar gs342 avatar hualet avatar iceleaf916 avatar iceyer avatar iovxw avatar justforlxz avatar kt286 avatar liu-xiao-guo avatar lusaproject avatar manateelazycat avatar smallevilbeast avatar snyh avatar toberyan avatar tuhaihe avatar wyu71 avatar zhang-y1 avatar zhangwenchaoworking avatar zhangyg0 avatar zhongyic00 avatar zou8514 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

deepin-music's Issues

New songs added to a new playlist, restart and the playlist is still empty

Add new songs to All Music or new playlist, then restart deepin-music, the playlist still empty. Though the new playlist is created. All Music is also empty.

Some suspicious logs:

2018-06-08, 09:48:38.298 [Warning] [                                                         0] QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
2018-06-08, 09:48:38.298 [Warning] [                                                         0] QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
2018-06-08, 09:48:38.299 [Warning] [                                                         0] QSqlQuery::prepare: database not open
2018-06-08, 09:48:38.299 [Error  ] [mediadatabasewriter.cpp MediaDatabaseWriter::addMediaMeta   148] QSqlError("", "Driver not loaded", "Driver not loaded")
2018-06-08, 09:48:38.299 [Warning] [                                                         0] QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
2018-06-08, 09:48:38.300 [Warning] [                                                         0] QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
2018-06-08, 09:48:38.300 [Warning] [                                                         0] QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
2018-06-08, 09:48:38.300 [Warning] [                                                         0] QSqlQuery::prepare: database not open
2018-06-08, 09:48:38.300 [Error  ] [mediadatabasewriter.cpp MediaDatabaseWriter::insertMusic    172] QSqlError("", "Driver not loaded", "Driver not loaded") "INSERT INTO playlist_all (music_id, playlist_id, sort_id) SELECT :music_id, :playlist_id, :sort_id WHERE NOT EXISTS(SELECT * FROM playlist_all WHERE music_id = :music_id)"
2018-06-08, 09:48:38.300 [Warning] [                                                         0] QSqlDatabasePrivate::database: requested database does not belong to the calling thread.

Tried remove the ~/.config/deepin, still get same result.

Environment:
OS: Arch Linux
Kernel: 4.14.47-1-lts
Deepin-music: 3.1.8.3-1

Missing Features

Missing Features:
Podcast (icecast, gpodder, itunes ...)
Cloud accounts (GDrive,OneDrive,Dropbox...)
İnternet Radios Spotify
Desktop Notifications
Equalizer
Smart Device Syncing (İphone, Android, İpod...)
Converter (Mp3,Ogg,Flac ...)
Audio CD, DVD ...
Edit Tags
Copy to send to smart device, cloud account
Fetch Album Cover

if Deepin Music developers cant add upside features, My recommendation is that either the Clementine insert or the fork.

run in background

hi, I use this project , it's very very good player, I install it with snap, if you add minimizing option for it and options for going to next music it will be better . thanks

Enqueue from context menu

Is there any command or anything from where I can add songs to the current playlist? like vlc has --playlist-enqueue

Because I want to add collection of songs to be added in currently running playlist.

TIA.

funny-looking UI on Cinnamon

screenshot from 2017-11-20 11-21-30

tried starting Xorg server directly then start deepin-music with DISPLAY=:0, same result.

$ deepin-music --version
deepin-music 3.1
$ pacman -Q deepin-music 
deepin-music 3.1.7.1-2
$ screenfetch
                   -`                 
                  .o+`                 indeed@arch-workstation
                 `ooo/                 OS: Arch Linux 
                `+oooo:                Kernel: x86_64 Linux 4.13.12-1-ARCH
               `+oooooo:               Uptime: 3m
               -+oooooo+:              Packages: 932
             `/:-:++oooo+:             Shell: zsh 5.4.2
            `/++++/+++++++:            Resolution: 1920x1080
           `/++++++++++++++:           DE: Cinnamon 3.6.3
          `/+++ooooooooooooo/`         WM: Muffin
         ./ooosssso++osssssso+`        WM Theme: Arc-Dark (Arc)
        .oossssso-````/ossssss+`       GTK Theme: Arc [GTK2/3]
       -osssssso.      :ssssssso.      Icon Theme: Surfn-Arc
      :osssssss/        osssso+++.     Font: Sans 9
     /ossssssss/        +ssssooo/-     CPU: Intel Core i7-5820K @ 12x 3.6GHz
   `/ossssso+/:-        -:/+osssso+-   GPU: GeForce GTX 980
  `+sso+:-`                 `.-/+oso:  RAM: 2492MiB / 32091MiB
 `++:.                           `-/+/
 .`                                 `/

Notify超时问题

超时时间应该是毫秒,即×1000。现在只为3,显示时间过短,个人感觉设置为1000即可

newly added music don't show up

during the first setup of the program, you choose the directory of the music library and it scans the directory for music, but if you add new music then it doesn't add the tracks to the library.

Support sequenced music formats like midi / mod

This is a feature request for adding decoding support for several sequenced music formats: MOD/MDZ, S3M/S3Z, STM/STZ, IT/ITZ, XM/XMZ, PTM/PTZ, MTM/MTZ, 669, PSM, UMX, AM/J2B, DSM, AMF, OKT/OKTA, and MO3.

And MIDI (MID).

繁体界面下无法打开文件目录

(nautilus:8483): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Could not parse arguments: Invalid byte sequence in conversion input

++繁体环境下无法打开文件目录,无法打开属性的目录。

Online MP3 support

Please add support for online MP3 files over HTTP, e.g. internet radio. A 'seperate' playlist for online streaming services would be a nice feature

播放问题

++++删除或清空正在播放的音乐列表,音乐依然播放,没有任何影响。
++++本地音乐、音乐电台、网络广播都会出现这种情况。
DeepinScreenshot20130305094902

清空列表会闪退...

不论是否在播放状态,
删除列表中的全部曲目后,会造成播放器闪退,
(而不是回退到刚开始打开时的添加曲目页面...)


注:运行环境为 Manjaro Xfce x64

UI issue in manjaro

Hi, I have installed deepin music in manjaro 20, but UI has some issues. this is how it looks like

what is wrong with it?

A few issues

Hello,

Few issues with Deeping Music:

  • Some text in the lyrics section is not localized and still in Chinese.
  • Most of the times the lyrics are out of sync, meaning that even though they are correct, they scroll too soon or too late, or sometimes don't scroll at all.
  • The album covers fetched online are wrong most of the times.
  • The time bar is too small in height, so I'm having a hard time clicking on it to skip to a different part of a song (most of the times I click and nothing happens).

Other than that, it's an amazing app.

Run on notification area.

Hi,

Please add the option to run deepin music on notification area.

it's a very important feature for music players so we can listen to music without facing the app interface every time we switch windows.

Thanks for the hard work.

FTBFS with --error=format-security

g++ -c -m64 -pipe -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_
FORTIFY_SOURCE=2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_MESSAGELOGCONTEXT -DSUPPORT_INOTIFY -DGIT_VERSION=\"\" -DQT_NO_DEBUG -DQT
_SVG_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -
DQT_SQL_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I../libdmusic -I../vendor/src/dbusextended-qt/src -I../vendor/src/mpris-qt/src -I../interfa
ce -Iview/helper -isystem /usr/include/x86_64-linux-gnu -isystem /usr/include/libdtk-1.0/DWidget -isystem /usr/include/libdtk-1.0/DSetti
ngsView -isystem /usr/include/libdtk-1.0/DSettings -isystem /usr/include/libdtk-1.0/DUtil -isystem /usr/include/libdtk-1.0/DBase -isyste
m /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultim
ediaWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/i
nclude/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNe
twork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-lin
ux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o musicite
mdelegate.o view/widget/delegate/musicitemdelegate.cpp                          
view/widget/delegate/musicitemdelegate.cpp: In member function 'void MusicItemDelegatePrivate::setActiveAnimationPrefix(QString) const'$
view/widget/delegate/musicitemdelegate.cpp:64:65: warning: unused parameter 'prefix' [-Wunused-parameter]
 void MusicItemDelegatePrivate::setActiveAnimationPrefix(QString prefix) const
                                                                 ^~~~~~
view/widget/delegate/musicitemdelegate.cpp: In member function 'virtual void MusicItemDelegate::paint(QPainter*, const QStyleOptionViewI
tem&, const QModelIndex&) const':
view/widget/delegate/musicitemdelegate.cpp:250:41: error: format not a string literal and no format arguments [-Werror=format-security]
         qFatal(msg.toStdString().c_str());
                                         ^
cc1plus: some warnings being treated as errors
Makefile:1854: recipe for target 'musicitemdelegate.o' failed

Add Build Instruction

Hi. Please add build instruction to Readme file so we know how to build from source.

crash on not found musics

my musics was on my hard and the hard wasn't mount yet. and when deepin-music started it was reading and failing one by one then it was crashed and made the whole system freezed.

Core Dump with some flac files

Im receiving Core dump error when I try to play some flac files (not all flac files have this problem in Deepin Music)

Segmentation fault (core dumped)

The previously message (debug messages) on shell do not provide nothing relevant to the problem itself.

All other player that I have tested play it normally:

  • vlc
  • totem
  • mplayer
  • Rhythmbox
  • Clementine

I can provide some of the files, but I can't let it available to public download for copyright reason.

An example:

Passenger - All the little lights: 01 - Things That Stop You Dreaming.flac
md5sum: ca52f914cd58ec18e0d7719c96bfbaf6 01 - Things That Stop You Dreaming.flac

This music start to play and about a second it crashes and show core dump error message.

At start if first music fail to start do not try the next automatically

I have a HDD with music files on it, however I do not mount it automatically on Linux, just if I need it. (it reduces the disk's usage and improve disk's life time)

But sometimes I forget to mount it first before I start Deepin music.

When I start it, it will flag all musics (very fast), so I need to close it fast, and mount the HDD so I can play the musics. but it turns in issue:

  • All files tried by Deepin will be all marked as not found
  • It will change the order of next music that will be played. (It will start on different music due to not found error)

Would be nice if in case Deepin Music does try to start the first music on list and it doesn't succeed the Deepin will stop the automatically play. (waiting for user to check it)

Propose Logo

Hi. I'm a graphic designer. I wanted to contribute to your project and I've designed a logo for your project. If you like it, you can use it. it's free. I'll send you files and pr. tell me if you need anything change i'll fix it. thanks.
Best regard.
deepin

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.