mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
1 line
4.6 KiB
JSON
1 line
4.6 KiB
JSON
{"name":"Newznab-tmux","tagline":"Greatly improved jonnyboys newznab-tmux with additions from nZEDb (https://github.com/nZEDb/nZEDb)","body":"I have forked jonnyboys newznab-tmux as he and the dev team have moved to another project (https://github.com/nZEDb/nZEDb). I will try as much as i can to maintain and improve these tmux scripts, where possible and needed, as they are a valuable addendum to newznab+.\r\nSupport is given on irc.synirc.net #tmux channel.\r\n\r\nI started adapting some of more interesting scripts from nZEDb, but they require tempering with newznab database, so use them at your own risk. By using newznab-tmux you will render your indexer incompatible with newznab (you can revert changes by forcing the svn checkout, it will replace the changed files. Newznab is not aware of the changes in database, so you are safe to leave them as they are). Scripts require PHP version >= 5.5.x and Python 2.7x or newer.\r\n\r\n# Steps to have a working tmux install:\r\n\r\n CD to the root of your newznab install, ie. cd /var/www/newznab\r\n Next steps are very important:\r\n \r\n \t\tIf you are already a tmux user, you need to remove the .git folder from tmux folder. \r\n \r\n \t\tgit init \r\n \t\tgit remote add origin https://github.com/DariusIII/newznab-tmux.git\r\n \t\tgit fetch\r\n \t\tgit reset --hard origin/your_wanted_branch, ie. git reset --hard origin/master\r\n \t\tgit checkout -t origin/your_wanted_branch, ie. git checkout -t origin/master\r\n\r\n\tThere is a lib folder in main tmux folder. In that folder you will find DB folder. If you are setting up tmux for the first time, import db.sql using cli (mysql -u {┤your username} -p newznab < db.sql).\r\n\tAfter importing db.sql you need to run the patchDB.php from same folder. After the last patch is applied, you need to manualy apply the next patch labeled XXXX~settings.sql (XXXX is a patch number that is different on dev/master(0122) and regexless branch(0149)).\t\r\n\tWhen you have manualy applied that patch, you can use the new database updater located in /path/to/newznab/cli/ and run update_db.php true and it will apply the rest of the patches (if they exist).\r\n\tAfter these steps, patchDB is unusable anymore and you need to use the new update_db.php script in cli folder.\r\n\r\n\tYou need to chmod to 777 following folders now:\r\n\tresources/*\r\n\tlibs/smarty/templates_c\r\n\tnzbfiles/ \r\n\r\n\tYou need to add an alias to your apache/nginx conf of your indexer:\r\n\tAlias /covers /path/to/newznab/resources/covers\r\n\r\n# yEnc:\r\n\r\n Note: You have 3 choices,\r\n you can install simple_php_yenc_decode which offers the best performance,\r\n installing yydecode, which offers good performance,\r\n or using PHP (no install required) which is very slow.\r\n You can change these at any time if you have issues with any of the 3.\r\n\r\n simple_php_yenc_decode:\r\n\r\n sudo apt-get install git\r\n cd ~/\r\n git clone https://github.com/kevinlekiller/simple_php_yenc_decode\r\n cd simple_php_yenc_decode/\r\n sh ubuntu.sh\r\n cd ~/\r\n rm -rf simple_php_yenc_decode/\r\n\r\n yydecode:\r\n\r\n cd ~/\r\n mkdir -p yydecode\r\n cd yydecode/\r\n wget http://colocrossing.dl.sourceforge.net/project/yydecode/yydecode/0.2.10/yydecode-0.2.10.tar.gz\r\n tar -xzf yydecode-0.2.10.tar.gz\r\n cd yydecode-0.2.10/\r\n ./configure\r\n make\r\n sudo make install\r\n make clean\r\n cd ~/\r\n rm -rf yydecode/\r\n\r\n Note: After installing you can change the yEnc setting in tmux edit accordingly.\r\n\r\n# Threaded Scripts:\r\n\r\n Tmux comes with php threaded scripts, python scripts are still there, but are not used, and will be removed in future\r\n\r\n# Table per group:\r\n\r\n Tmux can now be used with TPG ported from nZEDb, you need to run lib/testing/DB/convert_to_tpg.php to convert binaries, parts and partrepair tables, after this you will be able to use\r\n threaded releases.php\r\n\r\n# Alternate NNTP provider:\r\n\r\n Newznab-tmux has added support for dual NNTP providers, you need to edit the provided config.php.example in www folder.\r\n\r\n# Sphinx support:\r\n\r\n Newznab-tmux now comes with its own Sphinx support, ported from nZEDb. Installation readme is in misc/sphinxsearch folder.\r\n\r\n This version of tmux has many core newznab files modified, use at your own risk.\r\n\r\nTmux is started by following command in cli, from tmux folder: php tmux-ui.php start. Tmux can be gracefuly stopped in similar manner php tmux-ui.php stop.\r\n\r\n\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."} |