# Filename properties
def get_filename(self):
return self.__filename
def set_filename(self, filename):
self.__filename = filename
filename = property(get_filename, set_filename)
# Album properties
def get_album(self):
return self.__album
def set_album(self, album):
self.__album = album
album = property(get_album, set_album)
# Tracnknum properties
def get_tracknum(self):
if self.id3_metadata.tracknum:
return self.id3_metadata.tracknum
if self.file_metadata.tracknum:
return self.file_metadata.tracknum
return None
tracknum = property(get_tracknum)
# Token properties
def get_title(self):
if self.id3_metadata.title:
return self.id3_metadata.title
if self.file_metadata.title:
return self.file_metadata.title
return None
title = property(get_title)
Download the source.
A email has been sent to . Please check your email to confirm your subscribtion. Thank you
Tag Cloud
authentication
django
erlang
facebook
fastcgi
ffmpeg
field
git
gzip
hibernate
http
json
linux
listen
logging
lucid
mysql
nginx
php
python
random
rsyslog
s3
somaxconn
sqlalchemy
twitter
ubuntu
uwsgi
wordpress
Recent Articles
- somaxconn - That pesky limit.
- An auto random character field for Django
- Django request logging and json
- Django logging, json, and syslog
- Adding http gzip support in Python
- Searching Twitter with Python
- Generating external ids with django
- Capturing the output from ffmpeg
- Learning Erlang
- Upload files to S3 with progressbar
- Django Facebook Authentication Backend
- Python function runtime logging decorator
- Comparison of IN, GROUP BY and COUNT using Hibernate, Django and SQLAlchemy
- IN, GROUP BY and COUNT with Hibernate
- Init script for fastcgi and php on Ubuntu
Subscribe
- alias migrate="./manage.py migrate --all --delete-ghost-migrations --merge" 8 months, 3 weeks ago
- Derrick liked Paintball Warfare - Epic Paintball Battle on @CrowdTubeTV. http://t.co/4aJrEnfw 11 months, 3 weeks ago
- Derrick Petzold liked Imaginary DJ on @CrowdTubeTV. http://t.co/xGlopcqY 1 year ago
- Five years later this is still very relevant http://t.co/TuY4Is6I in a framework that is still considered "edgy". 1 year, 2 months ago
- I couldn't resist. #massreassignment http://t.co/KnmZjSlS 1 year, 2 months ago
Blog Roll
- Cory Shaw
- Oliver Beattie
- Micheal Whalen
- alestic
- Agile Testing
- Amazon Web Services Blog
- Boxed Ice Blog
- Brian Breslin's Blog
- Caktus Blog
- Chromium Blog
- Coding Horror
- Doug Hellmann
- High Scalability
- Martin Kleppmann's blog
- MySQL Performance Blog
- Paul Graham: Essays
- Paul Irish
- Planet Django
- Planet Python
- RightScale Blog
- Schneier on Security
- The Netflix Tech Blog
- Travis Swicegood
- twilio engineering blog







Be the first to comment.