This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""Demo to add a music service track or album to a queue.""" | |
from __future__ import unicode_literals | |
from soco import SoCo | |
from soco.data_structures import DidlItem, DidlResource | |
from soco.music_services import MusicService | |
from soco.compat import quote_url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" Demo to duplicate the first track in the queue. | |
We can now recreate metadata from a track in the queue. Pick a track you like | |
and put it at the start of a queue. Run this and enjoy! | |
""" | |
# pylint: disable=invalid-name | |
from __future__ import unicode_literals, print_function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import print_function | |
from pprint import pprint | |
import time | |
import traceback | |
from soco import SoCo | |
import soco | |
from soco.music_services import MusicService |