diff --git a/.env.install b/.env.install new file mode 100644 index 0000000..059f502 --- /dev/null +++ b/.env.install @@ -0,0 +1,8 @@ +export TRANSMISSION_REMOTE=true +export TRANSMISSION_HOST="myserver.example.com" +export TRANSMISSION_PORT="9091" +export TRANSMISSION_USER="username" +export TRANSMISSION_PASS="password" +export TRANSMISSION_RPC_PATH="/transmission/rpc" +export REMOTE_DOWNLOAD_DIR="/var/lib/transmission-daemon/downloads" +export LOCAL_DOWNLOAD_DIR="/mnt/downloads" diff --git a/modules/file-creator-module.sh b/modules/file-creator-module.sh index 92f60e5..8317476 100644 --- a/modules/file-creator-module.sh +++ b/modules/file-creator-module.sh @@ -9,7 +9,7 @@ function create_config_files() { mkdir -p "$CONFIG_DIR" cat > $CONFIG_DIR/config.json << EOF { - "version": "2.0.3", + "version": "2.0.6", "installPath": "$INSTALL_DIR", "transmissionConfig": { "host": "$TRANSMISSION_HOST", diff --git a/modules/rss-feed-manager.js b/modules/rss-feed-manager.js index 2cd729c..44e775e 100644 --- a/modules/rss-feed-manager.js +++ b/modules/rss-feed-manager.js @@ -134,7 +134,7 @@ class RssFeedManager { const response = await fetch(feed.url, { timeout: 30000, // 30 second timeout headers: { - 'User-Agent': 'Transmission-RSS-Manager/1.2.0' + 'User-Agent': 'Transmission-RSS-Manager/2.0.6' } }); diff --git a/modules/utils-module.sh b/modules/utils-module.sh index c40ad32..7db8ccf 100644 --- a/modules/utils-module.sh +++ b/modules/utils-module.sh @@ -158,7 +158,7 @@ function finalize_setup() { cat > $CONFIG_DIR/config.json << EOF { - "version": "1.2.0", + "version": "2.0.6", "transmissionConfig": { "host": "${TRANSMISSION_HOST}", "port": ${TRANSMISSION_PORT}, diff --git a/public/index.html b/public/index.html index 119be0d..71e004a 100644 --- a/public/index.html +++ b/public/index.html @@ -545,7 +545,7 @@
-

Transmission RSS Manager v2.0.0

+

Transmission RSS Manager v2.0.6

GitHub | About

@@ -592,6 +592,16 @@

Version History

+
+
v2.0.6 - March 2025
+
    +
  • Fixed: Remote Transmission configuration storage and application
  • +
  • Fixed: Config directory issues in /etc/transmission-rss-manager
  • +
  • Fixed: Input handling for automated/piped installations
  • +
  • Improved: Non-interactive mode for scripted installations
  • +
  • Added: Enhanced debug logging for installation process
  • +
+
v2.0.0 - March 2025
    diff --git a/scripts/update.sh b/scripts/update.sh index eb6d847..e381710 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -81,4 +81,4 @@ fi # Update complete echo -e "${GREEN}${BOLD}Update complete!${NC}" echo -e "Updated from version $CURRENT_VERSION to $NEW_VERSION" -echo -e "Changes will take effect immediately." \ No newline at end of file +echo -e "Changes will take effect immediately." diff --git a/server.js b/server.js index d695671..2c44d02 100644 --- a/server.js +++ b/server.js @@ -397,7 +397,7 @@ app.get('/api/status', authenticateJWT, async (req, res) => { res.json({ success: true, status: 'running', - version: '1.2.0', + version: '2.0.6', transmissionConnected: transmissionStatus.connected, transmissionVersion: transmissionStatus.version, transmissionStats: {