@@ -56,7 +56,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
56
56
< label title ="Password for web server authentication. Leave empty to disable. ">
57
57
HTTP Password
58
58
</ label >
59
- < input type ="password " name ="http_password " value ="${config['http_password']} " size ="30 ">
59
+ < input type ="password " name ="http_password " value ="${config['http_password'] | h } " size ="30 ">
60
60
</ div >
61
61
< div class ="row checkbox ">
62
62
< input type ="checkbox " name ="launch_browser " value ="1 " ${config[ 'launch_browser']} />
@@ -173,7 +173,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
173
173
< label title ="SABnzbd password. Leave empty if not applicable. ">
174
174
SABnzbd Password
175
175
</ label >
176
- < input type ="password " name ="sab_password " value ="${config['sab_password']} " size ="20 ">
176
+ < input type ="password " name ="sab_password " value ="${config['sab_password'] | h } " size ="20 ">
177
177
</ div >
178
178
< div class ="row ">
179
179
< label title ="SABnzbd API key. Can be found in SABnzbd settings. ">
@@ -207,7 +207,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
207
207
< label title ="NZBGet password. Leave empty if not applicable ">
208
208
NZBget Password
209
209
</ label >
210
- < input type ="password " name ="nzbget_password " value ="${config['nzbget_password']} " size ="20 ">
210
+ < input type ="password " name ="nzbget_password " value ="${config['nzbget_password'] | h } " size ="20 ">
211
211
</ div >
212
212
< div class ="row ">
213
213
< label title ="Name of NZBget category to add downloads to. ">
@@ -359,7 +359,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
359
359
</ div >
360
360
< div class ="row ">
361
361
< label > Transmission Password</ label >
362
- < input type ="password " name ="transmission_password " value ="${config['transmission_password']} " size ="30 ">
362
+ < input type ="password " name ="transmission_password " value ="${config['transmission_password'] | h } " size ="30 ">
363
363
</ div >
364
364
< div class ="row ">
365
365
< small > Note: With Transmission, you can specify a different download directory for downloads sent from Headphones.
@@ -379,7 +379,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
379
379
</ div >
380
380
< div class ="row ">
381
381
< label > uTorrent Password</ label >
382
- < input type ="password " name ="utorrent_password " value ="${config['utorrent_password']} " size ="30 ">
382
+ < input type ="password " name ="utorrent_password " value ="${config['utorrent_password'] | h } " size ="30 ">
383
383
</ div >
384
384
< div class ="row ">
385
385
< label > uTorrent Label</ label >
@@ -400,7 +400,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
400
400
</ div >
401
401
< div class ="row ">
402
402
< label > Deluge Password</ label >
403
- < input type ="password " name ="deluge_password " value ="${config['deluge_password']} " size ="30 ">
403
+ < input type ="password " name ="deluge_password " value ="${config['deluge_password'] | h } " size ="30 ">
404
404
</ div >
405
405
< div class ="row ">
406
406
< small > Note: With Deluge, you can specify a different download directory for downloads sent from Headphones.
@@ -466,7 +466,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
466
466
</ div >
467
467
< div class ="row ">
468
468
< label > Password</ label >
469
- < input class ="hppass " type ="password " value ="${config['hppass']} " size ="20 ">
469
+ < input class ="hppass " type ="password " value ="${config['hppass'] | h } " size ="20 ">
470
470
</ div >
471
471
< div class ="row ">
472
472
< a href ="https://headphones.codeshy.com/vip " id ="vipserver " target ="_blank "> Don't have an account? Sign up!</ a >
@@ -622,7 +622,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
622
622
</ div >
623
623
< div class ="row ">
624
624
< label > Password</ label >
625
- < input type ="password " name ="rutracker_password " value ="${config['rutracker_password']} " size ="36 ">
625
+ < input type ="password " name ="rutracker_password " value ="${config['rutracker_password'] | h } " size ="36 ">
626
626
</ div >
627
627
< div class ="row ">
628
628
< label > Seed Ratio</ label >
@@ -642,7 +642,11 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
642
642
</ div >
643
643
< div class ="row ">
644
644
< label > Password</ label >
645
- < input type ="password " name ="whatcd_password " value ="${config['whatcd_password']} " size ="36 ">
645
+ < input type ="password " name ="whatcd_password " value ="${config['whatcd_password'] | h} " size ="36 ">
646
+ </ div >
647
+ < div class ="row ">
648
+ < label > URL</ label >
649
+ < input type ="text " name ="whatcd_url " value ="${config['whatcd_url']} " size ="36 ">
646
650
</ div >
647
651
< div class ="row ">
648
652
< label > Seed Ratio</ label >
@@ -651,6 +655,30 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
651
655
</ div >
652
656
</ fieldset >
653
657
658
+ < fieldset >
659
+ < div class ="row checkbox left ">
660
+ < input id ="use_pth " type ="checkbox " class ="bigcheck " name ="use_pth " value ="1 " ${config[ 'use_pth']} /> < label for ="use_pth "> < span class ="option "> PassTheHeadphones.me</ span > </ label >
661
+ </ div >
662
+ < div class ="config ">
663
+ < div class ="row ">
664
+ < label > Username</ label >
665
+ < input type ="text " name ="pth_username " value ="${config['pth_username']} " size ="36 ">
666
+ </ div >
667
+ < div class ="row ">
668
+ < label > Password</ label >
669
+ < input type ="password " name ="pth_password " value ="${config['pth_password']} " size ="36 ">
670
+ </ div >
671
+ < div class ="row ">
672
+ < label > URL</ label >
673
+ < input type ="text " name ="pth_url " value ="${config['pth_url']} " size ="36 ">
674
+ </ div >
675
+ < div class ="row ">
676
+ < label > Seed Ratio</ label >
677
+ < input type ="text " class ="override-float " name ="pth_ratio " value ="${config['pth_ratio']} " size ="10 " title ="Stop seeding when ratio met, 0 = unlimited. Scheduled job will remove torrent when post processed and finished seeding ">
678
+ </ div >
679
+ </ div >
680
+ </ fieldset >
681
+
654
682
< fieldset >
655
683
< div class ="row checkbox left ">
656
684
< input id ="use_strike " type ="checkbox " class ="bigcheck " name ="use_strike " value ="1 " ${config[ 'use_strike']} /> < label for ="use_strike "> < span class ="option "> Strike Search</ span > </ label >
@@ -755,7 +783,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
755
783
</ div >
756
784
< div class ="row ">
757
785
< label > Password</ label >
758
- < input type ="password " name ="tquattrecentonze_password " value ="${config['tquattrecentonze_password']} " size ="36 ">
786
+ < input type ="password " name ="tquattrecentonze_password " value ="${config['tquattrecentonze_password'] | h } " size ="36 ">
759
787
</ div >
760
788
</ div >
761
789
</ fieldset >
@@ -980,7 +1008,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
980
1008
< label > SMTP User</ label > < input type ="text " name ="email_smtp_user " value ="${config['email_smtp_user']} " size ="254 ">
981
1009
</ div >
982
1010
< div class ="row ">
983
- < label > SMTP Password</ label > < input type ="password " name ="email_smtp_password " value ="${config['email_smtp_password']} " size ="50 ">
1011
+ < label > SMTP Password</ label > < input type ="password " name ="email_smtp_password " value ="${config['email_smtp_password'] | h } " size ="50 ">
984
1012
</ div >
985
1013
< div class ="row checkbox ">
986
1014
< input type ="text " class ="override-float " name ="email_smtp_port " value ="${config['email_smtp_port']} " size ="4 "> < label > SMTP Port</ label >
@@ -1006,7 +1034,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
1006
1034
< label > Growl Host:Port</ label > < input type ="text " name ="growl_host " value ="${config['growl_host']} " size ="30 ">
1007
1035
</ div >
1008
1036
< div class ="row ">
1009
- < label > Growl Password</ label > < input type ="password " name ="growl_password " value ="${config['growl_password']} " size ="30 ">
1037
+ < label > Growl Password</ label > < input type ="password " name ="growl_password " value ="${config['growl_password'] | h } " size ="30 ">
1010
1038
</ div >
1011
1039
< div class ="row checkbox ">
1012
1040
< input type ="checkbox " name ="growl_onsnatch " value ="1 " ${config[ 'growl_onsnatch']} /> < label > Notify on snatch?</ label >
@@ -1028,7 +1056,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
1028
1056
< label > Username</ label > < input type ="text " name ="xbmc_username " value ="${config['xbmc_username']} " size ="30 ">
1029
1057
</ div >
1030
1058
< div class ="row ">
1031
- < label > Password</ label > < input type ="password " name ="xbmc_password " value ="${config['xbmc_password']} " size ="30 ">
1059
+ < label > Password</ label > < input type ="password " name ="xbmc_password " value ="${config['xbmc_password'] | h } " size ="30 ">
1032
1060
</ div >
1033
1061
< div class ="checkbox row ">
1034
1062
< input type ="checkbox " name ="xbmc_update " value ="1 " ${config[ 'xbmc_update']} /> < label > Update Library</ label >
@@ -1142,7 +1170,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
1142
1170
< small > Username of your Plex client API (blank for none)</ small >
1143
1171
</ div >
1144
1172
< div class ="row ">
1145
- < label > Plex Password</ label > < input type ="password " name ="plex_password " value ="${config['plex_password']} " size ="30 ">
1173
+ < label > Plex Password</ label > < input type ="password " name ="plex_password " value ="${config['plex_password'] | h } " size ="30 ">
1146
1174
< small > Password of your Plex client API (blank for none)</ small >
1147
1175
</ div >
1148
1176
< div class ="row ">
@@ -1242,7 +1270,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
1242
1270
< label > Subsonic Username</ label > < input type ="text " name ="subsonic_username " value ="${config['subsonic_username']} " size ="30 ">
1243
1271
</ div >
1244
1272
< div class ="row ">
1245
- < label > Subsonic Password</ label > < input type ="password " name ="subsonic_password " value ="${config['subsonic_password']} " size ="30 ">
1273
+ < label > Subsonic Password</ label > < input type ="password " name ="subsonic_password " value ="${config['subsonic_password'] | h } " size ="30 ">
1246
1274
</ div >
1247
1275
</ div >
1248
1276
</ fieldset >
@@ -1642,7 +1670,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
1642
1670
< label > Username</ label > < input type ="text " class ="customuser " name ="customuser " value ="${config['customuser']} " size ="20 ">
1643
1671
</ div >
1644
1672
< div class ="row ">
1645
- < label > Password</ label > < input type ="password " class ="custompass " name ="custompass " value ="${config['custompass']} " size ="15 "> < br >
1673
+ < label > Password</ label > < input type ="password " class ="custompass " name ="custompass " value ="${config['custompass'] | h } " size ="15 "> < br >
1646
1674
</ div >
1647
1675
</ div >
1648
1676
< div class ="row ">
@@ -1655,7 +1683,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
1655
1683
< label > Username</ label > < input type ="text " class ="hpuser " name ="hpuser " value ="${config['hpuser']} " size ="20 ">
1656
1684
</ div >
1657
1685
< div class ="row ">
1658
- < label > Password</ label > < input type ="password " class ="hppass " name ="hppass " value ="${config['hppass']} " size ="20 "> < br >
1686
+ < label > Password</ label > < input type ="password " class ="hppass " name ="hppass " value ="${config['hppass'] | h } " size ="20 "> < br >
1659
1687
< a href ="https://headphones.codeshy.com/vip " id ="vipserver " target ="_blank "> Get an Account!</ a >
1660
1688
</ div >
1661
1689
</ div >
@@ -2412,6 +2440,7 @@ <h1 class="clearfix"><i class="fa fa-gear"></i> Settings</h1>
2412
2440
initConfigCheckbox ( "#use_waffles" ) ;
2413
2441
initConfigCheckbox ( "#use_rutracker" ) ;
2414
2442
initConfigCheckbox ( "#use_whatcd" ) ;
2443
+ initConfigCheckbox ( "#use_pth" ) ;
2415
2444
initConfigCheckbox ( "#use_strike" ) ;
2416
2445
initConfigCheckbox ( "#api_enabled" ) ;
2417
2446
initConfigCheckbox ( "#enable_https" ) ;
0 commit comments