]> git.parisson.com Git - telecaster-server.git/commitdiff
py3
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 22 Apr 2024 10:24:59 +0000 (12:24 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Mon, 22 Apr 2024 10:24:59 +0000 (12:24 +0200)
bin/publishing/telecaster_master-ae.sh
bin/publishing/telecaster_master-crfpa-mp4-staging.sh
bin/publishing/telecaster_master-crfpa-mp4.sh
bin/publishing/telecaster_master-pro.sh

index 10287bd93d255ad7acf2a1547156d5ebe3400d74..a062abf3833d61d2a9f46525f35b3f189e3b1fb3 100755 (executable)
@@ -20,12 +20,12 @@ emails="webmaster@parisson.com,jeannot@parisson.com"
 subject="TeleCaster remux ($departement)"
 bwlimit=20000
 
-python $telecaster_server/bin/mastering/mastering.py --nvidia --dir $media_dir --log $mastering_log
+python3 $telecaster_server/bin/mastering/mastering.py --nvidia --dir $media_dir --log $mastering_log
 
 rsync -auLKr --bwlimit=$bwlimit --include="*/" --include="$year/**"  --include="$year2/**" --exclude="*.webm" --exclude="@eaDir" $media_dir $media_server:$server_media_dir
 
 ssh $app_server "docker compose -f $app_path/docker-compose.yml -f $app_path/env/prod.yml exec -T app /srv/app/manage.py teleforma-import-conferences-2 $organization $department $import_log"
 
-python $telecaster_server/bin/messaging/mail_msg.py $subject $tmp_log $emails
+python3 $telecaster_server/bin/messaging/mail_msg.py $subject $tmp_log $emails
 
 
index 54343bf878c0c874829304b27fcff61d2f95d9c5..655c17204a2d73a841d9659a0c1bb7c597f641fe 100755 (executable)
@@ -16,7 +16,7 @@ emails="webmaster@parisson.com,jeannot@parisson.com"
 subject="TeleCaster remux (CRFPA)"
 bwlimit=20000
 
-python $telecaster_server/bin/mastering/mastering.py --nvidia --dir $local_media_dir --log $mastering_log
+python3 $telecaster_server/bin/mastering/mastering.py --nvidia --dir $local_media_dir --log $mastering_log
 
 #find $backup_dir -type d -exec chmod 755 {} \;
 #find $backup_dir -type f -exec chmod 644 {} \;
@@ -25,6 +25,6 @@ rsync -auLKr --bwlimit=$bwlimit --include="*/" --include="$year/**" --exclude="*
 
 ssh $app_server "docker compose -f $app_path/docker-compose.yml -f $app_path/env/prod.yml exec -T app /srv/app/manage.py teleforma-import-conferences-2 $organization $department $server_import_log"
 
-python $telecaster_server/bin/messaging/mail_msg.py $subject $tmp_log $emails
+python3 $telecaster_server/bin/messaging/mail_msg.py $subject $tmp_log $emails
 
 
index b5853af293528429fda5d4c52703ac49e14c0fa4..874b428b7f175cb8f2711c9cd325135bbdfd3ff6 100755 (executable)
@@ -16,7 +16,7 @@ emails="webmaster@parisson.com,jeannot@parisson.com"
 subject="TeleCaster remux (CRFPA)"
 bwlimit=20000
 
-python $telecaster_server/bin/mastering/mastering.py --nvidia --dir $local_media_dir --log $mastering_log
+python3 $telecaster_server/bin/mastering/mastering.py --nvidia --dir $local_media_dir --log $mastering_log
 
 #find $backup_dir -type d -exec chmod 755 {} \;
 #find $backup_dir -type f -exec chmod 644 {} \;
@@ -25,6 +25,6 @@ rsync -auLKr --bwlimit=$bwlimit --include="*/" --include="$year/**" --exclude="*
 
 ssh $app_server "docker compose -f $app_path/docker-compose.yml -f $app_path/env/prod.yml exec -T app /srv/app/manage.py teleforma-import-conferences-2 $organization $department $server_import_log"
 
-python $telecaster_server/bin/messaging/mail_msg.py $subject $tmp_log $emails
+python3 $telecaster_server/bin/messaging/mail_msg.py $subject $tmp_log $emails
 
 
index e9e04b105ebfc7cebe2ff6b54bef4a3cbb7cc2b0..66f0457a6c129e9f5d08eefa628da5f7e915f02a 100755 (executable)
@@ -18,7 +18,7 @@ for y in `seq $(($year)) $(($year+1))`; do
  server_media_dir="/mnt/prob-videos/Pre-Barreau/Pro-Barreau/Final/$y/"
  archives_media_dir="/home/telecaster/archives/Pre-Barreau/Pro-Barreau/$y/"
 
-  python $telecaster_server/bin/mastering/mastering.py --nvidia --auto-_offset --dir $archives_media_dir --log $mastering_log
+  python3 $telecaster_server/bin/mastering/mastering.py --nvidia --auto-_offset --dir $archives_media_dir --log $mastering_log
 
   chmod -fR 664 $local_media_dir; chmod -fR +rX $local_media_dir
   rsync -aquLKP --bwlimit=15000 --delete --exclude="@eaDir" $local_media_dir $server:$server_media_dir