This repository was archived by the owner on Sep 16, 2024. It is now read-only.
File tree 2 files changed +30
-2
lines changed
2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ Coming soon...
99
99
- [X] [ Stop All Scheduled Tasks] ( https://github.com/sikelio/plexmanager/issues/64 )
100
100
- [X] [ Run Optimize Database Task] ( https://github.com/sikelio/plexmanager/issues/67 )
101
101
- [X] [ Stop Optimize Database Task] ( https://github.com/sikelio/plexmanager/issues/68 )
102
- - [ ] [ Run Clean Old Bundles Task] ( https://github.com/sikelio/plexmanager/issues/69 )
103
- - [ ] [ Stop Clean Old Bundles Task] ( https://github.com/sikelio/plexmanager/issues/70 )
102
+ - [X ] [ Run Clean Old Bundles Task] ( https://github.com/sikelio/plexmanager/issues/69 )
103
+ - [X ] [ Stop Clean Old Bundles Task] ( https://github.com/sikelio/plexmanager/issues/70 )
104
104
- [ ] [ Run Clean Old Cache Files Task] ( https://github.com/sikelio/plexmanager/issues/71 )
105
105
- [ ] [ Stop Clean Old Cache Files Task] ( https://github.com/sikelio/plexmanager/issues/72 )
106
106
- [ ] [ Run Refresh Libraries Task] ( https://github.com/sikelio/plexmanager/issues/73 )
Original file line number Diff line number Diff line change @@ -624,6 +624,34 @@ class SingleServer extends React.Component {
624
624
</ ListItem . Content >
625
625
</ ListItem >
626
626
627
+ < ListItem >
628
+ < ListItem . Content >
629
+ < View style = { { width : '100%' } } >
630
+ < Button
631
+ title = 'Run Clean Old Bundles Task'
632
+ color = '#e5a00d'
633
+ onPress = { ( ) => {
634
+ sendPostRequest ( `${ this . state . server . protocol } ://${ this . state . server . ip } :${ this . state . server . port } /butler/CleanOldBundles?X-Plex-Token=${ this . state . server . token } ` ) ;
635
+ } }
636
+ />
637
+ </ View >
638
+ </ ListItem . Content >
639
+ </ ListItem >
640
+
641
+ < ListItem >
642
+ < ListItem . Content >
643
+ < View style = { { width : '100%' } } >
644
+ < Button
645
+ title = 'Stop Clean Old Bundles Task'
646
+ color = '#e5a00d'
647
+ onPress = { ( ) => {
648
+ sendDeleteRequest ( `${ this . state . server . protocol } ://${ this . state . server . ip } :${ this . state . server . port } /butler/OptimizeDatabase?X-Plex-Token=${ this . state . server . token } ` ) ;
649
+ } }
650
+ />
651
+ </ View >
652
+ </ ListItem . Content >
653
+ </ ListItem >
654
+
627
655
< ListItem >
628
656
< ListItem . Content >
629
657
< View style = { { width : '100%' } } >
You can’t perform that action at this time.
0 commit comments