{ "info": { "author": "Marcus Gotling", "author_email": "marcus@gotling.se", "bugtrack_url": null, "classifiers": [ "Environment :: No Input/Output (Daemon)", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Topic :: Multimedia :: Sound/Audio :: Players" ], "description": "****************************\nMopidy-Auto\n****************************\n\n.. image:: https://img.shields.io/pypi/v/Mopidy-Auto.svg?style=flat\n :target: https://pypi.python.org/pypi/Mopidy-Auto/\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/travis/gotling/mopidy-auto/master.svg?style=flat\n :target: https://travis-ci.org/gotling/mopidy-auto\n :alt: Travis CI build status\n\n.. image:: https://img.shields.io/coveralls/gotling/mopidy-auto/master.svg?style=flat\n :target: https://coveralls.io/r/gotling/mopidy-auto\n :alt: Test coverage\n\nMopidy extension to automate music playback based on time of day.\n\nCan be used in restaurants to play fitting music depending on time of day with no user input required.\n\n**Notice**\n\n- Only tested with *file://* backend.\n- This extension high-jacks many Mopidy events to control playback so it does not play well with other extensions.\n\nConsists of a frontend and simple web client.\n\nFrontend\n========\n\nIf no tracks are playing and a play event is received, or if playback ends, a random album will be added to the\ntracklist and playback started.\n\nAlbum is chosen from one of 3 sections, based on time of day. After an album has been played, it will not play again\nuntil all other albums in it's section has been played.\n\nIf volume is set higher than what is configured for the section, it will be lowered before playback starts.\n\nWeb Client\n==========\n\nThe web client is reached on url `/auto/`. It shows which track, artist and album is playing.\n\nIt has 3 buttons: **Play / Pause**, skip to **next track** and skip to **next album**.\n\nIt also has a volume control.\n\nBy logging in with admin key current playing track or album can be deleted.\n\nInstallation\n============\n\nInstall by running::\n\n pip install Mopidy-Auto\n\nConfiguration\n=============\n\nBefore starting Mopidy, you must add configuration for\nMopidy-Auto to your Mopidy configuration file::\n\n [auto]\n enabled = true\n\n # Key required to access admin section\n admin_key = 123\n\n # URI where the sections folders are located. Should be same as '[file] media_dirs'\n base_path = file:///media/Music/\n\n # Max number of tracks that can be added from one folder. Set to 0 or lower to disable limit\n max_tracks = 15\n\n # Sections of different music activated depending on time of day. Currently locked to 3\n # At what time this section gets active\n s0_start = 00:00\n # Folder name in where to find albums\n s0_folder = Rap\n # Decrease volume to this level if it is set higher when new folder is being played\n s0_max_volume = 50\n\n s1_start = 11:00\n s1_folder = Trip Hop\n s1_max_volume = 80\n\n s2_start = 18:30\n s2_folder = Rock\n s2_max_volume = 80\n\n\nRecommend File backend configuration\n====================================\n\nTo make sure playback does not stop due to file types unhandled by Mopidy this exclude works well::\n\n [file]\n ...\n excluded_file_extensions =\n .nfo\n .ini\n .db\n .rtf\n .jpg\n .jpeg\n .png\n .gif\n .log\n .dat\n .txt\n .sfv\n .pls\n .m3u\n .wma\n .mpc\n .htm\n .html\n .aac\n .m4a\n .sfk\n .url\n .cue\n .pdf\n .m3u8\n .bmp\n .lnk\n .bc!\n .BMP\n .psp\n .ape\n .aif\n .rar\n\nProject resources\n=================\n\n- `Source code `_\n- `Issue tracker `_\n\n\nChangelog\n=========\n\n0.5.0\n-----\n\n- If folder was deeper than one level unique albums were thought to be depleted to early\n- Handle first section not starting at midnight by returning the last section\n\n0.4.0\n-----\n\n- Handle empty folders gracefully - `#15 `_\n- Added move album - `#12 `_\n\n0.3.0\n-----\n\n- Change start time setting from sX_hour + sX_minute to sX_start with format hh:mm\n- Change next track and album buttons\n- Change volume step to 5%\n- Fade out volume when changing track - `#13 `_\n- Added admin mode with restricted functions - `#1 `_\n- Added delete track - `#2 `_\n- Added delete album - `#3 `_\n\n0.2.0\n-----\n\n- Display time of current playing track - `#9 `_\n- Play album from new section when its time is reached - `#8 `_\n- Added skip to next album - `#5 `_\n- History is stored per section - `#6 `_\n\n\n0.1.0\n-----\n\n- Initial release.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gotling/mopidy-auto", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "Mopidy-Auto", "package_url": "https://pypi.org/project/Mopidy-Auto/", "platform": "", "project_url": "https://pypi.org/project/Mopidy-Auto/", "project_urls": { "Homepage": "https://github.com/gotling/mopidy-auto" }, "release_url": "https://pypi.org/project/Mopidy-Auto/0.5.0/", "requires_dist": [ "setuptools", "Mopidy (>=1.0)", "Pykka (>=1.1)" ], "requires_python": "", "summary": "Mopidy extension to automate music playback based on time of day", "version": "0.5.0" }, "last_serial": 3878986, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "727d18414b475ce1272058afded08937", "sha256": "31cf192f7d90cd66bd55f6c0a5d991dfd5b13def4f676055c8b2f64e9564bffd" }, "downloads": -1, "filename": "Mopidy_Auto-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "727d18414b475ce1272058afded08937", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 33846, "upload_time": "2017-03-25T06:05:37", "url": "https://files.pythonhosted.org/packages/cd/ff/59a9df5179bd1523bc3e53b2f536537d97af73c83d2cf0aae3371bd88aa3/Mopidy_Auto-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "412efad5b49f4a69732adef50c7394a2", "sha256": "32c9334b895549beff40b88d43e74b4326a6443410a25ac04e5022f3058d8612" }, "downloads": -1, "filename": "Mopidy-Auto-0.1.0.tar.gz", "has_sig": false, "md5_digest": "412efad5b49f4a69732adef50c7394a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30940, "upload_time": "2017-03-25T06:05:40", "url": "https://files.pythonhosted.org/packages/9a/e6/bcfa49309d21788cdc1aa4690c92efbf307d47c38d9c68b6c6dc4201008a/Mopidy-Auto-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "323d6bdfeda7a0c36abe0f39fa248d73", "sha256": "6ed1d4c2e76d5fcef3afbf77d45fecb5d336b8b33da3bdfaf83f4cb29f781cb2" }, "downloads": -1, "filename": "Mopidy_Auto-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "323d6bdfeda7a0c36abe0f39fa248d73", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 36148, "upload_time": "2017-03-27T21:02:51", "url": "https://files.pythonhosted.org/packages/14/3c/17ffd019942ac80b4c2a2157d3cef926c5d5e7828e9783575674e980f422/Mopidy_Auto-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d3a013a5d045d41f70a8781ae0e23437", "sha256": "82ad0f11ad3a0cf821fed076e0a2a988762d6813ba17174ab21834f9caec3173" }, "downloads": -1, "filename": "Mopidy-Auto-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d3a013a5d045d41f70a8781ae0e23437", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32757, "upload_time": "2017-03-27T21:02:00", "url": "https://files.pythonhosted.org/packages/bb/26/7c6219e4107dd385357e290aa3892cc6f8edfb825abd49758360a160400c/Mopidy-Auto-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "683a77da99cca33dc74947e25e909229", "sha256": "d0bcadcf41c858b6ae666b385aa1fdc2cf1dc0ccf640a3874048a37a2ddc88c2" }, "downloads": -1, "filename": "Mopidy-Auto-0.3.0.tar.gz", "has_sig": false, "md5_digest": "683a77da99cca33dc74947e25e909229", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34288, "upload_time": "2017-07-21T09:20:39", "url": "https://files.pythonhosted.org/packages/b3/33/66915e1c6cafa8c7d7779c4883d96c64e2577505687e97e9b8cc9632a66a/Mopidy-Auto-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "4f335d91ce838393af81c51aefad4abb", "sha256": "f9e48f3cfbac5b83da30f5bde896d79e3ce60bb68b2b7e09227cd02184e2e4ef" }, "downloads": -1, "filename": "Mopidy_Auto-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4f335d91ce838393af81c51aefad4abb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 41048, "upload_time": "2017-12-05T07:35:26", "url": "https://files.pythonhosted.org/packages/88/56/0b2822d486be4162f32f76d12365f8476a285ca16d9860e27c2692a51bf4/Mopidy_Auto-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "72d47bfabc5f45ccc5e6b559399173ac", "sha256": "7f727cc13f35a94a79ca1c5b61ed63c6b7aff3f089257ded3c0d3d494b982fdf" }, "downloads": -1, "filename": "Mopidy-Auto-0.4.0.tar.gz", "has_sig": false, "md5_digest": "72d47bfabc5f45ccc5e6b559399173ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35209, "upload_time": "2017-12-05T07:35:30", "url": "https://files.pythonhosted.org/packages/60/f2/8ff5b8ae9fa4deea91fe4fbbda0c80ccc479770c0c6e39610a7c93a968e9/Mopidy-Auto-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "2f77a4fd62fbb69527c79d644b24e737", "sha256": "87cafb35c2af5b7e2bdda9e487b698e31c0057eda27ce4d29ce5e80fb10564ff" }, "downloads": -1, "filename": "Mopidy_Auto-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2f77a4fd62fbb69527c79d644b24e737", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 38946, "upload_time": "2018-05-19T13:41:56", "url": "https://files.pythonhosted.org/packages/c2/ee/3f655317e96ce0b76ce506d85871df534a1b1053d1c6e55cd0e6d9a00903/Mopidy_Auto-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7577d4c2c56df90c6b39fd8851c04a98", "sha256": "6e3fcf0dee9d46204de85d311ba3a176c09b1888e1eefb3dd664e25136a91982" }, "downloads": -1, "filename": "Mopidy-Auto-0.5.0.tar.gz", "has_sig": false, "md5_digest": "7577d4c2c56df90c6b39fd8851c04a98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35911, "upload_time": "2018-05-19T13:41:58", "url": "https://files.pythonhosted.org/packages/23/73/69338f7d4a0ef6952b1636d799ea774a49252b5f2f7df5300003f3cbd2b2/Mopidy-Auto-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2f77a4fd62fbb69527c79d644b24e737", "sha256": "87cafb35c2af5b7e2bdda9e487b698e31c0057eda27ce4d29ce5e80fb10564ff" }, "downloads": -1, "filename": "Mopidy_Auto-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2f77a4fd62fbb69527c79d644b24e737", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 38946, "upload_time": "2018-05-19T13:41:56", "url": "https://files.pythonhosted.org/packages/c2/ee/3f655317e96ce0b76ce506d85871df534a1b1053d1c6e55cd0e6d9a00903/Mopidy_Auto-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7577d4c2c56df90c6b39fd8851c04a98", "sha256": "6e3fcf0dee9d46204de85d311ba3a176c09b1888e1eefb3dd664e25136a91982" }, "downloads": -1, "filename": "Mopidy-Auto-0.5.0.tar.gz", "has_sig": false, "md5_digest": "7577d4c2c56df90c6b39fd8851c04a98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 35911, "upload_time": "2018-05-19T13:41:58", "url": "https://files.pythonhosted.org/packages/23/73/69338f7d4a0ef6952b1636d799ea774a49252b5f2f7df5300003f3cbd2b2/Mopidy-Auto-0.5.0.tar.gz" } ] }