DIY মিডিয়া হোম লোগো

আপনার নিজের হোম থিয়েটার এবং হাই ফাই সেটআপ নকশা ও নির্মাণের জন্য চূড়ান্ত সাইট.

0Kodi স্লাইডশো স্ক্রিন প্রদর্শন ছবির তথ্য

আমি মেটাডেটা প্রচুর যে আমি প্রদর্শন করে Kodi স্লাইডশো স্ক্রিন চেয়েছিলেন সঙ্গে একটি বৃহৎ ছবির সংগ্রহ আছে. প্রচুর দিয়ে পড়ছেন, পরীক্ষা নিরীক্ষা, বিচারের-এবং-ত্রুটি, পরিশেষে আমি একটি যুক্তিসঙ্গত ব্যবস্থা পেয়েছেন যে দেখায় কি আমি আশা করছিলাম.

The main file for the slideshow screensaver is loc­ated (on win­dows) ব্যবহারকারীরা এ % ব্যবহারকারীর নাম% AppData রোমিং Kodi অ্যাডঅনস screensaver.picture.slideshow সম্পদ liberal এর সংক্ষিপ্ত রূপ এবং বলা হয় gui.py

If you know some python you can make all kinds of modi­fic­a­tions to this file. Below are what I made to show inform­a­tion about the author, cam­era, and where and when the pic­ture was taken. I get the loc­a­tion from the folder name as I keep all my pho­tos in a folder with an 8‑character date at the start (YY-MM-DD) fol­lowed by the place or event name.

লাইন পর 163, added the fol­low­ing null val­ues for cam­era and author

camera = 'unknown camera'
artist = 'unknown'

লাইন পর 173, added the fol­low­ing to get the cam­era and author from exif

যদি exiftags.has_key('চিত্র মডেল'):
  ক্যামেরা = Str(exiftags['চিত্র মডেল']).পাঠোদ্ধার করা('UTF-8')
যদি exiftags.has_key('চিত্র শিল্পী'):
  শিল্পী = Str(exiftags['চিত্র শিল্পী']).পাঠোদ্ধার করা('UTF-8')

পরিবর্তিত লাইন 183 to start the pro­cess or reformat­ting the date

সময় = DATETIME{10:].বিভক্ত করা(':')

প্রতিস্থাপিত লাইন 187 to cre­ate a bet­ter format­ted date

যদি তারিখ[1] == '01':
  তারিখ[1] = 'Jan'
elif date[1] == '02':
  তারিখ[1] = 'Feb'
elif date[1] == '03':
  তারিখ[1] = 'Mar'
elif date[1] == '04':
  তারিখ[1] = 'Apr'
elif date[1] == '05':
  তারিখ[1] = 'May'
elif date[1] == '06':
  তারিখ[1] = 'Jun'
elif date[1] == '07':
  তারিখ[1] = 'Jul'
elif date[1] == '08':
  তারিখ[1] = 'Aug'
elif date[1] == '09':
  তারিখ[1] = 'Sept'
elif date[1] == '10':
  তারিখ[1] = 'Oct'
elif date[1] == '11':
  তারিখ[1] = 'Nov'
elif date[1] == '12':
  তারিখ[1] = 'Dec'
datetime = date[2] + '-' + তারিখ[1] + '-' + তারিখ[0] + 'এ' + সময়[0] + ':' + সময়[1]

প্রতিস্থাপিত লাইন 228 to out­put the new data

রুট, FOLDER তে = os.path.split(os.path.dirname(চিত্র[0]))
galname = FOLDER
if (galname বা 'X)[1].isdigit():
   galname = FOLDER তে[9:]
self.datelabel.setLabel(শেষ সীল + '.  নিয়ে ' + camera + ' উপর ' + তারিখ সময় + '.  (গ) ' + শিল্পী + '।')

উত্তর দিন