# pip install django-debug-toolbar==1.6
# pip install -e git+https://github.com/Parisson/django-jqchat.git@dj1.8#egg=django-jqchat
# pip install -e git+https://github.com/Parisson/saved_searches.git@dj1.8#egg=saved_searches-2.0.0-beta
+pip install youtube-dl
# waiting for other network services
sh $app/bin/wait.sh
# pip install django-debug-toolbar==1.6
# pip install -e git+https://github.com/Parisson/django-jqchat.git@dj1.8#egg=django-jqchat
# pip install -e git+https://github.com/Parisson/saved_searches.git@dj1.8#egg=saved_searches-2.0.0-beta
+pip install youtube-dl
# waiting for other services
bash $app/bin/wait.sh
AUTH_PROFILE_MODULE = 'telemeta.userprofile'
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
+AUTH_USER_MODEL = 'auth.User'
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/desk/lists/'
volumes:
- ./app:/srv/app
- ./telemeta:/srv/lib/telemeta/telemeta
+ - ./lib/TimeSide:/srv/lib/timeside
volumes_from:
- data
env_file:
- # -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
#
# Copyright (c) 2015-2016 Parisson SARL
-Subproject commit 0618d75cd2f16021afcfd3d5b77f692adad76ea5
+Subproject commit 484f6ad709401ea85fba35417567caf6a912b461
self.selection, c = Selection.objects.get_or_create(title=selection_title)
items = self.selection.items.all()
-
+ print(items)
for tm_item in tm_items:
if tm_item.file:
- path = os.sep.join([self.media_root, tm_item.file])
+ path = tm_item.file.path
item, c = Item.objects.get_or_create(title=tm_item.title,
source_file=path)
if not item in items: