PlaySongs


NamePlaySongs JSON
Version 2024.1.0.0 PyPI version JSON
download
home_pagehttps://gitlab.com/fer1035_python/modules/pypi-playsongs
SummaryPlay MP3 files from a directory.
upload_time2024-02-02 05:03:32
maintainer
docs_urlNone
authorAhmad Ferdaus Abd Razak
requires_python>=3.8,<4.0
licenseGPL-2.0-only
keywords music mp3
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =============
**playsongs**
=============

Overview
--------

Play MP3s from a specified directory.

Prerequisites
-------------

- *Python >= 3.6*
- *playsound >= 1.2.2* (installed as a dependency)
- *pyobjc >= 7.1* (installed as a dependency)
- **CAVEAT**: Due to *playsound* limitations, directory and filenames with spaces are not allowed.

Required (Positional) Arguments
-------------------------------

- Position 1: /path/to/mp3/files

Optional (Keyword) Arguments
----------------------------

- repeat
    - Description: Number of times to repeat the whole collection.
    - Type: Integer
    - Default: 0
- shuffle
    - Description: Select whether to shuffle the list of songs being played.
    - Type: Boolean
    - Default: False

Usage
-----

Installation:

.. code-block:: BASH

   pip3 install playsongs
   # or
   python3 -m pip install playsongs

In Python3:

.. code-block:: BASH

   from playsongs import PlaySongs
   PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)

In BASH:

.. code-block:: BASH

   python3 -c "from playsongs import PlaySongs; PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)"

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/fer1035_python/modules/pypi-playsongs",
    "name": "PlaySongs",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "music,MP3",
    "author": "Ahmad Ferdaus Abd Razak",
    "author_email": "ahmad.ferdaus.abd.razak@ni.com",
    "download_url": "https://files.pythonhosted.org/packages/28/3c/19c6490c9625f74ed5e594913d12eb56b2836a430f5c085e02152471cc8a/playsongs-2024.1.0.0.tar.gz",
    "platform": null,
    "description": "=============\n**playsongs**\n=============\n\nOverview\n--------\n\nPlay MP3s from a specified directory.\n\nPrerequisites\n-------------\n\n- *Python >= 3.6*\n- *playsound >= 1.2.2* (installed as a dependency)\n- *pyobjc >= 7.1* (installed as a dependency)\n- **CAVEAT**: Due to *playsound* limitations, directory and filenames with spaces are not allowed.\n\nRequired (Positional) Arguments\n-------------------------------\n\n- Position 1: /path/to/mp3/files\n\nOptional (Keyword) Arguments\n----------------------------\n\n- repeat\n    - Description: Number of times to repeat the whole collection.\n    - Type: Integer\n    - Default: 0\n- shuffle\n    - Description: Select whether to shuffle the list of songs being played.\n    - Type: Boolean\n    - Default: False\n\nUsage\n-----\n\nInstallation:\n\n.. code-block:: BASH\n\n   pip3 install playsongs\n   # or\n   python3 -m pip install playsongs\n\nIn Python3:\n\n.. code-block:: BASH\n\n   from playsongs import PlaySongs\n   PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)\n\nIn BASH:\n\n.. code-block:: BASH\n\n   python3 -c \"from playsongs import PlaySongs; PlaySongs('/home/username/Music', repeat = 10000000, shuffle = True)\"\n",
    "bugtrack_url": null,
    "license": "GPL-2.0-only",
    "summary": "Play MP3 files from a directory.",
    "version": "2024.1.0.0",
    "project_urls": {
        "Homepage": "https://gitlab.com/fer1035_python/modules/pypi-playsongs",
        "Repository": "https://gitlab.com/fer1035_python/modules/pypi-playsongs"
    },
    "split_keywords": [
        "music",
        "mp3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d72cb07c2fcdad5f40e78a7ce9a230d1fd06f55d56e75b6bcbfe7484ead0f08b",
                "md5": "832fb6648fac2a8a0e939b202a9ca2b1",
                "sha256": "d259cfc6914328977168a38791a4c7b6ce8a24533a70f1707d60756f33f765e1"
            },
            "downloads": -1,
            "filename": "playsongs-2024.1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "832fb6648fac2a8a0e939b202a9ca2b1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 2826,
            "upload_time": "2024-02-02T05:03:31",
            "upload_time_iso_8601": "2024-02-02T05:03:31.235076Z",
            "url": "https://files.pythonhosted.org/packages/d7/2c/b07c2fcdad5f40e78a7ce9a230d1fd06f55d56e75b6bcbfe7484ead0f08b/playsongs-2024.1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "283c19c6490c9625f74ed5e594913d12eb56b2836a430f5c085e02152471cc8a",
                "md5": "e2955270e9521b233207f173cb43c81e",
                "sha256": "1e0f812b14e13d23a1dd0211437bfddb43acaa64b75d42f2b6280ed9a7720d69"
            },
            "downloads": -1,
            "filename": "playsongs-2024.1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e2955270e9521b233207f173cb43c81e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 2232,
            "upload_time": "2024-02-02T05:03:32",
            "upload_time_iso_8601": "2024-02-02T05:03:32.852372Z",
            "url": "https://files.pythonhosted.org/packages/28/3c/19c6490c9625f74ed5e594913d12eb56b2836a430f5c085e02152471cc8a/playsongs-2024.1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-02 05:03:32",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "fer1035_python",
    "gitlab_project": "modules",
    "lcname": "playsongs"
}
        
Elapsed time: 0.20609s