Пример #1
0
    playlist = 'ဓမၼရံသီဆရာေတာ္္ ဘဒၵႏၲ သုနႏၵၵ ကမၼ႒ာနာစရိယ ေဟာႀကားေတာ္မူေသာတရားေတာ္မ်ား'
    description_title = 'ဓမၼရံသီဆရာေတာ္ ဘဒၵႏၲ သုနႏၵ ႏိုင္ငံေတာ္ ကမၼ႒ာနာစရိယ ၊ ဓမၼကထိ ဗဟုဇနဟိတဓရ ၊ မဟာကမၼ႒ာနာစရိယ ေဟာႀကားေတာ္မူေသာတရားေတာ္မ်ား'
    source = '\nsource from https://www.thitsarparamisociety.com/'
    get_json_files_in_same(
        'titles_links.txt', 'titles_links.txt', 'raw_json_title.txt', playlist,
        description_title,
        source)  #titles_links.txt description.txt raw_json_title.txt
    #get_json('raw_titles_links.txt', 'description.txt', 'raw_json_title.txt',playlist, description_title, source) #titles_links.txt description.txt raw_json_title.txt


#get_json('raw_titles_links.txt', 'description.txt', 'raw_json_title.txt',playlist, description_title, source) #titles_links.txt description.txt raw_json_title.txt

#get_json_new()
#thread_download('raw_titles_links.txt', 3)
#thread_upload_test('raw_json_title.txt')
thread_upload_test_title('raw_json_title.txt')
#thread_upload('raw_json_title.txt', 1)

#thread_convert_mp3_to_mp4(1)
'''
remote_username = '******'
remote_pass = '******'
remote_hostname = '192.168.1.39'
escaped_remote = '/storage/1527-15E5/youtube/AshinSandaThiri/'
remote_port = 8022
#copy_to_remote('*.pdf',
# thread_upload_remote(copied_file, running_from_path, remote_username, remote_pass, remote_hostname, remote_port, escaped_remote, threads):
thread_upload_remote('raw_json_title.txt', running_from_path,
                remote_username, remote_pass, remote_hostname, remote_port, escaped_remote,
                2
                )
Пример #2
0
#convert_myanmar_number('titles_links.txt', 'description.txt') # titles_links.txt description.txt
'''
<<<<<<< HEAD
playlist = 'နံ ႔သာျမိဳင္ဗုိလ္ေက်ာင္းဆရာေတာ္ အရွင္သုစိတၱာဘိ၀ံသ ေဟာၾကားေတာ္မူေသာ တရားေတာ္မ်ား'
description_title = 'မႏၱေလးျမဳိ ႔၊ မဟာဓမၼိကာရာမတုိက္၊ နံ ႔သာျမိဳင္ဗုိလ္ေက်ာင္းဆရာေတာ္ အရွင္သုစိတၱာဘိ၀ံသ [သ၊ စ၊ သ၊ အ - ေလးဘြဲ ႔ရ ဓမၼာစရိယ]  ေဟာၾကားေတာ္မူေသာ တရားေတာ္မ်ား'
source='' 
get_json_files_in_same('titles_links.txt', 'titles_links.txt', 'raw_json_title.txt',playlist, description_title, source) #titles_links.txt description.txt raw_json_title.txt
'''
#get_json('raw_titles_links.txt', 'description.txt', 'raw_json_title.txt',playlist, description_title, source) #titles_links.txt description.txt raw_json_title.txt
=======
playlist = 'အရွင္ သုစိတၱာဘိဝံသ ပို႔ခ်ေတာ္မူေသာ နံ႔သာၿမိဳင္ ဓမၼာစရိယစာ၀ါမ်ား'
description_title = 'အရွင္ သုစိတၱာဘိဝံသ ပို႔ခ်ေတာ္မူေသာ နံ႔သာၿမိဳင္ ဓမၼာစရိယစာ၀ါမ်ား'
source='\nsource from https://www.thitsarparamisociety.com/' 
get_json('raw_titles_links.txt', 'description.txt', 'raw_json_title.txt',playlist, description_title, source) #titles_links.txt description.txt raw_json_title.txt
'''
#get_json_files_in_same('titles_links.txt', 'titles_links.txt', 'raw_json_title.txt',playlist, description_title, source) #titles_links.txt description.txt raw_json_title.txt

>>>>>>> 996e475e2d433dfc76c452e3c9d0fa7f086c0514
#thread_download('raw_titles_links.txt', 3)
#thread_upload_test('raw_json_title.txt')
thread_upload_test_title('raw_json_title.txt')
#thread_upload('raw_json_title.txt', 1)



#thread_convert_mp3_to_mp4(1)
'''
remote_username = '******'
remote_pass = '******'
remote_hostname = '192.168.1.39'