****************************
Mopidy-Progress
****************************
.. image:: https://img.shields.io/pypi/v/Mopidy-Progress
:target: https://pypi.org/project/Mopidy-Progress/
:alt: Latest PyPI version
.. image:: https://img.shields.io/github/actions/workflow/status/ViciousBadger/mopidy-progress/CI?branch=main
:target: https://github.com/ViciousBadger/mopidy-progress/actions
:alt: CI build status
.. image:: https://img.shields.io/codecov/c/gh/ViciousBadger/mopidy-progress
:target: https://codecov.io/gh/ViciousBadger/mopidy-progress
:alt: Test coverage
Remember and restore playback progress for specified tracks.
The extension can be configured to save progress on any track you want to based on pattern matching, meaning you can enable it only for relevant media, e.g. podcasts and audiobooks.
Progress is saved continually while a track is being played. Whenever that same track is played again, the extension will restore the saved progress so you can listen from where you left off.
When a track is played to its end, the saved progress will reset. It is also possible to reset the saved progress by stopping (not pausing) the track.
Installation
============
Install by running::
python3 -m pip install Mopidy-Progress
Configuration
=============
The default configuration looks like this::
[progress]
enabled = true
min_length_minutes = 30
patterns =
^podcast\+
With the defaults, progress will be saved for tracks from the Mopidy-Podcast extension and tracks that are longer than 30 minutes. Other tracks will always play from the beginning as normal.
To change this behaviour, you must add configuration for
Mopidy-Progress to your Mopidy configuration file::
[progress]
enabled = true
min_length_minutes = [integer]
patterns =
[pattern],
[pattern],
...
The 'patterns' setting determines which tracks progress will be remembered for based on their track URI.
You can find the URI of a track in several ways, one of them being adding the track to any playlist and then opening the playlist file in a text editor. (By default playlists are stored in ~/.local/share/mopidy/m3u/)
Patterns use regular expression matching. Be aware that some symbols will have special meaning in regular expressions and must be escaped, like the '+' symbol this pattern:
^podcast\+
The above pattern matches any track with an URI starting with 'podcast+', which will be any track from the Mopidy-Podcast extension.
Another example of an expression could be:
^local:track:Audiobooks
This one matches all tracks in a special user-defined directory of the Mopidy-Local extension. For more information on such directories, consult the readme for [Mopidy-Local](https://github.com/mopidy/mopidy-local).
Project resources
=================
- `Source code <https://github.com/ViciousBadger/mopidy-progress>`_
- `Issue tracker <https://github.com/ViciousBadger/mopidy-progress/issues>`_
- `Changelog <https://github.com/ViciousBadger/mopidy-progress/blob/master/CHANGELOG.rst>`_
Credits
=======
- Original author: `badgerson <https://github.com/ViciousBadger>`__
- Current maintainer: `badgerson <https://github.com/ViciousBadger>`__
- `Contributors <https://github.com/ViciousBadger/mopidy-progress/graphs/contributors>`_
Raw data
{
"_id": null,
"home_page": "https://github.com/ViciousBadger/mopidy-progress",
"name": "Mopidy-Progress",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "",
"author": "badgerson",
"author_email": "mail@badgerson.com",
"download_url": "https://files.pythonhosted.org/packages/9b/31/62f34e5ffa9a537023354fc670fe6ebeac2ab13a3f4c2142d2c6a121a622/Mopidy-Progress-0.1.7.tar.gz",
"platform": null,
"description": "****************************\nMopidy-Progress\n****************************\n\n.. image:: https://img.shields.io/pypi/v/Mopidy-Progress\n :target: https://pypi.org/project/Mopidy-Progress/\n :alt: Latest PyPI version\n\n.. image:: https://img.shields.io/github/actions/workflow/status/ViciousBadger/mopidy-progress/CI?branch=main\n :target: https://github.com/ViciousBadger/mopidy-progress/actions\n :alt: CI build status\n\n.. image:: https://img.shields.io/codecov/c/gh/ViciousBadger/mopidy-progress\n :target: https://codecov.io/gh/ViciousBadger/mopidy-progress\n :alt: Test coverage\n\nRemember and restore playback progress for specified tracks.\n\nThe extension can be configured to save progress on any track you want to based on pattern matching, meaning you can enable it only for relevant media, e.g. podcasts and audiobooks.\n\nProgress is saved continually while a track is being played. Whenever that same track is played again, the extension will restore the saved progress so you can listen from where you left off.\n\nWhen a track is played to its end, the saved progress will reset. It is also possible to reset the saved progress by stopping (not pausing) the track.\n\n\nInstallation\n============\n\nInstall by running::\n\n python3 -m pip install Mopidy-Progress\n\n\nConfiguration\n=============\n\nThe default configuration looks like this::\n\n [progress]\n enabled = true\n min_length_minutes = 30\n patterns =\n\n ^podcast\\+\n\nWith the defaults, progress will be saved for tracks from the Mopidy-Podcast extension and tracks that are longer than 30 minutes. Other tracks will always play from the beginning as normal.\n\nTo change this behaviour, you must add configuration for\nMopidy-Progress to your Mopidy configuration file::\n\n [progress]\n enabled = true\n min_length_minutes = [integer]\n patterns = \n\n [pattern],\n [pattern],\n ...\n\nThe 'patterns' setting determines which tracks progress will be remembered for based on their track URI.\n\nYou can find the URI of a track in several ways, one of them being adding the track to any playlist and then opening the playlist file in a text editor. (By default playlists are stored in ~/.local/share/mopidy/m3u/)\n\nPatterns use regular expression matching. Be aware that some symbols will have special meaning in regular expressions and must be escaped, like the '+' symbol this pattern:\n\n ^podcast\\+\n\nThe above pattern matches any track with an URI starting with 'podcast+', which will be any track from the Mopidy-Podcast extension.\n\nAnother example of an expression could be:\n\n ^local:track:Audiobooks\n\nThis one matches all tracks in a special user-defined directory of the Mopidy-Local extension. For more information on such directories, consult the readme for [Mopidy-Local](https://github.com/mopidy/mopidy-local).\n\nProject resources\n=================\n\n- `Source code <https://github.com/ViciousBadger/mopidy-progress>`_\n- `Issue tracker <https://github.com/ViciousBadger/mopidy-progress/issues>`_\n- `Changelog <https://github.com/ViciousBadger/mopidy-progress/blob/master/CHANGELOG.rst>`_\n\n\nCredits\n=======\n\n- Original author: `badgerson <https://github.com/ViciousBadger>`__\n- Current maintainer: `badgerson <https://github.com/ViciousBadger>`__\n- `Contributors <https://github.com/ViciousBadger/mopidy-progress/graphs/contributors>`_\n",
"bugtrack_url": null,
"license": "Apache License, Version 2.0",
"summary": "Remember and restore playback progress for specified tracks.",
"version": "0.1.7",
"project_urls": {
"Homepage": "https://github.com/ViciousBadger/mopidy-progress"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "68c0421aa02a12ee594eeff0513e5f94c696e4b32f98595f51684ba86609bd83",
"md5": "0b5749f5b0b7b9fef75b75206cda9dc6",
"sha256": "6cf72905451f46349c73db79fd1287dfce24f3756bdb93de844880a63287da94"
},
"downloads": -1,
"filename": "Mopidy_Progress-0.1.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0b5749f5b0b7b9fef75b75206cda9dc6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 9357,
"upload_time": "2023-10-05T12:50:43",
"upload_time_iso_8601": "2023-10-05T12:50:43.152800Z",
"url": "https://files.pythonhosted.org/packages/68/c0/421aa02a12ee594eeff0513e5f94c696e4b32f98595f51684ba86609bd83/Mopidy_Progress-0.1.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9b3162f34e5ffa9a537023354fc670fe6ebeac2ab13a3f4c2142d2c6a121a622",
"md5": "ce097e51ca26bd6f0128c508a3dbe1d9",
"sha256": "5d4db22b085b87182d222585455bf3085d9a8e06249e29ad971ba73bc965df5d"
},
"downloads": -1,
"filename": "Mopidy-Progress-0.1.7.tar.gz",
"has_sig": false,
"md5_digest": "ce097e51ca26bd6f0128c508a3dbe1d9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 10482,
"upload_time": "2023-10-05T12:50:44",
"upload_time_iso_8601": "2023-10-05T12:50:44.738779Z",
"url": "https://files.pythonhosted.org/packages/9b/31/62f34e5ffa9a537023354fc670fe6ebeac2ab13a3f4c2142d2c6a121a622/Mopidy-Progress-0.1.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-05 12:50:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ViciousBadger",
"github_project": "mopidy-progress",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "mopidy-progress"
}