mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 16:42:42 +01:00
Add comments
This commit is contained in:
parent
480d51443c
commit
d134e9c461
1 changed files with 18 additions and 0 deletions
|
|
@ -1,3 +1,19 @@
|
||||||
|
# This file is part of beets.
|
||||||
|
# Copyright 2013, Dang Mai <contact@dangmai.net>.
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
# a copy of this software and associated documentation files (the
|
||||||
|
# "Software"), to deal in the Software without restriction, including
|
||||||
|
# without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
# distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
# permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
# the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be
|
||||||
|
# included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
"""Generates smart playlists based on beets queries.
|
||||||
|
"""
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
from beets.plugins import BeetsPlugin
|
from beets.plugins import BeetsPlugin
|
||||||
|
|
@ -5,6 +21,8 @@ from beets import config, ui
|
||||||
from beets.util import normpath, syspath
|
from beets.util import normpath, syspath
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
# Global variables so that smartplaylist can detect database changes and run
|
||||||
|
# only once before beets exits.
|
||||||
database_changed = False
|
database_changed = False
|
||||||
library = None
|
library = None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue