new player version

This commit is contained in:
user committed 2025-05-31 01:55:16 +03:00
1 parent 4605a46765
commit 27dc827880
2 files changed
+3 -37

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
import json
import asyncio
import os
import string
import aiofiles
from hashlib import sha256
@@ -60,7 +61,7 @@ async def create_metadata_for_item(
item_metadata = {
'name': title,
'description': ' '.join([f"#{_h.replace(' ', '_')}" for _h in hashtags]),
'description': ' '.join([f"#{''.join([(_h_ch if (_h_ch.lower() in string.ascii_lowercase) else '_') for _h_ch in _h])}" for _h in hashtags]),
'attributes': [
# {
# 'trait_type': 'Artist',