:Search:

Amanda Shaw Pretty Runs Out 2008 FLAC 16 44 1

Torrent:
Info Hash: F520F6383B91D23862EEC653441A19FA27F063FB
Similar Posts:
Uploader: FrankVjecy
Source: 1 Logo 1337x
Downloads: 7
Type: Lossless
Images:
Amanda Shaw Pretty Runs Out 2008 FLAC 16 44 1
Language: English
Description:
Client:  fre:ac - free audio converter
Version: v1.1.6 (x86-64)
System:  "openSUSE Tumbleweed" (Linux 6.6.7-1-default)
CPU:     AMD A10-5700 APU with Radeon(tm) HD Graphics
RAM:     17.5 GB
Date:    2024-02-16
Time:    15:42:20
hh:mm:ss.fff
------------
00:00:00.034 Starting conversion process...
00:00:00.034     Selected encoder:     FLAC Audio Encoder v1.3.3
00:00:00.034     Parallel processing:  Enabled (up to 4 threads)
00:00:00.034         SuperFast mode:   Disabled
00:00:00.034
00:00:00.035     Output settings:      Multiple files
00:00:00.035         Filename pattern: /[] /. <br>00:00:00.035<br>00:00:00.035     Output verification:  Enabled<br>00:00:00.036<br>00:00:00.155     Using drive:          device://cdda:0/<br>00:00:00.155         Drive model:      hp DVD A  DH16ACSHR JHG7<br>00:00:00.155         Device path:      /dev/sr0<br>00:00:00.155         Read offset:      6 samples<br>00:00:00.156<br>00:00:00.156     Disc TOC:<br>00:00:00.156<br>00:00:00.156         Track |   Start  |  Length  | Start sector | End sector<br>00:00:00.156         -------------------------------------------------------<br>00:00:00.156             1 | 00:00.00 | 03:29.45 |            0 |      15719<br>00:00:00.157             2 | 03:29.45 | 03:11.61 |        15720 |      30105<br>00:00:00.157             3 | 06:41.31 | 03:14.46 |        30106 |      44701<br>00:00:00.157             4 | 09:56.02 | 03:50.14 |        44702 |      61965<br>00:00:00.158             5 | 13:46.16 | 04:17.04 |        61966 |      81244<br>00:00:00.158             6 | 18:03.20 | 04:15.20 |        81245 |     100389<br>00:00:00.158             7 | 22:18.40 | 04:24.48 |       100390 |     120237<br>00:00:00.158             8 | 26:43.13 | 04:10.18 |       120238 |     139005<br>00:00:00.159             9 | 30:53.31 | 04:18.27 |       139006 |     158382<br>00:00:00.159            10 | 35:11.58 | 03:10.74 |       158383 |     172706<br>00:00:00.159            11 | 38:22.57 | 03:24.67 |       172707 |     188073<br>00:00:00.159            12 | 41:47.49 | 04:21.28 |       188074 |     207676<br>00:00:00.160            13 | 46:09.02 | 03:27.54 |       207677 |     223255<br>00:00:00.160<br>00:00:00.160     Disc info:<br>00:00:00.160         CDDB disc ID:  9b0ba00d<br>00:00:00.161         CDDB category: country<br>00:00:00.161<br>00:00:00.161         Artist:        Amanda Shaw<br>00:00:00.161         Album:         Pretty Runs Out<br>00:00:00.161         Genre:         Country<br>00:00:00.161         Published:     2008<br>00:00:00.161<br>00:00:00.162         Track | Offset | Track title<br>00:00:00.162         -------------------------------------------------------<br>00:00:00.162             1 |    150 | Pretty Runs Out<br>00:00:00.162             2 |  15870 | Chirmolito<br>00:00:00.162             3 |  30256 | French Jig<br>00:00:00.163             4 |  44852 | Brick Wall<br>00:00:00.163             5 |  62116 | I Don't Want to be Your Friend<br>00:00:00.163             6 |  81395 | Garden of Eden<br>00:00:00.163             7 | 100540 | What's Wrong with You?<br>00:00:00.163             8 | 120388 | McGee's Medley<br>00:00:00.164             9 | 139156 | Wishing Me Away<br>00:00:00.164            10 | 158533 | Gone<br>00:00:00.164            11 | 172857 | Woulda Coulda Shoulda<br>00:00:00.164            12 | 188224 | Reels: The Gaspe Reel/Sam's Slammer/Imogen's Ridge<br>00:00:00.164            13 | 207827 | Easy on our Way Out<br>00:00:00.165<br>00:00:05.178     Ripping: device://cdda:0/1<br>00:00:05.179          to: Amanda Shaw/[2008] Pretty Runs Out/01. Pretty Runs Out.flac<br>00:00:05.179         Decoder: CDIO Ripper Component v2.1.0<br>00:00:05.179<br>00:00:31.599     Successfully verified input track: device://cdda:0/1<br>00:00:31.600         Track has been accurately ripped:<br>00:00:31.600             Checksum (AccurateRip v2): 6f67795b, Confidence: 9<br>00:00:31.601<br>00:00:31.606     Finished ripping: device://cdda:0/1<br>00:00:31.607         CRC checksum: 69707792<br>00:00:31.607         Duration: 00:26.427 (7.9x speed)<br>00:00:31.608<br>00:00:31.622     Verifying: 01. Pretty Runs Out.flac<br>00:00:31.622<br>00:00:32.225     Successfully verified output file: 01. Pretty Runs Out.flac<br>00:00:32.225         MD5 hash: 74e7afd28542cd07c931e0c26eaf716d<br>00:00:32.225         Duration: 00:00.602 (348.2x speed)<br>00:00:32.226<br>00:00:32.366     Ripping: device://cdda:0/2<br>00:00:32.367          to: Amanda Shaw/[2008] Pretty Runs Out/02. Chirmolito.flac<br>00:00:32.367         Decoder: CDIO Ripper Component v2.1.0<br>00:00:32.367<br>00:00:55.283     Successfully verified input track: device://cdda:0/2<br>00:00:55.283         Track has been accurately ripped:<br>00:00:55.284             Checksum (AccurateRip v2): 2c3438ee, Confidence: 9<br>00:00:55.284<br>00:00:55.289     Finished ripping: device://cdda:0/2<br>00:00:55.289         CRC checksum: 030e16b0<br>00:00:55.290         Duration: 00:22.923 (8.4x speed)<br>00:00:55.290<br>00:00:55.302     Verifying: 02. Chirmolito.flac<br>00:00:55.302<br>00:00:55.829     Successfully verified output file: 02. Chirmolito.flac<br>00:00:55.829         MD5 hash: 470c49dde277effe4a24c6190403af7c<br>00:00:55.829         Duration: 00:00.526 (364.7x speed)<br>00:00:55.830<br>00:00:55.962     Ripping: device://cdda:0/3<br>00:00:55.962          to: Amanda Shaw/[2008] Pretty Runs Out/03. French Jig.flac<br>00:00:55.962         Decoder: CDIO Ripper Component v2.1.0<br>00:00:55.962<br>00:01:17.720     Successfully verified input track: device://cdda:0/3<br>00:01:17.720         Track has been accurately ripped:<br>00:01:17.721             Checksum (AccurateRip v2): e1289d38, Confidence: 9<br>00:01:17.721<br>00:01:17.737     Finished ripping: device://cdda:0/3<br>00:01:17.737         CRC checksum: b3dd617e<br>00:01:17.738         Duration: 00:21.775 (8.9x speed)<br>00:01:17.738<br>00:01:17.750     Verifying: 03. French Jig.flac<br>00:01:17.750<br>00:01:18.313     Successfully verified output file: 03. French Jig.flac<br>00:01:18.314         MD5 hash: 5b6488a152c35399adcabdb5e9342451<br>00:01:18.314         Duration: 00:00.563 (345.7x speed)<br>00:01:18.314<br>00:01:18.440     Ripping: device://cdda:0/4<br>00:01:18.441          to: Amanda Shaw/[2008] Pretty Runs Out/04. Brick Wall.flac<br>00:01:18.441         Decoder: CDIO Ripper Component v2.1.0<br>00:01:18.441<br>00:01:42.616     Successfully verified input track: device://cdda:0/4<br>00:01:42.616         Track has been accurately ripped:<br>00:01:42.617             Checksum (AccurateRip v2): 4f2fe26b, Confidence: 9<br>00:01:42.617<br>00:01:42.624     Finished ripping: device://cdda:0/4<br>00:01:42.625         CRC checksum: 1d629fe1<br>00:01:42.625         Duration: 00:24.183 (9.5x speed)<br>00:01:42.625<br>00:01:42.638     Verifying: 04. Brick Wall.flac<br>00:01:42.639<br>00:01:43.311     Successfully verified output file: 04. Brick Wall.flac<br>00:01:43.311         MD5 hash: 1e99b86aefd68c3b4bcd8ee06a2b8876<br>00:01:43.311         Duration: 00:00.672 (342.5x speed)<br>00:01:43.311<br>00:01:43.441     Ripping: device://cdda:0/5<br>00:01:43.441          to: Amanda Shaw/[2008] Pretty Runs Out/05. I Don't Want to be Your Friend.flac<br>00:01:43.442         Decoder: CDIO Ripper Component v2.1.0<br>00:01:43.442<br>00:02:08.501     Successfully verified input track: device://cdda:0/5<br>00:02:08.502         Track has been accurately ripped:<br>00:02:08.502             Checksum (AccurateRip v2): 40accf4f, Confidence: 9<br>00:02:08.503<br>00:02:08.519     Finished ripping: device://cdda:0/5<br>00:02:08.520         CRC checksum: cc2538a3<br>00:02:08.520         Duration: 00:25.078 (10.3x speed)<br>00:02:08.520<br>00:02:08.532     Verifying: 05. I Don't Want to be Your Friend.flac<br>00:02:08.533<br>00:02:09.294     Successfully verified output file: 05. I Don't Want to be Your Friend.flac<br>00:02:09.295         MD5 hash: cb8a1d9591e336fceb6eeadb646f717b<br>00:02:09.295         Duration: 00:00.762 (337.3x speed)<br>00:02:09.295<br>00:02:09.421     Ripping: device://cdda:0/6<br>00:02:09.421          to: Amanda Shaw/[2008] Pretty Runs Out/06. Garden of Eden.flac<br>00:02:09.422         Decoder: CDIO Ripper Component v2.1.0<br>00:02:09.422<br>00:02:33.086     Successfully verified input track: device://cdda:0/6<br>00:02:33.086         Track has been accurately ripped:<br>00:02:33.086             Checksum (AccurateRip v2): 5f6db1ac, Confidence: 9<br>00:02:33.087<br>00:02:33.096     Finished ripping: device://cdda:0/6<br>00:02:33.097         CRC checksum: 746a0acb<br>00:02:33.097         Duration: 00:23.675 (10.8x speed)<br>00:02:33.098<br>00:02:33.107     Verifying: 06. Garden of Eden.flac<br>00:02:33.108<br>00:02:33.811     Successfully verified output file: 06. Garden of Eden.flac<br>00:02:33.811         MD5 hash: dfd8d21cf9ca11c13153ff6756a4bec2<br>00:02:33.811         Duration: 00:00.703 (363.1x speed)<br>00:02:33.811<br>00:02:33.948     Ripping: device://cdda:0/7<br>00:02:33.949          to: Amanda Shaw/[2008] Pretty Runs Out/07. What's Wrong with You.flac<br>00:02:33.949         Decoder: CDIO Ripper Component v2.1.0<br>00:02:33.949<br>00:02:57.179     Successfully verified input track: device://cdda:0/7<br>00:02:57.179         Track has been accurately ripped:<br>00:02:57.180             Checksum (AccurateRip v2): 9779c679, Confidence: 9<br>00:02:57.180<br>00:02:57.186     Finished ripping: device://cdda:0/7<br>00:02:57.186         CRC checksum: aac78e99<br>00:02:57.187         Duration: 00:23.237 (11.4x speed)<br>00:02:57.187<br>00:02:57.199     Verifying: 07. What's Wrong with You.flac<br>00:02:57.200<br>00:02:57.944     Successfully verified output file: 07. What's Wrong with You.flac<br>00:02:57.944         MD5 hash: 65c8a52c59aadffda248684abecb4a36<br>00:02:57.945         Duration: 00:00.744 (355.7x speed)<br>00:02:57.945<br>00:02:58.071     Ripping: device://cdda:0/8<br>00:02:58.071          to: Amanda Shaw/[2008] Pretty Runs Out/08. McGee's Medley.flac<br>00:02:58.071         Decoder: CDIO Ripper Component v2.1.0<br>00:02:58.072<br>00:03:19.006     Successfully verified input track: device://cdda:0/8<br>00:03:19.006         Track has been accurately ripped:<br>00:03:19.007             Checksum (AccurateRip v2): bf7d64c9, Confidence: 9<br>00:03:19.007<br>00:03:19.014     Finished ripping: device://cdda:0/8<br>00:03:19.014         CRC checksum: e29e346c<br>00:03:19.014         Duration: 00:20.942 (11.9x speed)<br>00:03:19.015<br>00:03:19.023     Verifying: 08. McGee's Medley.flac<br>00:03:19.024<br>00:03:19.730     Successfully verified output file: 08. McGee's Medley.flac<br>00:03:19.731         MD5 hash: 97fc845e4f23d27ce4341b1ece40a7db<br>00:03:19.731         Duration: 00:00.707 (353.9x speed)<br>00:03:19.731<br>00:03:19.862     Ripping: device://cdda:0/9<br>00:03:19.863          to: Amanda Shaw/[2008] Pretty Runs Out/09. Wishing Me Away.flac<br>00:03:19.863         Decoder: CDIO Ripper Component v2.1.0<br>00:03:19.863<br>00:03:40.761     Successfully verified input track: device://cdda:0/9<br>00:03:40.762         Track has been accurately ripped:<br>00:03:40.762             Checksum (AccurateRip v2): 52a7984e, Confidence: 9<br>00:03:40.762<br>00:03:40.776     Finished ripping: device://cdda:0/9<br>00:03:40.776         CRC checksum: 8d2990d4<br>00:03:40.777         Duration: 00:20.913 (12.4x speed)<br>00:03:40.778<br>00:03:40.790     Verifying: 09. Wishing Me Away.flac<br>00:03:40.791<br>00:03:41.534     Successfully verified output file: 09. Wishing Me Away.flac<br>00:03:41.534         MD5 hash: 4d51db6e962704a05703b49536f5c4c6<br>00:03:41.535         Duration: 00:00.743 (347.7x speed)<br>00:03:41.535<br>00:03:41.668     Ripping: device://cdda:0/10<br>00:03:41.668          to: Amanda Shaw/[2008] Pretty Runs Out/10. Gone.flac<br>00:03:41.668         Decoder: CDIO Ripper Component v2.1.0<br>00:03:41.669<br>00:03:56.524     Successfully verified input track: device://cdda:0/10<br>00:03:56.525         Track has been accurately ripped:<br>00:03:56.525             Checksum (AccurateRip v2): 14c37083, Confidence: 9<br>00:03:56.525<br>00:03:56.530     Finished ripping: device://cdda:0/10<br>00:03:56.530         CRC checksum: 69899fb0<br>00:03:56.531         Duration: 00:14.862 (12.9x speed)<br>00:03:56.531<br>00:03:56.543     Verifying: 10. Gone.flac<br>00:03:56.543<br>00:03:57.090     Successfully verified output file: 10. Gone.flac<br>00:03:57.090         MD5 hash: c91bbe18d1429e0d1d705dbef6817f9d<br>00:03:57.091         Duration: 00:00.546 (349.8x speed)<br>00:03:57.091<br>00:03:57.224     Ripping: device://cdda:0/11<br>00:03:57.224          to: Amanda Shaw/[2008] Pretty Runs Out/11. Woulda Coulda Shoulda.flac<br>00:03:57.224         Decoder: CDIO Ripper Component v2.1.0<br>00:03:57.225<br>00:04:12.662     Successfully verified input track: device://cdda:0/11<br>00:04:12.663         Track has been accurately ripped:<br>00:04:12.664             Checksum (AccurateRip v2): 1c94c786, Confidence: 9<br>00:04:12.664<br>00:04:12.678     Finished ripping: device://cdda:0/11<br>00:04:12.678         CRC checksum: 6a6c8fc1<br>00:04:12.679         Duration: 00:15.454 (13.3x speed)<br>00:04:12.679<br>00:04:12.692     Verifying: 11. Woulda Coulda Shoulda.flac<br>00:04:12.693<br>00:04:13.327     Successfully verified output file: 11. Woulda Coulda Shoulda.flac<br>00:04:13.328         MD5 hash: 235645a27f08b0aefb956dac6cbacfff<br>00:04:13.328         Duration: 00:00.635 (322.7x speed)<br>00:04:13.328<br>00:04:13.463     Ripping: device://cdda:0/12<br>00:04:13.463          to: Amanda Shaw/[2008] Pretty Runs Out/12. Reels The Gaspe Reel-Sam's Slammer-Imogen's Ridge.flac<br>00:04:13.464         Decoder: CDIO Ripper Component v2.1.0<br>00:04:13.464<br>00:04:32.473     Successfully verified input track: device://cdda:0/12<br>00:04:32.474         Track has been accurately ripped:<br>00:04:32.474             Checksum (AccurateRip v2): 34d6bd3b, Confidence: 9<br>00:04:32.475<br>00:04:32.490     Finished ripping: device://cdda:0/12<br>00:04:32.490         CRC checksum: 1f10e865<br>00:04:32.491         Duration: 00:19.026 (13.7x speed)<br>00:04:32.491<br>00:04:32.504     Verifying: 12. Reels The Gaspe Reel-Sam's Slammer-Imogen's Ridge.flac<br>00:04:32.504<br>00:04:33.264     Successfully verified output file: 12. Reels The Gaspe Reel-Sam's Slammer-Imogen's Ridge.flac<br>00:04:33.264         MD5 hash: f6c0a184586f66e6f66198a546ff40b8<br>00:04:33.264         Duration: 00:00.759 (344.4x speed)<br>00:04:33.265<br>00:04:33.387     Ripping: device://cdda:0/13<br>00:04:33.387          to: Amanda Shaw/[2008] Pretty Runs Out/13. Easy on our Way Out.flac<br>00:04:33.387         Decoder: CDIO Ripper Component v2.1.0<br>00:04:33.387<br>00:04:48.107     Successfully verified input track: device://cdda:0/13<br>00:04:48.108         Track has been accurately ripped:<br>00:04:48.108             Checksum (AccurateRip v2): 7087e2b6, Confidence: 9<br>00:04:48.108<br>00:04:48.113     Finished ripping: device://cdda:0/13<br>00:04:48.114         CRC checksum: a65f18f7<br>00:04:48.114         Duration: 00:14.727 (14.1x speed)<br>00:04:48.114<br>00:04:48.120     Verifying: 13. Easy on our Way Out.flac<br>00:04:48.121<br>00:04:48.752     Successfully verified output file: 13. Easy on our Way Out.flac<br>00:04:48.752         MD5 hash: 88ce6fb11c5ff5cc152a8f470b25229c<br>00:04:48.752         Duration: 00:00.631 (329.2x speed)<br>00:04:48.752<br>00:04:48.761     Writing cue sheet: Amanda Shaw/[2008] Pretty Runs Out/Amanda Shaw - Pretty Runs Out .cue<br>00:04:48.764<br>00:04:48.764     Total duration: 04:48.599 (10.3x speed)</div> </td> </tr> <tr> <th>Category:</th> <td> <a href="/get-posts/category:Music/" >Music</a > </td> </tr> <tr> <th>Size:</th> <td>368.8 MB</td> </tr> <tr> <th>Added:</th> <td>May 22, 2024, 7:29 p.m.</td> </tr> <tr> <th>Peers:</th> <td> Seeders: 1, Leechers: 1 <span class="text-muted small ms-2">(Last updated: 11 months, 1 week ago)</span> <button class="btn-small ms-2" id='peers'> <i class="fas fa-sync-alt"></i> Update </button> <div id="update-loader" class="spinner-border spinner-border-sm text-primary ms-2" style="display: none;"></div> </td> </tr> <tr> <th>Tracker Data:</th> <td> <div class="table-responsive"> <table class="table table-sm table-hover"> <thead class="bg-dark"> <tr> <th>Tracker</th> <th class="text-end">Seeders</th> <th class="text-end">Leechers</th> <th class="text-end">Completed</th> </tr> </thead> <tbody> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://open.stealth.si:80/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://exodus.desync.com:6969/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.cyberia.is:6969/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.opentrackr.org:1337/announce </td> <td class="text-end">1</td> <td class="text-end">0</td> <td class="text-end">7</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.torrent.eu.org:451/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://explodie.org:6969/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.birkenwald.de:6969/announce </td> <td class="text-end">0</td> <td class="text-end">1</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://tracker.moeking.me:6969/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://ipv4.tracker.harry.lu:80/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.tiny-vps.com:6969/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.therarbg.to:6969/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> </tbody> </table> </div> </td> </tr> <tr> <th>Files:</th> <td> <div id="filelist" class="text-box"> <ol> <li> <span class="file-name">01. Pretty Runs Out.flac</span> <span class="file-size">24.0 MB</span> </li> <li> <span class="file-name">02. Chirmolito.flac</span> <span class="file-size">20.5 MB</span> </li> <li> <span class="file-name">03. French Jig.flac</span> <span class="file-size">22.3 MB</span> </li> <li> <span class="file-name">04. Brick Wall.flac</span> <span class="file-size">25.9 MB</span> </li> <li> <span class="file-name">05. I Don't Want to be Your Friend.flac</span> <span class="file-size">29.3 MB</span> </li> <li> <span class="file-name">06. Garden of Eden.flac</span> <span class="file-size">28.3 MB</span> </li> <li> <span class="file-name">07. What's Wrong with You.flac</span> <span class="file-size">29.7 MB</span> </li> <li> <span class="file-name">08. McGee's Medley.flac</span> <span class="file-size">28.8 MB</span> </li> <li> <span class="file-name">09. Wishing Me Away.flac</span> <span class="file-size">25.6 MB</span> </li> <li> <span class="file-name">10. Gone.flac</span> <span class="file-size">21.7 MB</span> </li> <li> <span class="file-name">11. Woulda Coulda Shoulda.flac</span> <span class="file-size">23.6 MB</span> </li> <li> <span class="file-name">12. Reels The Gaspe Reel-Sam's Slammer-Imogen's Ridge.flac</span> <span class="file-size">29.5 MB</span> </li> <li> <span class="file-name">13. Easy on our Way Out.flac</span> <span class="file-size">23.6 MB</span> </li> <li> <span class="file-name">Amanda Shaw - Pretty Runs Out .cue</span> <span class="file-size">1.5 KB</span> </li> <li> <span class="file-name">Amanda Shaw - Pretty Runs Out .log</span> <span class="file-size">14.5 KB</span> </li> <li> <span class="file-name">folder.jpg</span> <span class="file-size">85.0 KB</span> </li> <li> <span class="file-name">back.png</span> <span class="file-size">4.9 MB</span> </li> <li> <span class="file-name">back_inside.png</span> <span class="file-size">4.6 MB</span> </li> <li> <span class="file-name">cd.png</span> <span class="file-size">3.8 MB</span> </li> <li> <span class="file-name">front.png</span> <span class="file-size">6.8 MB</span> </li> <li> <span class="file-name">front_1.png</span> <span class="file-size">4.5 MB</span> </li> <li> <span class="file-name">front_2.png</span> <span class="file-size">5.2 MB</span> </li> <li> <span class="file-name">front_3.png</span> <span class="file-size">6.1 MB</span> </li> </div> </td> </tr> </table> <style> :root { --comment-bg: #ffffff; --comment-border: #edeff1; --comment-hover: #f6f7f8; --comment-text: #1c1c1c; --comment-meta: #787c7e; --primary-color: #0079d3; --secondary-color: #6c757d; --success-color: #46d160; --upvote-color: #ff4500; --downvote-color: #7193ff; --highlight-color: #eff6fb; --thread-line-color: #edeff1; } /* Dark mode variables */ .dark-mode { --comment-bg: #1a1a1b; --comment-border: #343536; --comment-hover: #272729; --comment-text: #d7dadc; --comment-meta: #818384; } /* Comment highlight effect when shared */ .comment-highlight { animation: highlight-pulse 2s ease-in-out; border-left: 3px solid var(--upvote-color) !important; } @keyframes highlight-pulse { 0% { background-color: rgba(255, 69, 0, 0.1); } 50% { background-color: rgba(255, 69, 0, 0.2); } 100% { background-color: transparent; } } --primary-color: #1484d6; --thread-line-color: #343536; --highlight-color: #2d3234; } .comment-section { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px 0; } .comment-heading { font-size: 1.5rem; font-weight: 600; margin-bottom: 20px; color: var(--comment-text); border-bottom: 2px solid var(--comment-border); padding-bottom: 10px; } .comment-form { background-color: var(--comment-bg); border-radius: 8px; padding: 20px; margin-bottom: 30px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .comment-form label { display: block; font-weight: 600; margin-bottom: 10px; color: var(--comment-text); } .comment-textarea { width: 100%; padding: 12px; border: 1px solid var(--comment-border); border-radius: 4px; resize: vertical; font-family: inherit; font-size: 14px; transition: border-color 0.2s; } .comment-textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25); } .comment-btn { background-color: #3760bb; color: white; border: none; padding: 10px 16px; border-radius: 4px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; margin-top: 10px; } .comment-btn:hover { background-color: #0b5ed7; } .comment-btn:disabled { background-color: var(--secondary-color); cursor: not-allowed; } .comments-list { margin-top: 20px; } .comment-thread { margin-bottom: 15px; } .comment { display: flex; padding: 12px 16px; border-radius: 4px; background-color: var(--comment-bg); border: 1px solid var(--comment-border); margin-bottom: 8px; position: relative; transition: border-color 0.2s, box-shadow 0.2s; } .comment:hover { border-color: var(--primary-color); } .comment-thread { margin-bottom: 16px; position: relative; } .depth-1:before, .depth-2:before, .depth-3:before, .depth-4:before, .depth-5:before { content: ''; position: absolute; left: -16px; top: 0; bottom: 0; width: 2px; background-color: var(--thread-line-color); } .comment-avatar { width: 40px; height: 40px; border-radius: 50%; margin-right: 12px; flex-shrink: 0; } .comment-content { flex: 1; } .comment-header { display: flex; align-items: center; margin-bottom: 6px; } .comment-username { font-weight: 600; color: var(--comment-text); margin-right: 8px; } .comment-time { font-size: 12px; color: var(--comment-meta); } .comment-body { color: var(--comment-text); line-height: 1.5; margin-bottom: 8px; word-wrap: break-word; } .vote-wrapper { display: flex; flex-direction: column; align-items: center; margin-right: 10px; min-width: 30px; } .vote-button { background: none; border: none; cursor: pointer; color: var(--comment-meta); padding: 2px; transition: color 0.2s; } .vote-button.upvote:hover, .vote-button.active.upvote { color: var(--upvote-color); } .vote-button.downvote:hover, .vote-button.active.downvote { color: var(--downvote-color); } .vote-count { font-size: 12px; font-weight: 600; text-align: center; margin: 2px 0; color: var(--comment-text); } .comment-actions { display: flex; gap: 12px; margin-top: 8px; } .comment-action { font-size: 12px; color: var(--comment-meta); cursor: pointer; transition: color 0.2s; background: none; border: none; padding: 0; display: flex; align-items: center; } .comment-action:hover { color: var(--primary-color); } .comment-action i { margin-right: 4px; font-size: 13px; } .reply-form { margin-top: 12px; margin-bottom: 12px; background-color: white; border-radius: 8px; padding: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .reply-form textarea { font-size: 14px; } .depth-0 { margin-left: 0; } .depth-1 { margin-left: 40px; } .depth-2 { margin-left: 80px; } .depth-3 { margin-left: 120px; } .depth-4 { margin-left: 160px; } .depth-5 { margin-left: 200px; } @media (max-width: 768px) { .comment-section { padding: 10px; } .depth-3, .depth-4, .depth-5 { margin-left: 60px; } } </style> <div class="comment-section"> <div class="container"> <hr class="my-4" /> <h3 class="comment-heading">Discussion</h3> <div class="comment-form"> <label for="comm1">Leave a comment</label> <textarea rows="4" class="comment-textarea" id="comm1" placeholder="What are your thoughts?" required></textarea> <button id="comBtn" class="comment-btn" onclick="submitData('')"> <i class="fas fa-paper-plane"></i> Submit Comment </button> </div> <div id="commrow" class="comments-list"></div> </div> <script> const token = JSON.parse(localStorage.getItem("token")); const now = new Date(); // Store user votes in local storage to remember which comments were voted on const userVotes = JSON.parse(localStorage.getItem("userVotes") || "{}"); // Store saved comments in local storage const savedComments = JSON.parse(localStorage.getItem("savedComments") || "{}"); // Function to sanitize content and prevent XSS attacks function sanitizeHTML(text) { if (!text) return ""; const element = document.createElement('div'); element.textContent = text; return element.innerHTML; } // Function to detect potential malicious content function hasScriptContent(text) { if (!text) return false; const lowerText = text.toLowerCase(); const suspicious = [ '<script', 'javascript:', 'onerror=', 'onload=', 'onclick=', 'onmouseover=', 'eval(', 'document.cookie', 'alert(', 'localStorage' ]; return suspicious.some(term => lowerText.includes(term)); } // Handle vote (upvote or downvote) function handleVote(buttonElement, isUpvote) { if (!token?.access) { alert("You need to log in to vote on comments."); localStorage.setItem("prevpath", window.location.pathname); window.open("/auth/login/", "_self"); return; } const commentId = buttonElement.getAttribute("data-comment-id"); const voteCountElement = document.getElementById(`vote-count-${commentId}`); const currentCount = parseInt(voteCountElement.textContent) || 0; // Find upvote and downvote buttons for this comment const upvoteButton = document.querySelector(`.vote-button.upvote[data-comment-id="${commentId}"]`); const downvoteButton = document.querySelector(`.vote-button.downvote[data-comment-id="${commentId}"]`); // Get previous vote status const previousVote = userVotes[commentId] || null; // null means no vote let voteValue = 0; // Determine the new vote value based on what the user clicked and previous state if (isUpvote) { // If already upvoted, remove the upvote (toggle off) if (previousVote === 'up') { voteValue = 0; userVotes[commentId] = null; upvoteButton.classList.remove("active"); voteCountElement.textContent = currentCount - 1; } else { // If downvoted, remove downvote and add upvote (change direction) if (previousVote === 'down') { voteValue = 1; userVotes[commentId] = 'up'; downvoteButton.classList.remove("active"); upvoteButton.classList.add("active"); voteCountElement.textContent = currentCount + 2; // +2 because we're removing a downvote (-1) and adding an upvote (+1) } else { // Otherwise, add a new upvote voteValue = 1; userVotes[commentId] = 'up'; upvoteButton.classList.add("active"); voteCountElement.textContent = currentCount + 1; } } } else { // Similar logic for downvote if (previousVote === 'down') { voteValue = 0; userVotes[commentId] = null; downvoteButton.classList.remove("active"); voteCountElement.textContent = currentCount + 1; // Remove downvote effect } else { if (previousVote === 'up') { voteValue = -1; userVotes[commentId] = 'down'; upvoteButton.classList.remove("active"); downvoteButton.classList.add("active"); voteCountElement.textContent = currentCount - 2; } else { voteValue = -1; userVotes[commentId] = 'down'; downvoteButton.classList.add("active"); voteCountElement.textContent = currentCount - 1; } } } // Save the updated votes to localStorage localStorage.setItem("userVotes", JSON.stringify(userVotes)); // Send the vote to the server submitVote(commentId, voteValue); } // Send the vote to the server to update in PostgreSQL and Redis cache function submitVote(commentId, value) { if (!token?.access) return; const data = { comment_id: commentId, vote_value: value // 1 for upvote, -1 for downvote, 0 for removing vote }; apiRequest("/api/v1/comment/vote/", { method: "POST", body: JSON.stringify(data) }) .then(response => { if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } return response.json(); }) .then(data => { // Update UI with server-calculated vote count if provided if (data && data.current_vote_count !== undefined) { const voteCountElement = document.getElementById(`vote-count-${commentId}`); if (voteCountElement) { voteCountElement.textContent = data.current_vote_count; // Find the comment container to potentially reorder it const commentContainer = document.getElementById(`comment-${commentId}`); if (commentContainer) { const parentContainer = commentContainer.parentElement; // Only re-sort if this is a top-level comment (direct child of comments-list) if (parentContainer && parentContainer.classList.contains('comments-list')) { // Get all direct child comments in this container const siblingComments = Array.from(parentContainer.children); // Sort them by vote count (descending) siblingComments.sort((a, b) => { const aVotes = parseInt(a.querySelector('.vote-count').textContent) || 0; const bVotes = parseInt(b.querySelector('.vote-count').textContent) || 0; return bVotes - aVotes; // Higher votes first }); // Reorder comments based on votes siblingComments.forEach(comment => parentContainer.appendChild(comment)); } } } } }) .catch(error => { console.error("Error updating vote:", error); }); } // Copy a link to the comment to clipboard function copyCommentLink(commentId, event) { // Get the button that was clicked const shareButton = event?.currentTarget || document.querySelector(`.comment-action[onclick*="copyCommentLink('${commentId}')"]`); const commentUrl = `${window.location.origin}${window.location.pathname}#comment-${commentId}`; // First, try to scroll to the comment to highlight it const commentElement = document.getElementById(`comment-${commentId}`); if (commentElement) { // Add a highlight class to the comment commentElement.classList.add('comment-highlight'); // Scroll the comment into view with smooth behavior commentElement.scrollIntoView({ behavior: 'smooth', block: 'center' }); // Remove the highlight after a few seconds setTimeout(() => { commentElement.classList.remove('comment-highlight'); }, 3000); } // Try multiple methods to copy to clipboard for better browser compatibility function showCopySuccess(shareButton) { // First, show feedback on the button itself if (shareButton) { const originalText = shareButton.innerHTML; shareButton.innerHTML = '<i class="fas fa-check"></i> Link Copied!'; setTimeout(() => { shareButton.innerHTML = originalText; }, 2000); } // Also show a tooltip message const tooltip = document.createElement('div'); tooltip.className = 'tooltip'; tooltip.textContent = 'Link copied to clipboard!'; tooltip.style.position = 'fixed'; tooltip.style.top = '50%'; tooltip.style.left = '50%'; tooltip.style.transform = 'translate(-50%, -50%)'; tooltip.style.padding = '8px 16px'; tooltip.style.background = 'rgba(0,0,0,0.7)'; tooltip.style.color = 'white'; tooltip.style.borderRadius = '4px'; tooltip.style.zIndex = '9999'; document.body.appendChild(tooltip); setTimeout(() => { document.body.removeChild(tooltip); }, 2000); } // Method 1: Modern clipboard API if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(commentUrl) .then(() => showCopySuccess(shareButton)) .catch(err => { // Fall back to method 2 if method 1 fails fallbackCopyTextToClipboard(commentUrl); }); } else { // Method 2: Fallback for older browsers fallbackCopyTextToClipboard(commentUrl); } // Fallback method using document.execCommand function fallbackCopyTextToClipboard(text) { const textArea = document.createElement('textarea'); textArea.value = text; // Make the textarea out of viewport textArea.style.position = 'fixed'; textArea.style.left = '-999999px'; textArea.style.top = '-999999px'; document.body.appendChild(textArea); // Focus and select the text textArea.focus(); textArea.select(); try { const successful = document.execCommand('copy'); if (successful) { showCopySuccess(shareButton); } else { alert('Failed to copy link. Please try again or copy this URL manually: ' + commentUrl); } } catch (err) { console.error('Failed to copy: ', err); alert('Failed to copy link. Please try again or copy this URL manually: ' + commentUrl); } document.body.removeChild(textArea); } } // Toggle saved state for a comment function toggleSaved(commentId) { if (!token?.access) { alert("You need to log in to save comments."); localStorage.setItem("prevpath", window.location.pathname); window.open("/auth/login/", "_self"); return; } const bookmarkIcon = document.getElementById(`bookmark-${commentId}`); const isSaved = savedComments[commentId]; if (isSaved) { // Unsave comment delete savedComments[commentId]; bookmarkIcon.classList.remove('fas'); bookmarkIcon.classList.add('far'); } else { // Save comment savedComments[commentId] = true; bookmarkIcon.classList.remove('far'); bookmarkIcon.classList.add('fas'); } // Save to localStorage localStorage.setItem("savedComments", JSON.stringify(savedComments)); // Could also send to server if you want to persist across devices // saveSavedCommentToServer(commentId, !isSaved); } $(document).ready(function () { fetchCommentData("76b36a"); // Apply dark mode if user has it enabled if (localStorage.getItem('darkMode') === 'true') { document.body.classList.add('dark-mode'); } // Initialize dark mode toggle if one exists on the page const darkModeToggle = document.getElementById('dark-mode-toggle'); if (darkModeToggle) { darkModeToggle.addEventListener('click', function() { document.body.classList.toggle('dark-mode'); const isDarkMode = document.body.classList.contains('dark-mode'); localStorage.setItem('darkMode', isDarkMode); }); } }); // Initialize UI after comments are loaded to show proper vote states and saved states function initializeCommentUI() { // Set up vote buttons based on user's previous votes Object.keys(userVotes).forEach(commentId => { const voteType = userVotes[commentId]; if (voteType === 'up') { const upvoteButton = document.querySelector(`.vote-button.upvote[data-comment-id="${commentId}"]`); if (upvoteButton) upvoteButton.classList.add('active'); } else if (voteType === 'down') { const downvoteButton = document.querySelector(`.vote-button.downvote[data-comment-id="${commentId}"]`); if (downvoteButton) downvoteButton.classList.add('active'); } }); // Set up saved state for comments Object.keys(savedComments).forEach(commentId => { if (savedComments[commentId]) { const bookmarkIcon = document.getElementById(`bookmark-${commentId}`); if (bookmarkIcon) { bookmarkIcon.classList.remove('far'); bookmarkIcon.classList.add('fas'); } } }); // If there's a comment ID in the URL hash, scroll to it and highlight it setTimeout(() => { const hash = window.location.hash; if (hash && hash.startsWith('#comment-')) { const commentId = hash.substring('#comment-'.length); const commentElement = document.getElementById(`comment-${commentId}`); console.log('Looking for comment:', commentId, 'Element found:', commentElement); if (commentElement) { // Add a stronger highlight animation commentElement.classList.add('comment-highlight'); // Scroll to the comment with a longer delay to ensure DOM is fully rendered setTimeout(() => { // First scroll to approximate position to ensure element is in viewport window.scrollTo({ top: commentElement.offsetTop - 200, behavior: 'auto' }); // Then do a more precise scroll with smooth behavior setTimeout(() => { commentElement.scrollIntoView({ behavior: 'smooth', block: 'center' }); }, 100); }, 500); // Remove the highlight after a few seconds setTimeout(() => { commentElement.classList.remove('comment-highlight'); }, 5000); } } }, 1000); // Increased delay to ensure comments are fully loaded } function formatTimestamp(timestamp) { if (!timestamp) return ""; const commentDate = new Date(timestamp); const diffMs = now - commentDate; const diffSecs = Math.floor(diffMs / 1000); const diffMins = Math.floor(diffSecs / 60); const diffHours = Math.floor(diffMins / 60); const diffDays = Math.floor(diffHours / 24); if (diffSecs < 60) return "just now"; if (diffMins < 60) return `${diffMins} minute${diffMins !== 1 ? 's' : ''} ago`; if (diffHours < 24) return `${diffHours} hour${diffHours !== 1 ? 's' : ''} ago`; if (diffDays < 7) return `${diffDays} day${diffDays !== 1 ? 's' : ''} ago`; // If older than a week, show the date return commentDate.toLocaleDateString(); } function showHide(val, id) { // Hide all reply forms first $(".reply-form").css({ display: "none" }); // Toggle the clicked reply form if ($("#" + id).css("display") === "block") { $("#" + id).css({ display: "none" }); } else { $("#" + id).css({ display: val }); $("#com" + id.replace("commDiv", "")).focus(); } } function fetchCommentData(search) { $.get( `/api/v1/comment/tree/${search}/`, (data, status) => { if (data?.length > 0) { createCommentHtml(data); // Initialize UI after comments are loaded initializeCommentUI(); } else { document.getElementById("commrow").innerHTML = "<div class='text-center py-4'><p class='text-muted'>No comments yet. Be the first to comment!</p></div>"; } } ).fail(function() { document.getElementById("commrow").innerHTML = "<div class='text-center py-4'><p class='text-danger'>Failed to load comments. Please try again later.</p></div>"; }); } const submitData = async (id) => { const commentText = id ? $.trim($("#com" + id).val()) : $.trim($("#comm1").val()); // Prevent empty or excessively long comments if (!commentText) { return; // Don't submit empty comments } // Maximum comment length (adjust as needed) if (commentText.length > 5000) { alert("Comment is too long. Please keep it under 5000 characters."); return; } const data = { etrb_post_id: "76b36a", comment: commentText, parent: Number(id), }; if (!id) { delete data.parent; } // Check for potentially malicious content before sending if (hasScriptContent(data.comment)) { alert("Your comment contains potentially unsafe content that is not allowed."); return; } const btnId = "comBtn" + (id || ""); document.getElementById(btnId).disabled = true; document.getElementById(btnId).innerHTML = "<i class='fas fa-spinner fa-spin'></i> Submitting..."; try { // Use the apiClient to make the request with automatic token refresh const response = await window.apiClient.apiPost('/api/v1/comment/create/', data); // Clear the textarea id ? $("#com" + id).val("") : $("#comm1").val(""); // Hide reply form if it was a reply if (id) { $("#commDiv" + id).css({ display: "none" }); } // Refresh comments fetchCommentData("76b36a"); } catch (error) { console.error("Comment submission error:", error); if (error.message && !error.message.includes('401') && !error.message.includes('403')) { alert("Failed to submit comment. Please try again."); } } finally { document.getElementById(btnId).disabled = false; document.getElementById(btnId).innerHTML = id ? "Reply" : "<i class='fas fa-paper-plane'></i> Submit Comment"; } }; function createCommentHtml(list) { if (list.length === 0) { document.getElementById("commrow").innerHTML = "<div class='text-center py-4'><p class='text-muted'>No comments yet. Be the first to comment!</p></div>"; return; } // Group comments by parent to build a tree structure const commentsByParent = {}; list.forEach(post => { const parentId = post.tree_path && post.tree_path.length > 1 ? post.tree_path[post.tree_path.length - 2] : 0; if (!commentsByParent[parentId]) { commentsByParent[parentId] = []; } commentsByParent[parentId].push(post); }); // Function to build comment HTML with proper nesting function buildCommentTree(parentId = 0, nestLevel = 0) { let treeHtml = ''; const children = commentsByParent[parentId] || []; children.forEach(post => { // Format timestamp (assuming post has created timestamp in ISO format) const timestamp = formatTimestamp(post.created); const depthClass = `depth-${Math.min(nestLevel, 5)}`; const voteCount = post.votes || 0; treeHtml += ` <div id="comment-${post.id}" class="comment-thread ${depthClass}"> <div class="comment"> <div class="vote-wrapper"> <button class="vote-button upvote" title="Upvote" data-comment-id="${post.id}" onclick="handleVote(this, true)"> <i class="fas fa-arrow-up"></i> </button> <span class="vote-count" id="vote-count-${post.id}">${voteCount}</span> <button class="vote-button downvote" title="Downvote" data-comment-id="${post.id}" onclick="handleVote(this, false)"> <i class="fas fa-arrow-down"></i> </button> </div> <img src="https://ui-avatars.com/api/?name=${encodeURIComponent(post?.info?.username || 'User')}&background=random" alt="${sanitizeHTML(post?.info?.username || 'User')}" class="comment-avatar" /> <div class="comment-content"> <div class="comment-header"> <span class="comment-username">${sanitizeHTML(post?.info?.username || "Anonymous")}</span> <span class="comment-time">${timestamp}</span> </div> <div class="comment-body"> ${sanitizeHTML(post?.comment || "")} </div> <div class="comment-actions"> <button class="comment-action" onClick="showHide('block','commDiv${post?.id}')"> <i class="fas fa-reply"></i> Reply </button> <button class="comment-action" onClick="copyCommentLink('${post.id}', event)"> <i class="fas fa-link"></i> Share </button> <button class="comment-action" onClick="toggleSaved('${post.id}')"> <i class="far fa-bookmark" id="bookmark-${post.id}"></i> Save </button> </div> <div id="commDiv${post?.id}" class="reply-form" style="display:none;"> <textarea rows="3" class="comment-textarea" id="com${post?.id}" placeholder="What are your thoughts?" required ></textarea> <div class="d-flex justify-content-between mt-2"> <button class="comment-btn" id="comBtn${post?.id}" onclick="submitData('${post?.id}')">Reply</button> <button class="comment-action" onclick="showHide('none','commDiv${post?.id}')">Cancel</button> </div> </div> </div> </div> ${commentsByParent[post.id] ? buildCommentTree(post.id, nestLevel + 1) : ''} </div>`; }); return treeHtml; } // Build the entire comment tree starting from root comments const inhtml = buildCommentTree(); document.getElementById("commrow").innerHTML = inhtml; } </script> </div> <div class="row"> <div style="text-align: center; padding-top:20px"><button class="btn-small" onclick="history.back()" ><i class="fas fa-arrow-left"></i> Back</button></div> </div> </div> <br /> </div> </div> <div id="imgModal" class="modal"> <img class="modal-content" id="imgContent"> </div> <!-- Add modal for tracker details --> <div class="modal fade" id="trackerModal" tabindex="-1" role="dialog" aria-labelledby="trackerModalLabel" aria-hidden="true"> <div class="modal-dialog modal-dialog-centered modal-lg"> <div class="modal-content"> <div class="modal-header bg-primary text-white"> <h5 class="modal-title" id="trackerModalLabel">Tracker Details</h5> <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button> </div> <div class="modal-body"> <div id="trackerDetails"> <!-- Content will be populated by JS --> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"> <i class="fas fa-times me-1"></i> Close </button> </div> </div> </div> </div> <div class="adCont row"> <div class="me-auto text-center"> </div> </div> <script> // Get the modal var modal = document.getElementById("imgModal"); var modalImg = document.getElementById("imgContent"); function showModal(url){ modal.style.display = "block"; modalImg.src = url; } // Get the <span> element that closes the modal modal.onclick = function() { modal.style.display = "none"; } $(document).ready(function() { $('#trackerModal').modal({show: false}); // Add proper close handlers $('#trackerModal').on('hidden.bs.modal', function () { $(this).find('.modal-body').scrollTop(0); }); // Check for potentially dangerous file extensions and show warning if found function checkForLnkFiles() { const dangerousExtensions = ['.lnk', '.001', '.arj', '.src', '.scr']; const fileElements = document.querySelectorAll('.file-name'); for (let i = 0; i < fileElements.length; i++) { let fileName = fileElements[i].textContent.toLowerCase(); // Handle case where fileName might be an array if (Array.isArray(fileName)) { // If it's an array, use the first element fileName = fileName[0].toLowerCase(); } else if (typeof fileName === 'string' && fileName.startsWith('[') && fileName.endsWith(']')) { // Extract the content from within brackets for array-like strings // This handles both single and double quoted strings const content = fileName.substring(1, fileName.length - 1).trim(); // If it starts with a quote (single or double), extract the string content if ((content.startsWith("'") && content.endsWith("'")) || (content.startsWith('"') && content.endsWith('"'))) { // Remove the quotes and use this as the filename fileName = content.substring(1, content.length - 1).toLowerCase(); } else { // Try standard JSON parsing as a fallback try { // Convert single quotes to double quotes for valid JSON const jsonStr = fileName.replace(/'/g, '"'); const parsedArray = JSON.parse(jsonStr); if (Array.isArray(parsedArray) && parsedArray.length > 0) { fileName = parsedArray[0].toLowerCase(); } } catch (e) { // If all parsing fails, just use the content without brackets console.log('Using raw content from brackets after parsing failed'); fileName = content; } } } // Check if file ends with any of the dangerous extensions for (let j = 0; j < dangerousExtensions.length; j++) { // console.log('Checking file extension:', fileName, dangerousExtensions[j]); if (fileName.endsWith(dangerousExtensions[j])) { document.getElementById('lnk-warning').style.display = 'table-row'; return; // Exit the function once we find a match } } } } // Run the check when page loads checkForLnkFiles(); }); function showTrackerModal(result) { // Format tracker details let trackerHtml = ` <div class="mb-3"> <h6 class="text-primary">Current Summary</h6> <div class="row"> <div class="col-4"><strong>Seeders:</strong></div> <div class="col-8">${result.seeders}</div> </div> <div class="row"> <div class="col-4"><strong>Leechers:</strong></div> <div class="col-8">${result.leechers}</div> </div> <div class="row"> <div class="col-4"><strong>Completed:</strong></div> <div class="col-8">${result.completed}</div> </div> </div> <div class="mb-3"> <h6 class="text-primary">Last Saved Data</h6> <div class="row"> <div class="col-4"><strong>Seeders:</strong></div> <div class="col-8">1</div> </div> <div class="row"> <div class="col-4"><strong>Leechers:</strong></div> <div class="col-8">1</div> </div> <div class="row"> <div class="col-4"><strong>Completed:</strong></div> <div class="col-8">7</div> </div> <div class="row"> <div class="col-4"><strong>Last Updated:</strong></div> <div class="col-8">11 months, 1 week ago</div> </div> </div> <hr> <h6 class="text-primary">Current Tracker Breakdown</h6> <div class="table-responsive"> <table class="table table-sm table-hover"> <thead class="bg-dark"> <tr> <th>Tracker</th> <th class="text-end">Seeders</th> <th class="text-end">Leechers</th> <th class="text-end">Completed</th> </tr> </thead> <tbody> ${result.trackers.map(tracker => ` <tr ${tracker.scrape_error ? 'class="table-danger"' : ''}> <td class="text-truncate" style="max-width: 350px;"> ${tracker.tracker} ${tracker.scrape_error ? `<span class="text-danger fw-bold">(${tracker.scrape_error})</span>` : ''} </td> <td class="text-end">${tracker.seeders}</td> <td class="text-end">${tracker.leechers}</td> <td class="text-end">${tracker.completed}</td> </tr> `).join('')} </tbody> </table> </div> <hr> <h6 class="text-primary">Saved Tracker Data</h6> <div class="table-responsive"> <table class="table table-sm table-hover"> <thead class="bg-dark"> <tr> <th>Tracker</th> <th class="text-end">Seeders</th> <th class="text-end">Leechers</th> <th class="text-end">Completed</th> </tr> </thead> <tbody> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://open.stealth.si:80/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://exodus.desync.com:6969/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.cyberia.is:6969/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.opentrackr.org:1337/announce </td> <td class="text-end">1</td> <td class="text-end">0</td> <td class="text-end">7</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.torrent.eu.org:451/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://explodie.org:6969/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.birkenwald.de:6969/announce </td> <td class="text-end">0</td> <td class="text-end">1</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://tracker.moeking.me:6969/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr class="table-danger"> <td class="text-truncate" style="max-width: 350px;"> udp://ipv4.tracker.harry.lu:80/announce <span class="text-danger fw-bold">(Failed to scrape UDP tracker)</span> </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.tiny-vps.com:6969/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> <tr > <td class="text-truncate" style="max-width: 350px;"> udp://tracker.therarbg.to:6969/announce </td> <td class="text-end">0</td> <td class="text-end">0</td> <td class="text-end">0</td> </tr> </tbody> </table> </div> `; $('#trackerDetails').html(trackerHtml); $('#trackerModal').modal('show'); } $("#peers").click(function(e) { e.preventDefault(); $("#peers").prop('disabled', true); $("#peers").html('<i class="fas fa-sync-alt fa-spin"></i> Updating...'); $("#update-loader").show(); $.ajax({ type: "GET", url: "/utils/api/v1/update-torrent-stats/F520F6383B91D23862EEC653441A19FA27F063FB/", success: function(result) { $("#update-loader").hide(); $("#peers").prop('disabled', false); $("#peers").html('<i class="fas fa-sync-alt"></i> Update'); showTrackerModal(result); $('.modal-backdrop').remove(); }, error: function(xhr) { $("#update-loader").hide(); $("#peers").prop('disabled', false); $("#peers").html('<i class="fas fa-sync-alt"></i> Update'); alert('Error updating peers: ' + xhr.responseText); } }); }); function copy(text, target) { navigator.clipboard.writeText(text); const originalText = $(target).html(); $(target).html('<i class="fas fa-check"></i> Copied!').addClass('copied'); // Update download counter via AJAX (optional) $.ajax({ type: "POST", url: "/utils/api/v1/increment-downloads/F520F6383B91D23862EEC653441A19FA27F063FB/", success: function(response) { // Silently update counter if available if(response && response.downloads) { $('#download-count').text(response.downloads); } } }); setTimeout(() => { $(target).html(originalText).removeClass('copied'); }, 2000); } $(document).ready(function() { $('.sortableTable2').DataTable({ paging: false, bFilter: false // language: { // search: "_INPUT_", // searchPlaceholder: "Search table..." // } }); }); </script> <script src="/static/vendor/js/bootstrap.bundle.min.js" defer></script> <script src="/static/rarbg/css/jquery-ui.js?v=1.04" defer></script> <script src="/static/rarbg/css/slick.min.js?v=1.04" defer></script> <script src="/static/js/api-client.js?v=1.0"></script> </body> <footer class="row align-center"> <div style="text-align: center; color: white;margin-top: 20px;"> <a class="anal tdlinkfull" href="/" target="_blank" style="color: white; text-decoration: underline" >Home</a > | <a class="anal tdlinkfull" href="/about-us/" style="color: white; text-decoration: underline" >About us</a > | <a class="anal tdlinkfull" href="/latest/rss/" target="_blank" style="color: white; text-decoration: underline" >RSS</a > | <a class="anal tdlinkfull" href="https://thepiratebayproxy.github.io/" target="_blank" style="color: white; text-decoration: underline" >TPB Proxy</a > | <a class="anal tdlinkfull" href="https://therarbg.com/discord/" target="_blank" style="color: white; text-decoration: underline" >Discord</a > | <a class="anal tdlinkfull" href="https://www.reddit.com/r/TheRarBg/" target="_blank" style="color: white; text-decoration: underline" >Reddit</a > <br /> </div> <br /> <div style="text-align: center; color: white; font-size: 11px;"> Donation ETH Address: 0x5C8Ba662A48811B52D8A24074569A10B03245bf9 </div> <br /> <div style="text-align: center; color: white"> <p> © 2025 The RarBg. All rights reserved.</p> </div> </footer> </html>