:Search:

Hert Leblanc Mes Racines 2002 FLAC 16 44 1

Torrent:
Info Hash: 7A9739262CC8B652DC9EC7EBC2F3A041EF1D9210
Similar Posts:
Uploader: FrankVjecy
Source: 1 Logo 1337x
Type: Lossless
Images:
Hert Leblanc Mes Racines 2002 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:42:59
hh:mm:ss.fff
------------
00:00:00.021 Starting conversion process...
00:00:00.021 Selected encoder: FLAC Audio Encoder v1.4.2
00:00:00.021 Parallel processing: Enabled (up to 4 threads)
00:00:00.021 SuperFast mode: Disabled
00:00:00.022
00:00:00.022 Output settings: Multiple files
00:00:00.022 Filename pattern: /[] /. <br>00:00:00.022<br>00:00:00.022 Output verification: Enabled<br>00:00:00.022<br>00:00:00.110 Using drive: device://cdda:0/<br>00:00:00.110 Drive model: hp DVD A DH16ACSHR JHG7<br>00:00:00.110 Device path: /dev/sr0<br>00:00:00.111 Read offset: 6 samples<br>00:00:00.111<br>00:00:00.111 Disc TOC:<br>00:00:00.111<br>00:00:00.111 Track | Start | Length | Start sector | End sector<br>00:00:00.111 -------------------------------------------------------<br>00:00:00.112 1 | 00:00.00 | 03:16.49 | 0 | 14748<br>00:00:00.112 2 | 03:16.49 | 02:35.30 | 14749 | 26403<br>00:00:00.112 3 | 05:52.04 | 03:00.33 | 26404 | 39936<br>00:00:00.112 4 | 08:52.37 | 02:55.06 | 39937 | 53067<br>00:00:00.112 5 | 11:47.43 | 04:26.45 | 53068 | 73062<br>00:00:00.113 6 | 16:14.13 | 02:29.50 | 73063 | 84287<br>00:00:00.113 7 | 18:43.63 | 03:17.13 | 84288 | 99075<br>00:00:00.113 8 | 22:01.01 | 02:57.27 | 99076 | 112377<br>00:00:00.113 9 | 24:58.28 | 03:33.17 | 112378 | 128369<br>00:00:00.113 10 | 28:31.45 | 03:45.59 | 128370 | 145303<br>00:00:00.113<br>00:00:00.114 Disc info:<br>00:00:00.114 CDDB disc ID: 7607910a<br>00:00:00.114 CDDB category: country<br>00:00:00.114<br>00:00:00.114 Artist: Hert Leblanc<br>00:00:00.114 Album: Mes Racines<br>00:00:00.114 Genre:<br>00:00:00.114<br>00:00:00.115 Track | Offset | Track title<br>00:00:00.115 -------------------------------------------------------<br>00:00:00.115 1 | 150 | Colinda<br>00:00:00.115 2 | 14899 | La Neige Tombe<br>00:00:00.115 3 | 26554 | Y'en Avait Pour Tout le Monde<br>00:00:00.115 4 | 40087 | Gamaliro<br>00:00:00.115 5 | 53218 | Dis Leur Doucement<br>00:00:00.116 6 | 73213 | Fete En Acadie<br>00:00:00.116 7 | 84438 | Y'a Que Toi<br>00:00:00.116 8 | 99226 | Pack Your Bags<br>00:00:00.116 9 | 112528 | Quand J'etait Petit Garcon<br>00:00:00.116 10 | 128520 | Frolic Des Acadiens<br>00:00:00.116<br>00:00:05.165 Ripping: device://cdda:0/1<br>00:00:05.166 to: Hert Leblanc/[2002] Mes Racines/01. Colinda.flac<br>00:00:05.168 Decoder: CDIO Ripper Component v2.1.0<br>00:00:05.168<br>00:00:33.774 Failed to verify input track: device://cdda:0/1<br>00:00:33.775 Track could not be verified as accurate:<br>00:00:33.775 Checksum (AccurateRip v1): 252d81fb<br>00:00:33.775 Checksum (AccurateRip v2): f3d27cf3<br>00:00:33.776<br>00:00:33.779 Finished ripping: device://cdda:0/1<br>00:00:33.779 CRC checksum: 7d4dae59<br>00:00:33.779 Duration: 00:28.611 (6.9x speed)<br>00:00:33.779<br>00:00:33.791 Verifying: 01. Colinda.flac<br>00:00:33.791<br>00:00:34.557 Successfully verified output file: 01. Colinda.flac<br>00:00:34.558 MD5 hash: 8109d1ae663a6b7649a558c0af6077e9<br>00:00:34.558 Duration: 00:00.767 (256.4x speed)<br>00:00:34.558<br>00:00:34.682 Ripping: device://cdda:0/2<br>00:00:34.683 to: Hert Leblanc/[2002] Mes Racines/02. La Neige Tombe.flac<br>00:00:34.683 Replacing existing file with conversion result<br>00:00:34.683 Decoder: CDIO Ripper Component v2.1.0<br>00:00:34.683<br>00:00:56.069 Failed to verify input track: device://cdda:0/2<br>00:00:56.069 Track could not be verified as accurate:<br>00:00:56.069 Checksum (AccurateRip v1): b86c288d<br>00:00:56.070 Checksum (AccurateRip v2): 01a197c5<br>00:00:56.070<br>00:00:56.072 Finished ripping: device://cdda:0/2<br>00:00:56.072 CRC checksum: f7270c92<br>00:00:56.072 Duration: 00:21.389 (7.3x speed)<br>00:00:56.073<br>00:00:56.085 Verifying: 02. La Neige Tombe.flac<br>00:00:56.085<br>00:00:56.627 Successfully verified output file: 02. La Neige Tombe.flac<br>00:00:56.627 MD5 hash: 3ec455c7c834852263b4577331a7a65e<br>00:00:56.627 Duration: 00:00.542 (286.7x speed)<br>00:00:56.627<br>00:00:56.752 Ripping: device://cdda:0/3<br>00:00:56.753 to: Hert Leblanc/[2002] Mes Racines/03. Y'en Avait Pour Tout le Monde.flac<br>00:00:56.753 Replacing existing file with conversion result<br>00:00:56.753 Decoder: CDIO Ripper Component v2.1.0<br>00:00:56.753<br>00:01:19.943 Failed to verify input track: device://cdda:0/3<br>00:01:19.959 Track could not be verified as accurate:<br>00:01:19.959 Checksum (AccurateRip v1): 2c4f3ee2<br>00:01:19.964 Checksum (AccurateRip v2): 4620259f<br>00:01:19.965<br>00:01:19.970 Finished ripping: device://cdda:0/3<br>00:01:19.971 CRC checksum: da3d1941<br>00:01:19.971 Duration: 00:23.218 (7.8x speed)<br>00:01:19.971<br>00:01:19.984 Verifying: 03. Y'en Avait Pour Tout le Monde.flac<br>00:01:19.985<br>00:01:20.650 Successfully verified output file: 03. Y'en Avait Pour Tout le Monde.flac<br>00:01:20.651 MD5 hash: 666d98b1d786d523ae46d99cb679155f<br>00:01:20.651 Duration: 00:00.666 (270.9x speed)<br>00:01:20.652<br>00:01:20.792 Ripping: device://cdda:0/4<br>00:01:20.793 to: Hert Leblanc/[2002] Mes Racines/04. Gamaliro.flac<br>00:01:20.793 Replacing existing file with conversion result<br>00:01:20.793 Decoder: CDIO Ripper Component v2.1.0<br>00:01:20.793<br>00:01:41.928 Failed to verify input track: device://cdda:0/4<br>00:01:41.928 Track could not be verified as accurate:<br>00:01:41.929 Checksum (AccurateRip v1): 4c914d63<br>00:01:41.929 Checksum (AccurateRip v2): 73455bdc<br>00:01:41.930<br>00:01:41.933 Finished ripping: device://cdda:0/4<br>00:01:41.933 CRC checksum: a0755135<br>00:01:41.934 Duration: 00:21.139 (8.3x speed)<br>00:01:41.934<br>00:01:41.947 Verifying: 04. Gamaliro.flac<br>00:01:41.947<br>00:01:42.547 Successfully verified output file: 04. Gamaliro.flac<br>00:01:42.548 MD5 hash: be1e4b0d71f74a887b85f60aece06334<br>00:01:42.549 Duration: 00:00.601 (291.3x speed)<br>00:01:42.549<br>00:01:42.678 Ripping: device://cdda:0/5<br>00:01:42.679 to: Hert Leblanc/[2002] Mes Racines/05. Dis Leur Doucement.flac<br>00:01:42.680 Replacing existing file with conversion result<br>00:01:42.680 Decoder: CDIO Ripper Component v2.1.0<br>00:01:42.680<br>00:02:12.626 Failed to verify input track: device://cdda:0/5<br>00:02:12.627 Track could not be verified as accurate:<br>00:02:12.628 Checksum (AccurateRip v1): 03584644<br>00:02:12.628 Checksum (AccurateRip v2): e2c18ab2<br>00:02:12.628<br>00:02:12.632 Finished ripping: device://cdda:0/5<br>00:02:12.632 CRC checksum: 629b6a84<br>00:02:12.632 Duration: 00:29.951 (8.9x speed)<br>00:02:12.633<br>00:02:12.645 Verifying: 05. Dis Leur Doucement.flac<br>00:02:12.646<br>00:02:13.508 Successfully verified output file: 05. Dis Leur Doucement.flac<br>00:02:13.509 MD5 hash: 27b3eec25714cfd0394ed4fd838419cf<br>00:02:13.509 Duration: 00:00.863 (308.9x speed)<br>00:02:13.510<br>00:02:13.625 Ripping: device://cdda:0/6<br>00:02:13.626 to: Hert Leblanc/[2002] Mes Racines/06. Fete En Acadie.flac<br>00:02:13.626 Replacing existing file with conversion result<br>00:02:13.627 Decoder: CDIO Ripper Component v2.1.0<br>00:02:13.627<br>00:02:29.598 Failed to verify input track: device://cdda:0/6<br>00:02:29.598 Track could not be verified as accurate:<br>00:02:29.599 Checksum (AccurateRip v1): 795c910a<br>00:02:29.599 Checksum (AccurateRip v2): eafa9e6d<br>00:02:29.600<br>00:02:29.602 Finished ripping: device://cdda:0/6<br>00:02:29.603 CRC checksum: f3e0912e<br>00:02:29.603 Duration: 00:15.976 (9.4x speed)<br>00:02:29.604<br>00:02:29.617 Verifying: 06. Fete En Acadie.flac<br>00:02:29.618<br>00:02:30.133 Successfully verified output file: 06. Fete En Acadie.flac<br>00:02:30.134 MD5 hash: 08a7e9f079c3f40e4328514a55fa79c0<br>00:02:30.134 Duration: 00:00.516 (290.1x speed)<br>00:02:30.134<br>00:02:30.265 Ripping: device://cdda:0/7<br>00:02:30.266 to: Hert Leblanc/[2002] Mes Racines/07. Y'a Que Toi.flac<br>00:02:30.267 Decoder: CDIO Ripper Component v2.1.0<br>00:02:30.267<br>00:02:50.365 Failed to verify input track: device://cdda:0/7<br>00:02:50.367 Track could not be verified as accurate:<br>00:02:50.368 Checksum (AccurateRip v1): 3be08d3d<br>00:02:50.371 Checksum (AccurateRip v2): 5f99b949<br>00:02:50.371<br>00:02:50.374 Finished ripping: device://cdda:0/7<br>00:02:50.375 CRC checksum: 1315b585<br>00:02:50.375 Duration: 00:20.107 (9.8x speed)<br>00:02:50.375<br>00:02:50.387 Verifying: 07. Y'a Que Toi.flac<br>00:02:50.387<br>00:02:51.091 Successfully verified output file: 07. Y'a Que Toi.flac<br>00:02:51.092 MD5 hash: 16d673c910a69e2beb13ccd32e5d3b21<br>00:02:51.092 Duration: 00:00.704 (280.1x speed)<br>00:02:51.093<br>00:02:51.219 Ripping: device://cdda:0/8<br>00:02:51.219 to: Hert Leblanc/[2002] Mes Racines/08. Pack Your Bags.flac<br>00:02:51.219 Decoder: CDIO Ripper Component v2.1.0<br>00:02:51.220<br>00:03:08.571 Failed to verify input track: device://cdda:0/8<br>00:03:08.571 Track could not be verified as accurate:<br>00:03:08.571 Checksum (AccurateRip v1): 6fdb1769<br>00:03:08.572 Checksum (AccurateRip v2): cdf4ba41<br>00:03:08.572<br>00:03:08.575 Finished ripping: device://cdda:0/8<br>00:03:08.576 CRC checksum: 7bc97a81<br>00:03:08.576 Duration: 00:17.356 (10.2x speed)<br>00:03:08.577<br>00:03:08.589 Verifying: 08. Pack Your Bags.flac<br>00:03:08.590<br>00:03:09.179 Successfully verified output file: 08. Pack Your Bags.flac<br>00:03:09.180 MD5 hash: 0268a8915594441381f733ec930c0bc4<br>00:03:09.180 Duration: 00:00.590 (300.6x speed)<br>00:03:09.183<br>00:03:09.329 Ripping: device://cdda:0/9<br>00:03:09.330 to: Hert Leblanc/[2002] Mes Racines/09. Quand J'etait Petit Garcon.flac<br>00:03:09.330 Decoder: CDIO Ripper Component v2.1.0<br>00:03:09.331<br>00:03:29.312 Failed to verify input track: device://cdda:0/9<br>00:03:29.312 Track could not be verified as accurate:<br>00:03:29.313 Checksum (AccurateRip v1): 7fd7314f<br>00:03:29.313 Checksum (AccurateRip v2): a8d7846e<br>00:03:29.313<br>00:03:29.317 Finished ripping: device://cdda:0/9<br>00:03:29.317 CRC checksum: 226a65bc<br>00:03:29.318 Duration: 00:19.987 (10.7x speed)<br>00:03:29.318<br>00:03:29.330 Verifying: 09. Quand J'etait Petit Garcon.flac<br>00:03:29.331<br>00:03:29.985 Successfully verified output file: 09. Quand J'etait Petit Garcon.flac<br>00:03:29.986 MD5 hash: 49178f15717efed3136e4f5696de1a13<br>00:03:29.986 Duration: 00:00.655 (325.5x speed)<br>00:03:29.986<br>00:03:30.090 Ripping: device://cdda:0/10<br>00:03:30.090 to: Hert Leblanc/[2002] Mes Racines/10. Frolic Des Acadiens.flac<br>00:03:30.091 Decoder: CDIO Ripper Component v2.1.0<br>00:03:30.091<br>00:03:50.365 Failed to verify input track: device://cdda:0/10<br>00:03:50.366 Track could not be verified as accurate:<br>00:03:50.367 Checksum (AccurateRip v1): 1d4a98d0<br>00:03:50.367 Checksum (AccurateRip v2): 08f8c584<br>00:03:50.368<br>00:03:50.388 Finished ripping: device://cdda:0/10<br>00:03:50.388 CRC checksum: 1b294a20<br>00:03:50.389 Duration: 00:20.298 (11.1x speed)<br>00:03:50.391<br>00:03:50.391 0 of 10 tracks accurately ripped.<br>00:03:50.392<br>00:03:50.404 Verifying: 10. Frolic Des Acadiens.flac<br>00:03:50.406<br>00:03:51.044 Successfully verified output file: 10. Frolic Des Acadiens.flac<br>00:03:51.045 MD5 hash: 3d7a99ac8325c98b6eb29ac95aa8be41<br>00:03:51.045 Duration: 00:00.639 (353.3x speed)<br>00:03:51.046<br>00:03:51.046 0 of 10 tracks accurately ripped.<br>00:03:51.047<br>00:03:51.069 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>180.7 MB</td> </tr> <tr> <th>Added:</th> <td>June 1, 2024, 11:30 p.m.</td> </tr> <tr> <th>Peers:</th> <td> Seeders: 1, Leechers: 3 <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>Files:</th> <td> <div id="filelist" class="text-box"> <ol> <li> <span class="file-name">02. La Neige Tombe.flac</span> <span class="file-size">15.5 MB</span> </li> <li> <span class="file-name">03. Y'en Avait Pour Tout le Monde.flac</span> <span class="file-size">18.0 MB</span> </li> <li> <span class="file-name">04. Gamaliro.flac</span> <span class="file-size">18.2 MB</span> </li> <li> <span class="file-name">05. Dis Leur Doucement.flac</span> <span class="file-size">26.2 MB</span> </li> <li> <span class="file-name">06. Fete En Acadie.flac</span> <span class="file-size">16.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("76e10d"); // 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: "76e10d", 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("76e10d"); } 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">3</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> `; $('#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/7A9739262CC8B652DC9EC7EBC2F3A041EF1D9210/", 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/7A9739262CC8B652DC9EC7EBC2F3A041EF1D9210/", 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>