:Search:

Hert Leblanc Roi du gros tyme 2004 FLAC 16 44 1

Torrent:
Info Hash: DBE3F9422D15CDA2C464F4E4CD1DBCEEE7FB3075
Similar Posts:
Uploader: FrankVjecy
Source: 1 Logo 1337x
Type: Lossless
Images:
Hert Leblanc Roi du gros tyme 2004 FLAC 16 44 1
Language: French
Description:
Client: fre:ac - free audio converter
Version: v1.1.7 (x86-64)
System: "openSUSE Tumbleweed" (Linux 6.9.1-1-default)
CPU: AMD A10-5700 APU with Radeon(tm) HD Graphics
RAM: 17.5 GB
Date: 2024-06-01
Time: 13:52:53
hh:mm:ss.fff
------------
00:00:00.026 Starting conversion process...
00:00:00.027 Selected encoder: FLAC Audio Encoder v1.4.2
00:00:00.027 Parallel processing: Enabled (up to 4 threads)
00:00:00.027 SuperFast mode: Disabled
00:00:00.028
00:00:00.028 Output settings: Multiple files
00:00:00.028 Filename pattern: /[] /. <br>00:00:00.028<br>00:00:00.029 Output verification: Enabled<br>00:00:00.029<br>00:00:00.138 Using drive: device://cdda:0/<br>00:00:00.138 Drive model: hp DVD A DH16ACSHR JHG7<br>00:00:00.138 Device path: /dev/sr0<br>00:00:00.138 Read offset: 6 samples<br>00:00:00.138<br>00:00:00.139 Disc TOC:<br>00:00:00.139<br>00:00:00.139 Track | Start | Length | Start sector | End sector<br>00:00:00.139 -------------------------------------------------------<br>00:00:00.139 1 | 00:00.00 | 02:46.01 | 0 | 12450<br>00:00:00.139 2 | 02:46.01 | 03:50.52 | 12451 | 29752<br>00:00:00.140 3 | 06:36.53 | 03:17.51 | 29753 | 44578<br>00:00:00.140 4 | 09:54.29 | 02:51.70 | 44579 | 57473<br>00:00:00.140 5 | 12:46.24 | 03:14.52 | 57474 | 72075<br>00:00:00.140 6 | 16:01.01 | 04:13.22 | 72076 | 91072<br>00:00:00.140 7 | 20:14.23 | 02:54.48 | 91073 | 104170<br>00:00:00.141 8 | 23:08.71 | 03:25.35 | 104171 | 119580<br>00:00:00.141 9 | 26:34.31 | 03:27.66 | 119581 | 135171<br>00:00:00.141 10 | 30:02.22 | 02:26.00 | 135172 | 146121<br>00:00:00.141 11 | 32:28.22 | 02:50.51 | 146122 | 158922<br>00:00:00.142 12 | 35:18.73 | 03:09.18 | 158923 | 173115<br>00:00:00.142<br>00:00:00.142 Disc info:<br>00:00:00.142 CDDB disc ID: ad09040c<br>00:00:00.142 CDDB category: country<br>00:00:00.142<br>00:00:00.142 Artist: Hert LeBlanc<br>00:00:00.142 Album: Roi du gros tyme<br>00:00:00.143 Genre: Country<br>00:00:00.143 Published: 2004<br>00:00:00.143<br>00:00:00.143 Track | Offset | Track title<br>00:00:00.143 -------------------------------------------------------<br>00:00:00.143 1 | 150 | Su la ligne à harde<br>00:00:00.143 2 | 12601 | Disco et Fais Do Do<br>00:00:00.143 3 | 29903 | Après marcher le plancher<br>00:00:00.144 4 | 44729 | Ruisseau salé<br>00:00:00.144 5 | 57624 | Mama Rosin<br>00:00:00.144 6 | 72226 | Le bouquet de mon coeur<br>00:00:00.144 7 | 91223 | Le vieux Mazerolle<br>00:00:00.144 8 | 104321 | Lâche pas la patate<br>00:00:00.144 9 | 119731 | 50/50<br>00:00:00.144 10 | 135322 | Le jour de ton retour<br>00:00:00.144 11 | 146272 | Ah! si mon moine voulait danser<br>00:00:00.145 12 | 159073 | A ma mère<br>00:00:00.145<br>00:00:05.458 Ripping: device://cdda:0/1<br>00:00:05.458 to: Hert Leblanc/[2004] Roi du gros tyme/01. Su la ligne à harde.flac<br>00:00:05.458 Replacing existing file with conversion result<br>00:00:05.458 Decoder: CDIO Ripper Component v2.1.0<br>00:00:05.459<br>00:00:15.752 Successfully verified input track: device://cdda:0/1<br>00:00:15.752 Track has been accurately ripped:<br>00:00:15.753 Checksum (AccurateRip v1): ed138291, Confidence: 1<br>00:00:15.753 Checksum (AccurateRip v2): d9bac31a, Confidence: 1<br>00:00:15.754<br>00:00:15.757 Finished ripping: device://cdda:0/1<br>00:00:15.757 CRC checksum: 30ab632b<br>00:00:15.757 Duration: 00:10.298 (16.1x speed)<br>00:00:15.758<br>00:00:15.763 Verifying: 01. Su la ligne à harde.flac<br>00:00:15.763<br>00:00:16.328 Successfully verified output file: 01. Su la ligne à harde.flac<br>00:00:16.329 MD5 hash: d495eb9d46ac506cfb5be08e5867f3fc<br>00:00:16.329 Duration: 00:00.566 (293.3x speed)<br>00:00:16.329<br>00:00:16.457 Ripping: device://cdda:0/2<br>00:00:16.458 to: Hert Leblanc/[2004] Roi du gros tyme/02. Disco et Fais Do Do.flac<br>00:00:16.458 Replacing existing file with conversion result<br>00:00:16.458 Decoder: CDIO Ripper Component v2.1.0<br>00:00:16.458<br>00:00:29.871 Successfully verified input track: device://cdda:0/2<br>00:00:29.872 Track has been accurately ripped:<br>00:00:29.872 Checksum (AccurateRip v1): 5ce382a3, Confidence: 1<br>00:00:29.874 Checksum (AccurateRip v2): 1d9a70a7, Confidence: 1<br>00:00:29.875<br>00:00:29.881 Finished ripping: device://cdda:0/2<br>00:00:29.882 CRC checksum: 3d25f0d3<br>00:00:29.882 Duration: 00:13.424 (17.2x speed)<br>00:00:29.882<br>00:00:29.894 Verifying: 02. Disco et Fais Do Do.flac<br>00:00:29.894<br>00:00:30.776 Successfully verified output file: 02. Disco et Fais Do Do.flac<br>00:00:30.777 MD5 hash: 9a780069f9fbe5ebf87a2fb583d137cd<br>00:00:30.777 Duration: 00:00.883 (261.3x speed)<br>00:00:30.779<br>00:00:30.907 Ripping: device://cdda:0/3<br>00:00:30.908 to: Hert Leblanc/[2004] Roi du gros tyme/03. Après marcher le plancher.flac<br>00:00:30.908 Replacing existing file with conversion result<br>00:00:30.908 Decoder: CDIO Ripper Component v2.1.0<br>00:00:30.908<br>00:00:41.483 Successfully verified input track: device://cdda:0/3<br>00:00:41.483 Track has been accurately ripped:<br>00:00:41.483 Checksum (AccurateRip v1): 70cd42d3, Confidence: 1<br>00:00:41.483 Checksum (AccurateRip v2): 2f007177, Confidence: 1<br>00:00:41.483<br>00:00:41.485 Finished ripping: device://cdda:0/3<br>00:00:41.486 CRC checksum: 2aa2d7ae<br>00:00:41.486 Duration: 00:10.578 (18.7x speed)<br>00:00:41.486<br>00:00:41.495 Verifying: 03. Après marcher le plancher.flac<br>00:00:41.496<br>00:00:42.166 Successfully verified output file: 03. Après marcher le plancher.flac<br>00:00:42.166 MD5 hash: ecb70ff66fa9f65eefc2e50f5be7d7b2<br>00:00:42.167 Duration: 00:00.671 (294.6x speed)<br>00:00:42.167<br>00:00:42.286 Ripping: device://cdda:0/4<br>00:00:42.287 to: Hert Leblanc/[2004] Roi du gros tyme/04. Ruisseau salé.flac<br>00:00:42.287 Replacing existing file with conversion result<br>00:00:42.287 Decoder: CDIO Ripper Component v2.1.0<br>00:00:42.287<br>00:00:51.197 Successfully verified input track: device://cdda:0/4<br>00:00:51.197 Track has been accurately ripped:<br>00:00:51.197 Checksum (AccurateRip v1): 0084d31b, Confidence: 1<br>00:00:51.198 Checksum (AccurateRip v2): 4c68cf3c, Confidence: 1<br>00:00:51.198<br>00:00:51.200 Finished ripping: device://cdda:0/4<br>00:00:51.201 CRC checksum: adafc75d<br>00:00:51.201 Duration: 00:08.914 (19.3x speed)<br>00:00:51.201<br>00:00:51.208 Verifying: 04. Ruisseau salé.flac<br>00:00:51.208<br>00:00:51.809 Successfully verified output file: 04. Ruisseau salé.flac<br>00:00:51.813 MD5 hash: 88ffb09a71d3ae911d1a714511a1b81d<br>00:00:51.814 Duration: 00:00.605 (284.2x speed)<br>00:00:51.814<br>00:00:51.937 Ripping: device://cdda:0/5<br>00:00:51.937 to: Hert Leblanc/[2004] Roi du gros tyme/05. Mama Rosin.flac<br>00:00:51.937 Replacing existing file with conversion result<br>00:00:51.937 Decoder: CDIO Ripper Component v2.1.0<br>00:00:51.937<br>00:01:01.195 Successfully verified input track: device://cdda:0/5<br>00:01:01.195 Track has been accurately ripped:<br>00:01:01.195 Checksum (AccurateRip v1): f5bcb9e8, Confidence: 1<br>00:01:01.195 Checksum (AccurateRip v2): 6d4c4545, Confidence: 1<br>00:01:01.196<br>00:01:01.197 Finished ripping: device://cdda:0/5<br>00:01:01.198 CRC checksum: 71b12cd6<br>00:01:01.199 Duration: 00:09.261 (21.0x speed)<br>00:01:01.199<br>00:01:01.212 Verifying: 05. Mama Rosin.flac<br>00:01:01.212<br>00:01:01.894 Successfully verified output file: 05. Mama Rosin.flac<br>00:01:01.894 MD5 hash: 640ce0d3cc5cdf7c8748ef7cfbfce35d<br>00:01:01.894 Duration: 00:00.682 (285.5x speed)<br>00:01:01.895<br>00:01:02.017 Ripping: device://cdda:0/6<br>00:01:02.017 to: Hert Leblanc/[2004] Roi du gros tyme/06. Le bouquet de mon coeur.flac<br>00:01:02.017 Replacing existing file with conversion result<br>00:01:02.017 Decoder: CDIO Ripper Component v2.1.0<br>00:01:02.018<br>00:01:13.338 Successfully verified input track: device://cdda:0/6<br>00:01:13.338 Track has been accurately ripped:<br>00:01:13.339 Checksum (AccurateRip v1): d058abf9, Confidence: 1<br>00:01:13.339 Checksum (AccurateRip v2): 6dc27bb3, Confidence: 1<br>00:01:13.339<br>00:01:13.343 Finished ripping: device://cdda:0/6<br>00:01:13.343 CRC checksum: f23283f5<br>00:01:13.343 Duration: 00:11.325 (22.4x speed)<br>00:01:13.343<br>00:01:13.351 Verifying: 06. Le bouquet de mon coeur.flac<br>00:01:13.351<br>00:01:14.275 Successfully verified output file: 06. Le bouquet de mon coeur.flac<br>00:01:14.275 MD5 hash: 7b6ab15322fd4e288c990e283a00f858<br>00:01:14.276 Duration: 00:00.925 (273.8x speed)<br>00:01:14.276<br>00:01:14.400 Ripping: device://cdda:0/7<br>00:01:14.400 to: Hert Leblanc/[2004] Roi du gros tyme/07. Le vieux Mazerolle.flac<br>00:01:14.400 Replacing existing file with conversion result<br>00:01:14.400 Decoder: CDIO Ripper Component v2.1.0<br>00:01:14.401<br>00:01:21.839 Successfully verified input track: device://cdda:0/7<br>00:01:21.839 Track has been accurately ripped:<br>00:01:21.839 Checksum (AccurateRip v1): d40fdc65, Confidence: 1<br>00:01:21.839 Checksum (AccurateRip v2): 1ce4e316, Confidence: 1<br>00:01:21.839<br>00:01:21.844 Finished ripping: device://cdda:0/7<br>00:01:21.845 CRC checksum: ec8283c6<br>00:01:21.847 Duration: 00:07.445 (23.5x speed)<br>00:01:21.847<br>00:01:21.877 Verifying: 07. Le vieux Mazerolle.flac<br>00:01:21.878<br>00:01:22.616 Successfully verified output file: 07. Le vieux Mazerolle.flac<br>00:01:22.616 MD5 hash: 8e9c9d6ec85a6230545ea08f92df73bc<br>00:01:22.617 Duration: 00:00.739 (236.3x speed)<br>00:01:22.617<br>00:01:22.747 Ripping: device://cdda:0/8<br>00:01:22.747 to: Hert Leblanc/[2004] Roi du gros tyme/08. Lâche pas la patate.flac<br>00:01:22.748 Replacing existing file with conversion result<br>00:01:22.748 Decoder: CDIO Ripper Component v2.1.0<br>00:01:22.748<br>00:01:31.130 Successfully verified input track: device://cdda:0/8<br>00:01:31.131 Track has been accurately ripped:<br>00:01:31.131 Checksum (AccurateRip v1): f9773327, Confidence: 1<br>00:01:31.131 Checksum (AccurateRip v2): 3af8fa2d, Confidence: 1<br>00:01:31.131<br>00:01:31.134 Finished ripping: device://cdda:0/8<br>00:01:31.134 CRC checksum: a0bf1fe4<br>00:01:31.134 Duration: 00:08.386 (24.5x speed)<br>00:01:31.135<br>00:01:31.142 Verifying: 08. Lâche pas la patate.flac<br>00:01:31.142<br>00:01:31.782 Successfully verified output file: 08. Lâche pas la patate.flac<br>00:01:31.783 MD5 hash: 882a0ddd369d2cf2d33144de363d3db4<br>00:01:31.783 Duration: 00:00.640 (321.0x speed)<br>00:01:31.783<br>00:01:31.896 Ripping: device://cdda:0/9<br>00:01:31.897 to: Hert Leblanc/[2004] Roi du gros tyme/09. 50-50.flac<br>00:01:31.897 Replacing existing file with conversion result<br>00:01:31.897 Decoder: CDIO Ripper Component v2.1.0<br>00:01:31.897<br>00:01:40.029 Successfully verified input track: device://cdda:0/9<br>00:01:40.029 Track has been accurately ripped:<br>00:01:40.029 Checksum (AccurateRip v1): fcd5b2db, Confidence: 1<br>00:01:40.030 Checksum (AccurateRip v2): a70bd336, Confidence: 1<br>00:01:40.030<br>00:01:40.033 Finished ripping: device://cdda:0/9<br>00:01:40.033 CRC checksum: 24bb5d1a<br>00:01:40.034 Duration: 00:08.136 (25.6x speed)<br>00:01:40.034<br>00:01:40.043 Verifying: 09. 50-50.flac<br>00:01:40.043<br>00:01:40.782 Successfully verified output file: 09. 50-50.flac<br>00:01:40.782 MD5 hash: 863fb297337c0b1b935b4949732c4243<br>00:01:40.784 Duration: 00:00.739 (281.3x speed)<br>00:01:40.784<br>00:01:40.909 Ripping: device://cdda:0/10<br>00:01:40.909 to: Hert Leblanc/[2004] Roi du gros tyme/10. Le jour de ton retour.flac<br>00:01:40.909 Replacing existing file with conversion result<br>00:01:40.909 Decoder: CDIO Ripper Component v2.1.0<br>00:01:40.909<br>00:01:46.459 Successfully verified input track: device://cdda:0/10<br>00:01:46.459 Track has been accurately ripped:<br>00:01:46.459 Checksum (AccurateRip v1): 1381acd6, Confidence: 1<br>00:01:46.460 Checksum (AccurateRip v2): 7093f7eb, Confidence: 1<br>00:01:46.460<br>00:01:46.463 Finished ripping: device://cdda:0/10<br>00:01:46.463 CRC checksum: 0c85340f<br>00:01:46.463 Duration: 00:05.553 (26.3x speed)<br>00:01:46.464<br>00:01:46.470 Verifying: 10. Le jour de ton retour.flac<br>00:01:46.470<br>00:01:46.970 Successfully verified output file: 10. Le jour de ton retour.flac<br>00:01:46.970 MD5 hash: e8f8fbefb8c2c29e079aea5fd4ceaf43<br>00:01:46.970 Duration: 00:00.500 (292.0x speed)<br>00:01:46.971<br>00:01:47.092 Ripping: device://cdda:0/11<br>00:01:47.092 to: Hert Leblanc/[2004] Roi du gros tyme/11. Ah! si mon moine voulait danser.flac<br>00:01:47.093 Replacing existing file with conversion result<br>00:01:47.093 Decoder: CDIO Ripper Component v2.1.0<br>00:01:47.093<br>00:01:53.389 Successfully verified input track: device://cdda:0/11<br>00:01:53.389 Track has been accurately ripped:<br>00:01:53.390 Checksum (AccurateRip v1): 4b65ea49, Confidence: 1<br>00:01:53.390 Checksum (AccurateRip v2): 3d8a2a78, Confidence: 1<br>00:01:53.390<br>00:01:53.393 Finished ripping: device://cdda:0/11<br>00:01:53.393 CRC checksum: d2db9011<br>00:01:53.393 Duration: 00:06.300 (27.1x speed)<br>00:01:53.394<br>00:01:53.400 Verifying: 11. Ah! si mon moine voulait danser.flac<br>00:01:53.401<br>00:01:53.867 Successfully verified output file: 11. Ah! si mon moine voulait danser.flac<br>00:01:53.867 MD5 hash: c1a490062dc4ef6ff9103076769a3521<br>00:01:53.868 Duration: 00:00.467 (365.5x speed)<br>00:01:53.868<br>00:01:53.997 Ripping: device://cdda:0/12<br>00:01:53.997 to: Hert Leblanc/[2004] Roi du gros tyme/12. A ma mère.flac<br>00:01:53.997 Replacing existing file with conversion result<br>00:01:53.998 Decoder: CDIO Ripper Component v2.1.0<br>00:01:53.998<br>00:02:00.767 Successfully verified input track: device://cdda:0/12<br>00:02:00.767 Track has been accurately ripped:<br>00:02:00.767 Checksum (AccurateRip v1): ec775c4e, Confidence: 1<br>00:02:00.767 Checksum (AccurateRip v2): 5daf44de, Confidence: 1<br>00:02:00.768<br>00:02:00.779 Finished ripping: device://cdda:0/12<br>00:02:00.779 CRC checksum: 171b2cab<br>00:02:00.779 Duration: 00:06.781 (27.9x speed)<br>00:02:00.781<br>00:02:00.781 All tracks accurately ripped.<br>00:02:00.781<br>00:02:00.787 Verifying: 12. A ma mère.flac<br>00:02:00.787<br>00:02:01.327 Successfully verified output file: 12. A ma mère.flac<br>00:02:01.327 MD5 hash: 252102dd83bc0160e020da8df598d500<br>00:02:01.328 Duration: 00:00.541 (349.8x speed)<br>00:02:01.329<br>00:02:01.329 All tracks accurately ripped.<br>00:02:01.330<br>00:02:01.359 Writing cue sheet: Hert Leblanc/[2004] Roi du gros tyme/Hert Leblanc - Roi du gros tyme .cue<br>00:02:01.362<br>00:02:01.362 Total duration: 02:01.217 (19.0x speed)<br>00:02:01.364 Conversion process finished.</div> </td> </tr> <tr> <th>Category:</th> <td> <a href="/get-posts/category:Music/" >Music</a > </td> </tr> <tr> <th>Size:</th> <td>245.2 MB</td> </tr> <tr> <th>Added:</th> <td>June 1, 2024, 10:54 p.m.</td> </tr> <tr> <th>Peers:</th> <td> Seeders: 1, Leechers: 1 <span class="text-muted small ms-2">(Last updated: 11 months, 2 weeks 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 > <td class="text-truncate" style="max-width: 350px;"> udp://exodus.desync.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.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">0</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 > <td class="text-truncate" style="max-width: 350px;"> udp://explodie.org: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.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. Su la ligne à harde.flac</span> <span class="file-size">17.1 MB</span> </li> <li> <span class="file-name">02. Disco et Fais Do Do.flac</span> <span class="file-size">26.2 MB</span> </li> <li> <span class="file-name">03. Après marcher le plancher.flac</span> <span class="file-size">20.1 MB</span> </li> <li> <span class="file-name">04. Ruisseau salé.flac</span> <span class="file-size">18.4 MB</span> </li> <li> <span class="file-name">05. Mama Rosin.flac</span> <span class="file-size">20.1 MB</span> </li> <li> <span class="file-name">06. Le bouquet de mon coeur.flac</span> <span class="file-size">26.6 MB</span> </li> <li> <span class="file-name">07. Le vieux Mazerolle.flac</span> <span class="file-size">18.6 MB</span> </li> <li> <span class="file-name">08. Lâche pas la patate.flac</span> <span class="file-size">22.1 MB</span> </li> <li> <span class="file-name">09. 50-50.flac</span> <span class="file-size">22.2 MB</span> </li> <li> <span class="file-name">10. Le jour de ton retour.flac</span> <span class="file-size">15.6 MB</span> </li> <li> <span class="file-name">11. Ah! si mon moine voulait danser.flac</span> <span class="file-size">18.7 MB</span> </li> <li> <span class="file-name">12. A ma mère.flac</span> <span class="file-size">19.3 MB</span> </li> <li> <span class="file-name">folder.jpg</span> <span class="file-size">164.3 KB</span> </li> <li> <span class="file-name">Hert Leblanc - Roi du gros tyme .cue</span> <span class="file-size">1.4 KB</span> </li> <li> <span class="file-name">Hert Leblanc - Roi du gros tyme .log</span> <span class="file-size">15.4 KB</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("76e2f9"); // 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: "76e2f9", 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("76e2f9"); } 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">0</div> </div> <div class="row"> <div class="col-4"><strong>Last Updated:</strong></div> <div class="col-8">11 months, 2 weeks 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 > <td class="text-truncate" style="max-width: 350px;"> udp://exodus.desync.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.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">0</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 > <td class="text-truncate" style="max-width: 350px;"> udp://explodie.org: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.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/DBE3F9422D15CDA2C464F4E4CD1DBCEEE7FB3075/", 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/DBE3F9422D15CDA2C464F4E4CD1DBCEEE7FB3075/", 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>