Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion troi/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def outputs():
return [Recording]

def read(self, input):
recordings = inputs[0]
recordings = input[0]
output = []
for rec in recordings:
if rec.name is not None and (rec.artist and rec.artist.name is not None) and rec.mbid is not None:
Expand Down
2 changes: 1 addition & 1 deletion troi/http_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import requests
from time import time, sleep
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
from urllib3.util.retry import Retry
from urllib.parse import urlparse

# Index keep track of rate limits of the various services
Expand Down
3 changes: 1 addition & 2 deletions troi/playlist.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import logging
from collections import defaultdict
import json
from time import sleep


import spotipy
from troi.tools.utils import AppleMusicAPI
from troi.http_request import http_get
from troi.http_request import http_get, http_post
from troi import Recording, Playlist, PipelineError, Element, Artist, ArtistCredit, Release
from troi.operations import is_homogeneous
from troi.print_recording import PrintRecordingList
Expand Down
Loading