music-dl/src/extractors/baseFile.py

13 lines
282 B
Python
Raw Normal View History

2018-01-23 13:39:49 -06:00
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
class song(object):
""" Represents a song in all services. Data will be filled by the service itself"""
def __init__(self):
self.bitrate = 0
self.title = ""
self.artist = ""
self.duration = ""
self.size = 0
self.url = ""