6.3.1 commit
This commit is contained in:
parent
fd9040ff1a
commit
81d4374a3f
|
@ -1,7 +1,4 @@
|
|||
[Dolphin]
|
||||
Timestamp=2024,2,5,7,26,48.63
|
||||
Timestamp=2024,8,2,9,3,22.216
|
||||
Version=4
|
||||
ViewMode=1
|
||||
|
||||
[Settings]
|
||||
HiddenFilesShown=true
|
||||
|
|
|
@ -31,8 +31,8 @@ android {
|
|||
testApplicationId "ac.mdiq.podcini.tests"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
versionCode 3020224
|
||||
versionName "6.3.0"
|
||||
versionCode 3020225
|
||||
versionName "6.3.1"
|
||||
|
||||
applicationId "ac.mdiq.podcini.R"
|
||||
def commit = ""
|
||||
|
|
|
@ -312,8 +312,8 @@ object Feeds {
|
|||
addNewFeedsSync(context, newFeed)
|
||||
// Update with default values that are set in database
|
||||
resultFeed = searchFeedByIdentifyingValueOrID(newFeed)
|
||||
} else persistFeedsSync(savedFeed)
|
||||
// updateFeedMap()
|
||||
} else upsertBlk(savedFeed) {}
|
||||
|
||||
if (removeUnlistedItems) runBlocking { deleteEpisodes(context, unlistedItems).join() }
|
||||
} catch (e: InterruptedException) {
|
||||
e.printStackTrace()
|
||||
|
@ -377,12 +377,12 @@ object Feeds {
|
|||
backupManager.dataChanged()
|
||||
}
|
||||
|
||||
private fun persistFeedsSync(vararg feeds: Feed) {
|
||||
Logd(TAG, "persistFeedsSync called")
|
||||
for (feed in feeds) {
|
||||
upsertBlk(feed) {}
|
||||
}
|
||||
}
|
||||
// private fun persistFeedsSync(vararg feeds: Feed) {
|
||||
// Logd(TAG, "persistFeedsSync called")
|
||||
// for (feed in feeds) {
|
||||
// upsertBlk(feed) {}
|
||||
// }
|
||||
// }
|
||||
|
||||
fun persistFeedPreferences(feed: Feed) : Job {
|
||||
Logd(TAG, "persistFeedPreferences called")
|
||||
|
|
|
@ -59,11 +59,12 @@ class PlayActionButton(item: Episode) : EpisodeActionButton(item) {
|
|||
Log.i(TAG, "The feedmanager was notified about a missing episode. It will update its database now.")
|
||||
val episode = media.episodeOrFetch()
|
||||
if (episode != null) {
|
||||
episode.media = media
|
||||
episode.media?.downloaded = false
|
||||
episode.media?.fileUrl = null
|
||||
upsertBlk(episode) {}
|
||||
EventFlow.postEvent(FlowEvent.EpisodeMediaEvent.removed(episode))
|
||||
val episode_ = upsertBlk(episode) {
|
||||
it.media = media
|
||||
it.media?.downloaded = false
|
||||
it.media?.fileUrl = null
|
||||
}
|
||||
EventFlow.postEvent(FlowEvent.EpisodeMediaEvent.removed(episode_))
|
||||
}
|
||||
EventFlow.postEvent(FlowEvent.MessageEvent(context.getString(R.string.error_file_not_found)))
|
||||
}
|
||||
|
|
|
@ -45,7 +45,6 @@ class BugReportActivity : AppCompatActivity() {
|
|||
val crashFile = CrashReportWriter.file
|
||||
if (crashFile.exists()) stacktrace = IOUtils.toString(FileInputStream(crashFile), Charset.forName("UTF-8"))
|
||||
else Logd(TAG, stacktrace)
|
||||
|
||||
} catch (e: IOException) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
|
@ -112,8 +111,7 @@ class BugReportActivity : AppCompatActivity() {
|
|||
} catch (e: Exception) {
|
||||
e.printStackTrace()
|
||||
val strResId = R.string.log_file_share_exception
|
||||
Snackbar.make(binding.root, strResId, Snackbar.LENGTH_LONG)
|
||||
.show()
|
||||
Snackbar.make(binding.root, strResId, Snackbar.LENGTH_LONG).show()
|
||||
}
|
||||
} catch (e: IOException) {
|
||||
e.printStackTrace()
|
||||
|
|
|
@ -135,10 +135,10 @@ import java.util.*
|
|||
spinnerAdaptor = ArrayAdapter(requireContext(), android.R.layout.simple_spinner_item, spinnerTexts)
|
||||
spinnerAdaptor.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
|
||||
queueSpinner.adapter = spinnerAdaptor
|
||||
queueSpinner.setSelection(spinnerAdaptor.getPosition(curQueue.name))
|
||||
queueSpinner.setSelection(queueNames.indexOf(curQueue.name))
|
||||
queueSpinner.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
|
||||
override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) {
|
||||
curQueue = upsertBlk(queues[position]) { it.updated }
|
||||
curQueue = upsertBlk(queues[position]) { it.update() }
|
||||
toolbar.menu?.findItem(R.id.rename_queue)?.setVisible(curQueue.name != "Default")
|
||||
loadCurQueue(true)
|
||||
}
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
# 6.3.1
|
||||
|
||||
* fixed crash when playing episode with missing media file
|
||||
* fixed Queue view not opening the current queue
|
||||
|
||||
# 6.3.0
|
||||
|
||||
* improved handling of playing next in queue when some items have been removed from the queue
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
Version 6.3.1 brings several changes:
|
||||
|
||||
* fixed crash when playing episode with missing media file
|
||||
* fixed Queue view not opening the current queue
|
Loading…
Reference in New Issue